Claude Code plugin
Claude Inject Idle Time
Claude Code plugin that injects hidden timing context into every user prompt. 42 tokens, local time with UTC offset, idle seconds since last reply, previous turn duration.
Install
/plugin marketplace add clankercode/claude-inject-idle-timeFound in the project README. Check it for setup steps after installing.
git clone https://github.com/clankercode/claude-inject-idle-time.gitFrom the README
Claude Code Idle Timing Plugin Claude Code plugin that injects hidden timing context alongside each user message. The plugin adds up to three fields inside a compact [timing] block: - local_time — local time with explicit UTC offset (only on the first prompt of a session) - idle_for — seconds idle since the assistant's last stop - last_turn_dur — seconds the previous assistant turn took to run Each prompt gets a hidden block Claude reads but you never see in your transcript: What It Does The plugin uses official Claude Code hooks: - UserPromptSubmit injects hidden timing context on every prompt - UserPromptSubmit also shows a compact TUI note like [after 5m 2s] when the user replies after more than 10 seconds of idle time - Stop persists per-session timing state for the next turn - PreCompact resets the idle timer when context compaction runs, so the statusline counts from the compaction event rather than the last pre-compact reply On a fresh session, unavailable prior-turn fields are omitted. Install via Marketplace Statusline integration (optional) This plugin ships a composable fragment that prints the elapsed time since the model's last reply. Two implementations are provided: - scripts/statusline-fragment.sh — POSIX-sh, no node cold-start. Recommended. Reads a small per-session file (.lastresponse) that the hooks keep updated, so it costs , --drop-seconds-after (default 900, i.e. 15 minutes). - .js: --session-id , --model-id , --drop-seconds-after (default 900). Statusline state table The fragment produces the following outputs: Observability The plugin keeps all of its runtime state under the directory pointed to by the CLAUDE_PLUGIN_DATA environment variable (Claude Code sets this per session). Two subdirectories are created there: -…
How plugins work
- A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
- Add the marketplace inside Claude Code with /plugin marketplace add clankercode/claude-inject-idle-time, then run /plugin to pick what to install.
- You can turn a plugin off again from /plugin without deleting anything.
Details
- Repository
- clankercode/claude-inject-idle-time
- Language
- JavaScript
- Last updated
- 11 June 2026
- Topics
- claude-codedevtoolshooksjavascriptnodejsplugintemporal-awarenesstiming
- Listed in
- awesome-claude-code-toolkit
FAQ
What is Claude Inject Idle Time?
Claude Code plugin that injects hidden timing context into every user prompt. 42 tokens, local time with UTC offset, idle seconds since last reply, previous turn duration. It is a plugin for Claude Code, from clankercode/claude-inject-idle-time on GitHub.
How do I install Claude Inject Idle Time?
Run /plugin marketplace add clankercode/claude-inject-idle-time inside Claude Code, then follow the setup in the README.
Is Claude Inject Idle Time popular?
clankercode/claude-inject-idle-time has 5 GitHub stars and 1 forks, and is included in 1 curated Claude Code list. It was last updated on 11 June 2026.
More plugins & marketplaces
Claude Agentic Coding Playbook
5john-wilmes/claude-agentic-coding-playbook
Evidence-based practices for LLM-assisted development. Install scripts, Claude Code configuration, and a research-backed best practices guide with 34 verified citations.
Magic CC Codex Worker
5wenqingyu/magic-cc-codex-worker
Parallel OpenAI Codex agents inside Claude Code — multi-agent orchestration with git worktree isolation, resumable sessions, and dual-model PR review. MCP plugin.
Bouncer
6buildingopen/bouncer
Gemini stands at the door. Independent quality gate that audits Claude Code's output before it can stop.
Test Kitchen
52389-research/test-kitchen
Parallel exploration of implementation approaches - implements multiple variants simultaneously and lets tests determine the winner
UI Ux Suite
7Aboudjem/ui-ux-suite
ESLint for design. Finds the exact line, the measured wrong value, and the exact fix. 12 weighted dimensions, WCAG 2.2 + APCA, zero deps.
Burnd
5garvitsurana271/burnd
Find what's burning a hole in your AI coding budget. Local-first cost-control for Claude Code.
Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.