dev-docs-update

A command for updating the development notes that track unfinished work before the agent runs out of conversation context.

In plain words
What is it for?
It updates active task context and task-list files in the .dev directory, marking completed work and recording newly discovered tasks.
Why use it?
It preserves implementation state, decisions, changed files, blockers, and next steps so work can continue after a context reset.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/wislertt/bakefile/dev-docs-update
Clone the repo
git clone --depth 1 https://github.com/wislertt/bakefile

Made for: Claude Code.

Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 486 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00007 $0.00486
Opus 5 $0.00003 $0.00243
Sonnet 5 $0.00001 $0.00097
Haiku 4.5 $0.00001 $0.00049

Measured yesterday against content hash a53f56f13cad, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dev-docs-update scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/dev-docs-update.md · 78 lines

How it starts

The opening of the file, as written. The whole thing — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.

We're approaching context limits. Please update the development documentation to ensure seamless continuation after context reset.

Dev Docs Pattern

This command uses the dev docs pattern for persistent task management.

Key concepts:

  • .dev/active/ - Work in progress
  • .dev/archive/ - Completed tasks (move here when done)
  • Three-file structure: plan, context, tasks
  • Update context.md frequently during session
  • Use /dev-docs-update before context reset

See .dev/README.md for complete documentation on the dev docs pattern.

Required Updates

1. Update Active Task Documentation

For each task in /.dev/active/:

  • Update [task-name]-context.md with:

    • Current implementation state
    • Key decisions made this session
    • Files modified and why
    • Any blockers or issues discovered
    • Next immediate steps
    • Last Updated timestamp
  • Update [task-name]-tasks.md with:

    • Mark completed tasks as ✅
    • Add any new tasks discovered
    • Update in-progress tasks with current status
    • Reorder priorities if needed

2. Capture Session Context

Include any relevant information about:

  • Complex problems solved
  • Architectural decisions made
  • Tricky bugs found and fixed
  • Integration points discovered
  • Testing approaches used
  • Performance optimizations made

3. Update Memory (if applicable)

  • Store any new patterns or solutions in project memory/documentation
  • Update entity relationships discovered
  • Add observations about system behavior

4. Document Unfinished Work

  • What was being worked on when context limit approached
  • Exact state of any partially completed features
  • Commands that need to be run on restart
  • Any temporary workarounds that need permanent fixes

5. Create Handoff Notes

If switching to a new conversation:

  • Exact file and line being edited
  • The goal of current changes
  • Any uncommitted changes that need attention
  • Test commands to verify work

Additional Context: $ARGUMENTS

Read the full file on GitHub · 78 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 78 lines · 7 tokens per session scan A a53f56f13cad

Subscribe to this mod's changes

dev-docs-update is a command published in the GitHub repository wislertt/bakefile (5 stars, last pushed 3d ago), licensed Apache-2.0. It adds 7 tokens to every session and 486 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.