shissncg/claude-mods/tree/main/mods/turn-timestamp
turn-timestamp
各ターンの終了時にタイムスタンプ、所要時間、ツール呼び出し数の行をセッションのスクロールバックへ追加する Claude Code hook mod です。
この 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 で 1 セッションだけ試せます。
インストール
まず作者の 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 --devregisters this checkout as the marketplace instead of GitHub, so edits undermods/load without pushing../setup.sh savecopies this machine's mod settings intosetup/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.
同名の他の作品
- turn-timestampJDWorkdog · ★ 9
