ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 eshin087

next-tasks

在較長回合後建議三個下一步任務,並提供可點擊的一鍵操作。

eshin087@eshin087

eshin087/claude-code-mods/tree/main/next-tasks

已翻譯

關於這個 mod

next-tasks 會在持續 1 分鐘或更久的回合後,在面板上方顯示三個專案任務:繼續工作、品質步驟和面向未來的一步。點擊數字或任務即可執行,✕ 可關閉;卡片 10 秒後隱藏並摺疊到 N 指示器,建議在 3 次提示後過期。/next 會透過從提示快取分出的工作階段讀取完整對話並產生建議;自動建議每個長回合使用一次小型 Haiku 要求。MIN_TURN_MS、MODEL、AUTO_HIDE_MS 位於 hooks/register.tsx 頂端。

安裝

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

claude plugin marketplace add eshin087/claude-code-mods
claude plugin install next-tasks
原文 / README

Next Tasks

What it does: after a longer piece of work, suggests the 3 best next tasks for the project, ready to run with one click.

Where you see it: after any turn of 1 minute or more, a small card opens above the dock once, with a blank line between it and the dock:

Next                                   ✕
[1] Add a seam test for tiles
[2] Write an ADR: tiles in repo vs R2
[3] Profile far-tile blits
  • Click the boxed number or the task to do it: its full instruction goes into your prompt box, or is sent where the app has no box it can fill.
  • ✕ dismisses the suggestions.
  • Auto-hide: if you don't answer within 10 seconds, the card folds into the dock's N (amber dot). Click N to bring it back, with a fresh 10 seconds each time.
  • It also folds when you send your next prompt. Suggestions expire after 3 of your prompts.
  • /next asks over the whole conversation instead of the last turn: smarter, any time.

How it works:

  • Automatic: Haiku reads a short summary of the turn (what you asked, files changed, commands run, the final report) and replies with three tasks: one to continue the work, one quality step (tests, review, docs, refactor), and one forward-looking step.
  • /next: forks your session and asks the same question with the full context. The fork is served from the session's prompt cache.

Cost:

  • Automatic: one small Haiku call per long turn, about 2-3k tokens in and 300 out (well under a cent).
  • /next: re-reads your conversation from cache on the session's model. Cheap per token, but a big context adds up, so it's on demand only.

Data saved: none.

Settings: MIN_TURN_MS, MODEL and AUTO_HIDE_MS at the top of hooks/register.tsx.

更多類似作品