dev-docs-update

A documentation workflow for preserving development plans, decisions, discoveries, and unfinished work before a coding session runs out of context.

In plain words
What is it for?
Use it to update active task plans, record implementation state, capture technical learnings, and note blockers or restart commands.
Why use it?
It gives the next session enough project history to continue without repeating investigation or forgetting pending tasks.

Command

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/aspenkit/aspens/dev-docs-update
Clone the repo
git clone --depth 1 https://github.com/aspenkit/aspens
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 352 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.00352
Opus 5 $0.00003 $0.00176
Sonnet 5 $0.00001 $0.00070
Haiku 4.5 $0.00001 $0.00035

Measured yesterday against content hash 8967cdd314fd, 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.

src/templates/commands/dev-docs-update.md · 48 lines

What it actually says

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

Required Updates

1. Update Active Task Plans

For each task in /dev/active/<task-name>/:

  • Update <task-name>/plan.md with:
    • Mark completed tasks as checked ([x])
    • Add any new tasks discovered during this session
    • Log key decisions in the Decisions section
    • Note current implementation state and next steps
    • Update any blockers or issues discovered

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

Priority: Focus on capturing information that would be hard to rediscover or reconstruct from code alone.

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 · 48 lines · 7 tokens per session scan A 8967cdd314fd

Subscribe to this mod's changes

dev-docs-update is a command published in the GitHub repository aspenkit/aspens (96 stars, last pushed 16d ago), licensed MIT. It adds 7 tokens to every session and 352 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-30.