ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 LorcanChinnock

previously-on

Claude Code 插件:闲置后返回时显示会话回顾、昨天会话的晨间摘要,以及 /standup 命令。

LorcanChinnock@LorcanChinnock

LorcanChinnock/claude-desk-neighbours/tree/main/plugins/previously-on

原帖图片1
已翻译

关于这个 mod

📺 Previously On 会在你回到会话时帮助你了解进度。如果你在一个已经完成若干回合的会话中闲置了 20 分钟,第一次按键会显示已完成的工作、待处理事项和等待你处理的内容。每次返回只生成一次;只要内容没有变化就会重复使用,并会在发送提示或按下 Dismiss 键(0)时关闭。当天的第一个会话还会显示上一天会话的一次性摘要,而 /standup 会打印上一天和当天的会话,方便粘贴到站会频道。📺 on air 面板(或 /previously-on)会显示今天和昨天的会话,并提供 Recap now(r)和 Copy standup(c)按钮。闲置阈值可配置(默认 20 分钟)。后台会重新读取转录并发起模型调用(主要使用提示缓存);Haiku 会在第一次回合以及之后每五个回合标记会话主题;每日记录会为期两周、每个会话保留一行。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add LorcanChinnock/claude-desk-neighbours
claude plugin install previously-on
原文 / README

📺 Previously On

Catches you up when you come back.

After 20 minutes away, the first keystroke brings up a recap of the session; 0 dismisses it

/plugin install previously-on@claude-desk-neighbours

How it works

If you've been idle for 20 minutes in a session that has some finished turns, your first keystroke brings up a recap:

📺 Previously on payments-service…
   Waiting on you: keep or drop the old cache?
   Done: retry logic for webhook sends, tests green
   Pending: idempotency key on refunds

It's only generated once each time you come back, and reused if nothing has changed. It goes away when you send a prompt or press Dismiss (0 in an empty prompt, or click it). Here's the recap from the demo above, sitting under a Your Serve question:

A recap under a Your Serve question: waiting on you, update the webhook tests to a 250ms base; done; pending

The first session of your day also shows a one-off digest of the previous day's sessions:

📺 Yesterday: payments-service (webhook retries) · web-app (login copy fixes)

And /standup prints the previous day's and today's sessions so you can paste them into your standup channel.

/standup output: yesterday, nothing logged; today, payments-service and its topic

The pane

Click 📺 on air in the status row, or run /previously-on, to see today's and the previous day's sessions. There are buttons for Recap now (r) and Copy standup (c).

The Previously On pane: today's sessions, wrapped to fit, with Recap now and Copy standup buttons

Settings

| Setting | Default | |---|---| | Recap after this many idle minutes | 20 |

In the background

The recap re-reads the session transcript in one model call, which mostly comes out of the prompt cache. After the first turn, and then every fifth turn, Haiku looks at your prompts and gives the session a topic for the day log. The log has one line per session and is kept for two weeks in the plugin's store.

更多类似作品