✳ClaudeModsClaude Code 模組目錄
☰
● 0 人在線上 · 瀏覽 0 次
+ 提交作品
← 返回作品集
GitHub 儲存庫 · 記憶與上下文 / 通知與提醒 / 工具與整合 / 工作流程與 CI

meanwhile:Claude 工作時每天學一個新概念

一個 Claude Code 模組,趁 Claude 思考時在你的提示框上方顯示一張小卡片,每天用 Hacker News 和 GitHub 熱門倉庫挑選一個概念向你提問。

nnjp-coder@njp-coder
已翻譯

關於這個 mod

meanwhile 是一個 Claude Code mod,理念是「趁 Claude 思考時每天學一件新事」。它每天讀取 Hacker News 首頁和最近 7 天上升最快的 GitHub 倉庫,由 Haiku 挑選一個值得學習的概念,並優先選擇貼合你目前倉庫技術棧的主題。提示框上方會顯示一張安靜的卡片,一次問一個問題,給出約 40 秒的思考時間後揭曉答案。答完所有問題的卡片會變成「今日總結」,顯示連續學習天數和 /wrapped 分享入口。命令方面,/meanwhile 以純文字顯示整節課(n 換主題、c 複製為貼文),/wrapped 把當天成果(編輯數、檔案數、Claude 工作時間、所學內容、三週連續記錄)生成為分享卡片。成本上每天在自己的方案內呼叫一次小型 Haiku,課程會快取,展示不消耗 token;若新聞不可達則回退到內建的「offline pick」常青課程。它自身不執行命令和工具,不修改或阻塞 Claude 的任何行為;網路僅存取 HN Algolia 和 GitHub 公開 API 各一次,每天一次 $.model.complete 只傳送新聞標題和本地讀到的依賴名稱(package.json 依賴名稱及 pyproject.toml/Cargo.toml/go.mod 是否存在),絕不傳送原始碼、提示或對話內容。Hook 只在 session.start 註冊命令

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add njp-coder/meanwhile
claude plugin install meanwhile@meanwhile
原文 / README

meanwhile

Learn one new thing a day while Claude thinks.

A Claude Code mod. Each morning it reads the Hacker News front page and the fastest-rising new GitHub repos, and Haiku picks one concept worth learning, preferring one that fits the stack in your current repo. A small quiet card above your prompt asks one question at a time and gives you about 40 seconds of Claude working to think before the answer appears.

╭ meanwhile · Speculative decoding ─────────────── 2/4 ╮
│ Why can an LLM API get faster without getting dumber? │
│ → A small model guesses ahead; the big one just checks.│
╰───────────────────────────────────────────────────────╯

When you've seen every answer, the card becomes your moment:

✓ You learned Speculative decoding today
🔥 4-day streak · /wrapped to share your day

While you work

  • Above the prompt: today's lesson card. Click Show answer when you're ready, Skip a question you don't care about, then Next. If you leave it alone, the answer appears after 40 seconds of Claude working.
  • After a turn that changed things: one dim line such as 6 edits · 4 files · 2 commands · 1m12s. It's drawn like a system notice and never sent to Claude.

When you ask

  • /meanwhile shows the whole lesson as plain text. Press n for a different topic or c to copy it as a post.
  • /wrapped opens your day as a share card: what you shipped (edits and files), Claude's working time, what you learned, your streak and a three-week strip. Press c to copy a post that leads with what you shipped and teaches your readers today's fact, then screenshot the card.

It makes one Haiku call per day, on your own plan, and the lesson is cached. Showing it costs no tokens. If the news can't be reached, it falls back to a built-in evergreen lesson marked "offline pick".

Install

Needs Claude Code 2.1.287 or later (claude update), with mods switched on for your account. Mods are still rolling out, so if nothing shows up, your account may not have them yet.

In a terminal:

claude plugin marketplace add njp-coder/meanwhile
claude plugin install meanwhile@meanwhile

Or inside Claude Code, type /plugin, add the marketplace njp-coder/meanwhile, and install meanwhile.

Then quit and reopen Claude Code (in the desktop app: ⌘Q) and start a new session. The first question card appears within about 20 seconds.

Commands: /meanwhile shows the whole lesson (n new topic, c copy as a post). /wrapped opens your day as a share card.

Cost: one small Haiku call a day on your own plan, to write the day's questions. Everything else costs no tokens.

What it reaches: the Hacker News and GitHub public APIs once a day, and your current folder's package.json / pyproject.toml / Cargo.toml / go.mod to pick a topic that fits your stack. The daily Haiku call sees only today's headlines and your dependency names, never your code.

What it does on your machine

meanwhile runs no commands and no tools of its own, and it never changes, blocks or rewrites anything Claude does.

Network: two fixed hosts, once a day

  • https://hn.algolia.com/api/v1/search?tags=front_page&hitsPerPage=30: the public Hacker News front page.
  • https://api.github.com/search/repositories?q=created:>DATE&sort=stars&order=desc&per_page=12: the most-starred public repos created in the last 7 days. DATE is today minus 7 days; that date is the only part of the address that changes.
  • It sends nothing to either host beyond those public requests.

What it sends, and where

  • One $.model.complete call a day to Claude Haiku, through your own Claude Code session and plan. It contains the headlines from the two hosts above and the dependency names it read locally (below). Never your source code, prompts or conversation.
  • Nothing is sent anywhere else. There is no server of its own.

What it reads locally

  • In your current folder: package.json (dependency names), and whether pyproject.toml, Cargo.toml or go.mod exists. Used only to prefer a topic that fits your stack.

What each hook does with what it sees

  • session.start: registers /meanwhile and /wrapped and loads today's lesson.
  • turn.start / turn.complete: notes that Claude is working (so the card only moves on then) and adds the turn's duration to today's count. It does not read or keep the conversation text.
  • tool.call: lets every call through unchanged, then counts it. For Edit, Write, MultiEdit and NotebookEdit it keeps a short hash of the file path, only to count distinct files (never the path itself); for Bash it counts one command. It never reads command text or file contents.
  • command.run for /meanwhile and /wrapped: answers only those two commands, by opening their panes. Other commands are not touched.
  • ui.render: draws the card above the prompt and the two panes.

What it stores: today's lesson and daily counts, in Claude Code's own plugin store on your machine. See PRIVACY.md.

Develop

claude plugin validate .
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 claude plugin test

Privacy

See PRIVACY.md. meanwhile collects nothing for its developer.

查看原始來源 ↗

更多類似作品