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

turn-timestamp

一個 Claude Code hook mod,讓每一輪結束時在工作階段回看內容中顯示時間戳記、持續時間與工具呼叫數。

shissncg@shissncg

shissncg/claude-mods/tree/main/mods/turn-timestamp

已翻譯

關於這個 mod

turn-timestamp 是 TypeScript hook 模組,會在每一輪結束時附加一列,例如 ✻ 2026-10-03 19:05 CDT · 3s · 1 tool call。在終端機中,它會取代 Claude Code 自己的回合結束列;在桌面應用程式 Code 分頁中,它會顯示在 Claude 最後一個回覆區塊下方。它只負責顯示。透過 claude plugin marketplace add shissncg/claude-mods,再執行 claude plugin install turn-timestamp@shissncg-mods 安裝,或使用 claude --plugin-dir mods/turn-timestamp 在一個工作階段中試用。

安裝

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

claude plugin marketplace add shissncg/claude-mods
claude plugin install turn-timestamp
原文 / README

Interesting Claude mods

Small Claude Code mods: TypeScript hook modules that run before, after or instead of what Claude Code does.

| Mod | What it does | | --- | --- | | turn-timestamp | Ends every turn with ✻ 2026-10-03 19:05 CDT · 3s · 1 tool call, so scrollback in multi-day sessions shows when each turn finished. In the terminal it replaces Claude Code's own end-of-turn line (✻ Churned for 1s); in the desktop Code tab, which draws no such line, it goes under Claude's last reply block. Display only. | | ci-status | /ci opens a pane listing the repo's latest GitHub Actions runs (via gh), refreshes every 30s, shows CI: N running in the status line and a toast when a run finishes. | | ai-meter-agents | Classic command hooks (no TypeScript) that record each session's state (working and on which tool, needs you, done) to ~/.config/claude-usage-monitor/agents/, one file per session. The ai-meter daemon shows them on the desk display's Agents page. The same script feeds Codex, Grok and Antigravity sessions: python3 mods/ai-meter-agents/install_other_tools.py adds it to their hook configs (--uninstall removes it). Silent: never blocks a tool call. |

Set up a machine

Installs every mod in setup/mods.conf (mine and the community ones I use) and restores their saved settings, such as the neon-cyber skin:

git clone https://github.com/shissncg/claude-mods ~/Dev/claude-mods
~/Dev/claude-mods/setup.sh
  • ./setup.sh --dev registers this checkout as the marketplace instead of GitHub, so edits under mods/ load without pushing.
  • ./setup.sh save copies this machine's mod settings into setup/store/; commit them to carry them to other machines.
  • To add a mod, add a line to setup/mods.conf. Running the script again only installs what's missing.

Plugins turned on at claude.ai sync by themselves and don't need to be listed.

To install just one of mine:

claude plugin marketplace add shissncg/claude-mods
claude plugin install turn-timestamp@shissncg-mods

Or try one for a session without installing:

claude --plugin-dir mods/turn-timestamp --plugin-dir mods/ci-status

Check one with claude plugin validate mods/<name>. Mods need a recent Claude Code build: older CLIs report "session.start" is not an event.

其他同名作品

更多類似作品