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

daily-grind

Claude Code 插件,添加每日谜题中心(/grind),可在 Claude 工作时游玩,包含连胜和可分享结果,另有 session-receipt 兄弟插件。

sreshtalluri@sreshtalluri

sreshtalluri/claude-mods/tree/main/plugins/daily-grind

原帖图片1
已翻译

关于这个 mod

claude-mods

Claude Code mod,由 @sreshtalluri 制作。

session-receipt:每个 Claude Code 会话的一张收据

安装

/plugin marketplace add sreshtalluri/claude-mods
/plugin install session-receipt@claude-mods
/plugin install daily-grind@claude-mods

这些 mod 使用 Claude Code 的 function-hooks 插件 API;它仍处于早期访问阶段,因此需要当前版本的 Claude Code。

Mod

| Mod | 功能 | | --- | --- | | session-receipt | /receipt 打印可分享的会话收据。/receipt week 汇总本周。**Copy image** 提供可发布的方形 PNG。 | | daily-grind | /grind 打开每日谜题中心,让你在 Claude 工作时游玩。Developer: Git Golf(将提交图重塑到标准杆以下)、Heisenbug(找出有 bug 的行)、Install Order(依赖逻辑)。Everyone: Ladder、Pixel Logic、Codebreaker。Classics 标签页包含 Lexer、Buckets 和 Daemons。还有连胜记录,以及 /grind share 可分享结果。 |

session-receipt

session-receipt 演示

| 命令 | | | --- | --- | | /receipt | 本次会话:模型、时间、回合、工具、文件、token、缓存命中、成本,以及 Claude 说你绝对正确的次数。 | | /receipt week | 最近七天:会话数、最忙的一天、首要项目、常用模型、总计。 | | /receipt last | 上一个会话的收据。 |

  • **Copy image** 在 macOS、Windows 和 Linux 上将 1200×1200 PNG 放入剪贴板。如果没有任何东西能绘制它,就保存图像并显示路径。
  • 每个会话结束时,收据都会保存到 ~/.claude/receipts/。任何内容都不会离开你的机器。
  • 在终端中它是一张文字小票;在桌面应用中它会绘制成纸张。

添加 mod

  1. 将它放到 plugins/<name>/(包含 .claude-plugin/plugin.json)。
  2. 在 .claude-plugin/marketplace.json 中添加条目。
  3. 执行 claude plugin validate plugins/<name>、claude plugin test plugins/<name> 和 claude plugin validate .。

演示片段是 HyperFrames 在 media/receipt-demo 中的合成:bun build.ts && npm run render。

授权

MIT

安装

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

claude plugin marketplace add sreshtalluri/claude-mods
claude plugin install daily-grind
原文 / README

claude-mods

Claude Code mods by @sreshtalluri.

session-receipt: a receipt for every Claude Code session

Install

/plugin marketplace add sreshtalluri/claude-mods
/plugin install session-receipt@claude-mods
/plugin install daily-grind@claude-mods

Mods use Claude Code's function-hooks plugin API, which is early access, so you need a current Claude Code.

Mods

| Mod | What it does | | --- | --- | | session-receipt | /receipt prints a shareable receipt of your session. /receipt week totals your week. Copy image gives you a square PNG to post. | | daily-grind | /grind opens a hub of daily puzzles to play while Claude works. Developer: Git Golf (reshape a commit graph under par), Heisenbug (find the buggy line), Install Order (dependency logic). Everyone: Ladder, Pixel Logic, Codebreaker. A Classics tab holds Lexer, Buckets and Daemons. Streaks, and /grind share for a shareable result. |

session-receipt

session-receipt demo

| Command | | | --- | --- | | /receipt | This session: model, time, turns, tools, files, tokens, cache hit, cost, and how many times Claude said you were absolutely right. | | /receipt week | The last seven days: sessions, busiest day, top project, usual model, total. | | /receipt last | The previous session's receipt. |

  • Copy image puts a 1200×1200 PNG on your clipboard on macOS, Windows and Linux. If nothing can draw it, the image is saved and its path is shown.
  • Every session's receipt is saved to ~/.claude/receipts/ when it ends. Nothing leaves your machine.
  • In the terminal it's a text slip; in the desktop app it's drawn as paper.

Adding a mod

  1. Put it in plugins/<name>/ (with .claude-plugin/plugin.json).
  2. Add an entry to .claude-plugin/marketplace.json.
  3. claude plugin validate plugins/<name>, claude plugin test plugins/<name> and claude plugin validate .

The demo clip is a HyperFrames composition in media/receipt-demo: bun build.ts && npm run render.

License

MIT

更多类似作品