tp-docs-update

tp-docs-update is a skill for Claude Code from CurtisThe/three-pillars-plugin. It costs 39 tokens per session (2,947 once invoked), scanned A, original, Apache-2.0.

A guided command for proposing updates to four project documents: vision, architecture, product roadmap, and known issues. It reviews recent project work and shows suggested changes for approval.

In plain words
What is it for?
Use it after a milestone to update selected documents or all existing documents. The command requires at least one relevant document and can update only the named document categories.
Why use it?
It reduces the work of keeping planning and technical documents aligned with completed designs, spikes, code changes, and review findings.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the three-pillars plugin — 40 skills, 58 agents shipped together

Good fit Use it after a milestone to update selected documents or all existing documents. The command requires at least one relevant document and can update only the named document categories.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/curtisthe/three-pillars-plugin/tp-docs-update
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.

Any agent
npx skills add CurtisThe/three-pillars-plugin --skill tp-docs-update
Clone the repo
git clone --depth 1 https://github.com/CurtisThe/three-pillars-plugin

Made for: Claude Code.

Or install three-pillars, the plugin that ships this one along with the rest of its 40 skills, 58 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tp-docs-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-docs-update/github.svg)](https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-docs-update)
Your own site
<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-docs-update"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-docs-update/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tp-docs-update

Your own site · 80×15
<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-docs-update"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-docs-update.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,947 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00039 $0.02947
Opus 5.5 $0.00016 $0.01179
Sonnet 5.5 $0.00008 $0.00589
Haiku 4.5 $0.00004 $0.00295

Measured 1mo ago against content hash c807d2d553b3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tp-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 1mo ago.

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.

skills/tp-docs-update/SKILL.md · 81 lines

How it starts

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

Docs Update

Propose targeted updates to one or more of the four project docs based on recent work.

Argument: [vision|architecture|roadmap|known-issues] (optional) — update a specific doc. If omitted, reviews all four. --cheap-tier[=ab] (optional, deprecated) is a flag, not the doc argument, and changes nothing: the step-6 cheap-tier drafts run in every invocation, per skills/_shared/cheap-dispatch.md, and <mode> is on.

Prerequisites

  • At least one of the four docs must exist in three-pillars-docs/. If none exist, suggest running /tp-setup (for vision) or /tp-docs-init (for the other three) first and stop.

