Repository navigation
Release 0.10
xsyetopz edited this page Oct 5, 2026
·
2 revisions
Released 2026-09-28. Adds a status line, public documentation, and more usage checks, and makes every message to Claude follow strict ASD-STE100. A version in parentheses marks a later patch of this line, and an entry with no version comes from 0.10.0.
- Stale-cache notice (
usage_notesoption): shows in the main conversation when the user sends a prompt after the prompt cache expired and the context is 100k tokens or more.- It says that this turn reads the whole context uncached, and that a
/compactnow does the same. It suggests a handoff note and/clearfor new work. - The TTL is 1 hour, or 5 minutes with
CLAUDE_CODE_PROMPT_CACHE_TTL=5morFORCE_PROMPT_CACHING_5M=1. - The message goes to the user only and adds nothing to the context.
- It says that this turn reads the whole context uncached, and that a
- Bash guard, co-author line: denies a
git commitwhose message has a ClaudeCo-Authored-Byline when theattributionsetting (orincludeCoAuthoredBy: false) leaves that line out. Claude Code adds the line anyway in some sessions (#4287, #93007). - Status line (0.10.0, 0.10.1):
- The main line shows the folder, the git state, the model and effort, the context against the 200k handoff point, the cache expiry and hit ratio, the usage limits, and the pull request. Colors change at 75% and 90%.
- It uses two rows: where the session works, then what it uses. A row that is too wide continues on the next row. Past three rows, parts drop by priority, and a limit at 75% or more stays.
- It also shows the folder below the project, added directories, the worktree, the
--agentname, the vim mode, the session name, cache misses with the last cause, the spend limit, lines added and removed, and the session time. - The plugin sets
subagentStatusLine, and each subagent row shows its context against the 150k subagent budget. Claude Code leaves${CLAUDE_PLUGIN_ROOT}empty in that command, so it runs a stub in the config directory that session start writes. - A plugin cannot set
statusLine, so/dotclaude:apply-settings-profileoffers it throughapply-statusline.mjs. That script writes a stub that session start keeps pointed at the current plugin version. - The
statusLinesetting hasrefreshInterval: 60, so the clock and cache expiry of an idle session keep updating. To add it to an existing install, run/dotclaude:apply-settings-profileorapply-statusline.mjs --applyagain.
- Nested-instructions hook (
nested_instructionsoption): when a Bash command reads files in a subdirectory with its ownCLAUDE.md,.claude/CLAUDE.md, orCLAUDE.local.md, the hook adds that file to the context, once for each session or subagent. Claude Code loads these files only for the Read tool (#90450). - Usage report: shows the prompt cache hit rate and the advisor share of cost.
- Open-task check (
task_checkoption): when Claude ends a turn with tasks pending or in progress, a Stop hook sends it back once to update the task list. The same set of open tasks blocks only once. -
just sandbox: runs Claude Code with the checkout as its plugin in a separate config directory. It skips onboarding and the trust dialog, and it gives the login token toclaudein its environment only.-
docs/sandbox.md, now the Sandbox page, tells people and AI agents how to test in it. -
just sandbox-cleanremoves it, andjust usageruns the usage report.
-
- Public docs (0.10.1):
docs/, fromdocs/README.md, is now this wiki, from Home. Each page tells what a part of dotclaude does and why, and links to the dossier for the evidence. The parts are hooks, models, agents and skills, working rules, the settings profile, the status line, and development. -
explain-dotclaudeskill (0.10.1): when the user asks why Claude or dotclaude did, blocked, or asked about something, Claude answers from the documentation. The answer gives the reason, its source, and how to change it.
- Message style: every message that goes to Claude follows strict ASD-STE100 and the prompting best practices of Claude.
The messages are hook output, guard reasons, agent and skill prompts, and the system prompt.
- Each message gives the reason, says what to do, and puts code items in backticks.
- A guard that finds more than one problem writes each reason as its own sentence.
-
AGENTS.mdhas the rule for new messages, and agent rules that had no reason now give one.
- Tests: check what dotclaude does, not how its messages read. They check the decision, the file effects, and the facts that a message carries (paths, IDs, numbers), so a reworded message no longer breaks a test.
- Dossier: uses the official prompt-caching facts.
An effort change keeps the cache on Opus 5.5 and Fable 5.1,
/modelloses it, and a 1-hour cache write costs 2x the input price. - Subagents: learn that Claude Code refuses their writes to
.mdfiles whose names start withreport,summary,findings, oranalysis(#44657). - Usage-note levels: the levels (75% and 90%) moved to
hooks/lib/_budget.mjsasUSAGE_LEVELS, and the status line shares them. - README (0.10.1): a short overview that links to the documentation.
The hook details, options, settings profile, and development notes moved to
docs/. - Cache misses (0.10.2): the main status line counts only misses that something broke, for example a change of model, tool, or system prompt.
It does not count misses from idle time past the cache lifetime (
ttl_expired_5m,ttl_expired_1h). They break nothing, and the stale-cache notice already covers them.
- Headroom support: Headroom compresses tool output with loss.
- In this repository it dropped words from text that Claude read as exact.
- Its saving is small against a cached context, and all agents needed its retrieval tool.
- The agents,
/dotclaude:setup-integrations, and the session-start notice no longer name it. - To remove it from a setup, run
headroom unwrap claudeandclaude mcp remove headroom, and takeheadroom wrapout of theclaudeshell function.
- Usage report: it left out advisor calls, because the
usageof the call does not count them. It now adds eachadvisor_messageinusage.iterations.
Previous: Release 0.9 · Next: Release 0.11
- Get started
- Guides
- Reference
- Develop
- Concepts and evidence
- Changelog
- Other