docs-maintain

docs-maintain is a skill for Claude Code, Codex from VKirill/claude-lane-stack. It costs 0 tokens per session (633 once invoked), scanned A, original, MIT.

A documentation-maintenance workflow that checks and updates a repository’s living docs after code changes.

In plain words
What is it for?
Use it to scan a project for stale documentation, create missing documentation stubs, run documentation linting, and produce session reports.
Why use it?
It helps prevent architecture notes and other maintained documentation from becoming outdated. It also separates documentation checks from unrelated folders such as wikis and plans.

Skill for Claude CodeCodex

Part of the lane-stack plugin — 17 skills, 4 commands, 14 agents shipped together

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 skills/vkirill/claude-lane-stack/docs-maintain
Any agent
npx skills add VKirill/claude-lane-stack --skill docs-maintain
Clone the repo
git clone --depth 1 https://github.com/VKirill/claude-lane-stack

Made for: Claude Code, Codex.

Or install lane-stack, the plugin that ships this one along with the rest of its 17 skills, 4 commands, 14 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 docs-maintain

README.md
[![agentmods](https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/docs-maintain.svg)](https://agentmods.dev/skills/vkirill/claude-lane-stack/docs-maintain)
Your own site
<a href="https://agentmods.dev/skills/vkirill/claude-lane-stack/docs-maintain"><img src="https://agentmods.dev/badge/skills/vkirill/claude-lane-stack/docs-maintain.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 633 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.00000 $0.00633
Opus 5 $0.00000 $0.00316
Sonnet 5 $0.00000 $0.00127
Haiku 4.5 $0.00000 $0.00063

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

Security

Grade A, and why

docs-maintain 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 today.

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.

plugins/lane-stack/skills/docs-maintain/SKILL.md · 70 lines

What it actually says

Docs maintain

Info (print and stop)

If $ARGUMENTS is info, or the user says info / справка / как запускать this skill: print the block below verbatim (Russian), then stop. Do not start docs-maintain.

docs-maintain — живые docs/. Не фичи.

Когда
- «обнови документацию / nightly docs / INIT docs».
- После дневных коммитов. Не wiki/, не TODO/, не docs/plans/.

Как открыть шпаргалку
- /lane-stack:docs-maintain info
- каталог: /lane-stack:info

Запуск
- adoc → Документация → Enabled → Apply
  (паспорт тонкий → project-onboard, потом wiki)
- docs-init-chain /path/to/repo
- docs-maintain-project /path/to/repo
- docs-maintain-project /path/to/repo lint
- docs-maintain-all --if-hour
- агент: сначала project-onboarder, потом docs-maintainer

Как работает
1) Паспорт тонкий — отдельный агент project-onboarder. Wiki не стартует раньше.
2) docs-web: шапки / stubs / web.yaml / INDEX. Без LLM.
3) docs-stale: owns ∪ цитаты ∪ stub/thin. Luna wiki INIT/night. Не коммитит.
   Отчёт: .agents/session-log/DOCS-YYYY-MM-DD.md
   Daylog: .agents/session-log/DOCS-DAY-YYYY-MM-DD.md

Who

Codex gpt-5.6-luna + max + fast when stages.docs.enabled (adoc). Off by default.

docs-maintain-project /path/to/repo
docs-maintain-project /path/to/repo lint
docs-maintain-all --if-hour

Markers (project is Lane Stack)

  • CLAUDE.md contains Claude Lane Stack, or
  • .agents/routing.profile.yaml, or
  • .agents/runs/ exists

Rules

  • First enable: docs-init-chain = project-onboard then wiki. Wiki runner refuses a thin passport.
  • Night: yesterday git ∩ owns + leftover stubs. Empty → no LLM.
  • Archive (wiki/, TODO/, docs/plans/) is never written.
  • No feature code. No commit.

Cron

0 * * * * $HOME/.agents/bin/docs-maintain-all --if-hour >>$HOME/.agents/logs/docs-maintain.log 2>&1
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. today Changed · +1 lines c592ca47d617
  2. 5d ago First seen · 69 lines · 0 tokens per session scan A 67f3a1989ff1

Subscribe to this mod's changes

docs-maintain is a skill published in the GitHub repository VKirill/claude-lane-stack (114 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 633 tokens. 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.

Related

Other skills, from other repositories

issue-triage

Issue triage: audit open issues, categorize, detect duplicates, cross-ref PRs, risk assessment, post comments. Args: "all" for deep analysis of all, issue numbers to focus (e.g. "42 57"), "en"/"fr" for language, no arg = audit only in French.

rtk-ai/rtk · 70 tokens

performance

CLI performance optimization - startup time, memory usage, token savings benchmarking.

rtk-ai/rtk · 13 tokens

build-teaql-app

Build or change a TeaQL application in Java, Rust, Go, Swift, Python, C#/.NET, or TypeScript, including Kotlin/JVM applications that consume Java-generated libraries. Mandatory order: first draft and save a complete KSML model, then verify the client and evaluate that saved model, repair it through repeated evaluation…

teaql/teaql-agent-kit · 112 tokens

moai-workflow-worktree

Git worktree management for parallel SPEC development with isolated workspaces, automatic branch registration, and seamless MoAI-ADK integration. Use when setting up parallel development environments.

modu-ai/moai-adk · 41 tokens

moai-kanban-foreman

One unattended kanban foreman iteration: watch the backlog queue, dispatch the next operator-picked card to an isolated worker, collect completion evidence on read (not on claims), and report. This is the body the project's loop.md driver invokes each iteration of a bare /loop; it can also be invoked directly to test…

modu-ai/moai-adk · 76 tokens

moai-workflow-thinking

Sequential Thinking MCP for structured step-by-step analysis via --deepthink flag. Separate from UltraThink which is Claude's native extended reasoning mode. Use for multi-step analysis or architecture decisions.

modu-ai/moai-adk · 43 tokens