Steps

  1. Run first-run preflight per skills/_shared/first-run.md.

  2. Validate argument if provided — must be one of vision, architecture, roadmap, known-issues. Reject unknown values.

  3. Determine which docs to update: use the argument, or default to all four that exist.

  4. For each doc, read the current content and gather recent context:

    • Completed designs in three-pillars-docs/completed-tp-designs/ (read design.md for scope)
    • Active spike results in three-pillars-docs/tp-designs/*/spike-results.md
    • Recent git log (last 20 commits) for changes since doc was last updated
    • Any implementation-audit.md or review.md files with findings
  5. Vision update protocol (vision only): Updating three-pillars-docs/vision.md is a higher-stakes edit than the other docs because every downstream TDD skill reads it. Do not propose vision edits automatically from git log or completed designs — a stream of shipped features is not a signal that the why changed. Only propose vision edits when:

    • Recent spike results explicitly concluded the vision needs updating (check spike-results.md for vision callouts)
    • An audit surfaced a MISALIGNMENT finding that the user resolved by deciding the vision was wrong rather than the design
    • The user explicitly invokes /tp-docs-update vision to reconsider the why When proposing vision edits, reopen the Part A conversation from /tp-setup for the affected sections rather than silently rewriting — the user should answer the questions again, not rubber-stamp a diff. Flag downstream impact: list designs whose Vision alignment section would need to be re-checked against the new vision.
  6. Review Current Focus (roadmap only): If updating the roadmap and it has a ## Current Focus table, check for staleness — items marked done in Design Inventory but still in Current Focus, blockers that have been resolved, next actions that are outdated. Propose corrections as part of the roadmap edits.

  7. Propose specific edits as diff-style before/after blocks:

    • Show the current text that would change
    • Show the proposed replacement
    • Explain why this update is needed Process one doc at a time so the user can approve/reject granularly.

    Cheap-tier proposal drafts (never for vision.md; the loop is skills/_shared/cheap-dispatch.md). Before writing each step-6 proposal, run python3 "$TP_ROOT"/skills/_shared/cheap_tier_cli.py spec --slot docs_draft --root . --cheap-tier <mode> --probe in Bash with timeout 300000; a null rung means the proposal is written as today. Otherwise write a facts payload JSON (the doc, the section's current text, what changed and why, and every PR number and SHA it may cite), never the session context, and spawn Agent(subagent_type=<spec.agent_ref>, model=<spec.model>, …) to write one scratch file from it: the diff-style proposal as **Before**, **After** and **Why**. Check it with the prose_shape oracle: python3 "$TP_ROOT"/skills/_shared/cheap_oracle_run.py check --slot docs_draft --artifact <A.json> --ctx <C.json> (artifact path; ctx kind docs_draft, root ., facts). On accept the draft is the proposal, which the operator approves as today. A dropped draft means the proposal is written as today. Then run python3 "$TP_ROOT"/skills/_shared/prose_oracle.py save-draft --root . --slot docs_draft --draft <draft> --final <a file holding the final text> --reviewed <operator approved>. Record the attempt per the dispatch doc; under ab, run its pure-slot pair and use neither arm.

    Cheap-tier History line (never for vision.md; the loop is skills/_shared/cheap-dispatch.md). For each History line, run python3 "$TP_ROOT"/skills/_shared/cheap_tier_cli.py spec --slot history_line --root . --cheap-tier <mode> --probe in Bash with timeout 300000; a null rung means the line is written as today. Otherwise spawn Agent(subagent_type=<spec.agent_ref>, model=<spec.model>, …) on a facts payload JSON (today's date, the doc, the one change to summarize, and every PR number and SHA it may cite), never the session context, to write one scratch file: the dated History line, shown with its doc's proposal. Check it with the prose_shape oracle: python3 "$TP_ROOT"/skills/_shared/cheap_oracle_run.py check --slot history_line --artifact <A.json> --ctx <C.json> (artifact path; ctx kind history_line, root ., facts). On accept it is the proposed line. A dropped draft means the line is written as today. Then run python3 "$TP_ROOT"/skills/_shared/prose_oracle.py save-draft --root . --slot history_line --draft <draft> --final <a file holding the final text> --reviewed <operator approved>. Record the attempt per the dispatch doc; under ab, run its pure-slot pair and use neither arm.

  8. On user confirmation, write the changes and follow skills/_shared/living-doc-format.md:

    • Update the *Last updated: YYYY-MM-DD* marker on line 2–3 of the doc to today's date.
    • Append one dated line at the top of the ## History section (newest-first): - YYYY-MM-DD — one-sentence summary. Keep it under 800 non-ws chars. Do not expand the *Last updated:* line with a prose summary — the summary goes in ## History.
    • Roll the History over: run python3 "$TP_ROOT"/skills/_shared/history_rollover.py --doc three-pillars-docs/<doc> for each living doc whose History grew, and stage the doc's archive (e.g. three-pillars-docs/architecture_archive.md) in the same commit — a no-op when the doc has 15 or fewer entries.
    • Roll the doc to its cap in the same commit: for each living doc you wrote, run python3 "$TP_ROOT"/skills/_shared/doc_rollover.py --doc <repo-relative doc> and keep the condensed form per skills/_shared/living-doc-format.md §Condensed shape and caps (one bullet or row per item, history to the archive); stage the doc's archive in the same commit.
    • Offer the archive sweep as a dry run (it never runs automatically): python3 "$TP_ROOT"/skills/_shared/archive_sweep.py — run --apply only after the operator confirms the printed plan. (A new known issue uses a placeholder ID, numbered later: see skills/_shared/issue-id-placeholders.md.)
  9. Commit the doc updates per skills/_shared/commit-after-work.md. Artifact paths to stage: only the doc files actually modified in step 7 — any of three-pillars-docs/vision.md, three-pillars-docs/architecture.md, three-pillars-docs/product_roadmap.md, three-pillars-docs/known_issues.md, three-pillars-docs/known_issues_resolved.md (when an update resolves an issue, move its entry verbatim to the resolved archive — never mark it resolved in place).

Read the full file on GitHub · 81 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. 1mo ago Changed c807d2d553b3
  2. 1mo ago Changed · +1 lines 51e1e6474034
  3. 1mo ago Changed · +25 lines 08071ebb15ab
  4. 3mo ago First seen · 55 lines · 39 tokens per session scan A b162f22d0655

Subscribe to this mod's changes

tp-docs-update is a skill published in the GitHub repository CurtisThe/three-pillars-plugin (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 39 tokens to every session and 2,947 once invoked, about $0.0002 per session on Opus 5.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.

Related

tp-docs-update compared with skills from other repositories

tp-docs-update next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tp-docs-updateCurtisThe/three-pillars-pluginSkill51mo agoApache-2.0A39Claude Code
engram-testing-coverageGentleman-Programming/engramSkill8.4k8d agoMITA25Claude Code, Codex
iterative-developmentalinaqi/maggySkill7135d agoMITA24Claude Code
tddglebis/claude-skillsSkill417todayMITA92Claude Code
mobiai-mobile-tddArisGuimera/MobiAI-CoreSkill4962d agoMITA38Claude Code
nw-ddd-eventsourcingnWave-ai/nWaveSkill63713d agoMITA38Claude Code
nw-leanux-methodologynWave-ai/nWaveSkill63713d agoMITA37Claude Code