doc-triage

doc-triage is a skill for Claude Code from jamestexas/agents. It costs 34 tokens per session (1,523 once invoked), scanned A, original, Apache-2.0.

A skill for reviewing internal documentation against the actual code and tracking needed cleanup as work items.

In plain words
What is it for?
Use it to locate internal docs, compare them with the code, create beads for real fixes, and archive stale files. Beads are tracked work items.
Why use it?
It helps find outdated or misplaced documents instead of leaving documentation problems as untracked notes.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to locate internal docs, compare them with the code, create beads for real fixes, and archive stale files. Beads are tracked work items.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamestexas/agents/doc-triage
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 jamestexas/agents --skill doc-triage
Clone the repo
git clone --depth 1 https://github.com/jamestexas/agents

Made for: Claude Code.

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 doc-triage

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamestexas/agents/doc-triage/github.svg)](https://agentmods.dev/skills/jamestexas/agents/doc-triage)
Your own site
<a href="https://agentmods.dev/skills/jamestexas/agents/doc-triage"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/doc-triage/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 doc-triage

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamestexas/agents/doc-triage"><img src="https://agentmods.dev/badge/skills/jamestexas/agents/doc-triage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,523 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.00034 $0.01523
Opus 5.5 $0.00014 $0.00609
Sonnet 5.5 $0.00007 $0.00305
Haiku 4.5 $0.00003 $0.00152

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

Security

Grade A, and why

doc-triage 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 3mo 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/doc-triage/SKILL.md · 177 lines

How it starts

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

Doc Triage — Convert Markdown Debt to Beads

Find internal documentation files that aren't meant for external consumers, review them against the actual code, create beads for anything real, and archive the originals.

Arguments

$ARGUMENTS

Arguments format: [repo-path] [--dry-run] [--skip-archive]

  • repo-path: Path to the repo to triage (default: current working directory)
  • --dry-run: Show what would be beaded/archived without doing it
  • --skip-archive: Create beads but don't archive the source files

What This Solves

Repos accumulate internal markdown files over time: TODO.md, KNOWN_ISSUES.md, INVESTIGATION_LOG.md, _agent_log/*.md, HANDOFF.md, EXPLORATION_SUMMARY.md. These contain a mix of:

  • Real work items (should be beads)
  • Already-fixed issues (should be deleted)
  • Historical context (useful but stale)
  • Aspirational plans (may or may not be relevant)

This skill converts the real items into beads and archives the rest so they stop cluttering the repo.

Workflow

Phase 1: Discovery — Find Internal Docs

Scan for files that are NOT meant for external consumers:

INCLUDE patterns (internal docs):
  - TODO.md, TODOS.md
  - KNOWN_ISSUES.md, KNOWN_BUGS.md
  - INVESTIGATION_LOG.md
  - HANDOFF*.md
  - EXPLORATION_SUMMARY.md
  - MIGRATION_PLAN.md
  - HYPOTHESIS.md
  - _agent_log/*.md
  - experiments/**/NOTES.md
  - *_COMPREHENSIVE_OVERVIEW.md
  - COHESIVE_INVESTIGATION_NOTES.md
  - *_QUICK_REFERENCE.md

EXCLUDE patterns (external/keep):
  - README.md
  - CHANGELOG.md
  - CONTRIBUTING.md
  - LICENSE*
  - docs/api/**
  - ARCHITECTURE.md (keep — these are structural)
  - CLAUDE.md, AGENTS.md (tooling config)
  - ADR-*.md (architectural decisions — keep)
  - .beads/** (beads internal)

List all matches and show to user before proceeding.

Phase 2: Review — Check Against Code Reality

For each discovered file, read it and evaluate every actionable item:

For each item/section in the doc:

  1. Is it a real, current issue? Check the code:
    • Use Grep/Glob to verify the issue still exists
    • Check git log to see if it was already fixed
    • If referencing a specific file/function, verify it still exists

Read the full file on GitHub · 177 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. 3mo ago First seen · 177 lines · 34 tokens per session scan A f2f21d7e305d

Subscribe to this mod's changes

doc-triage is a skill published in the GitHub repository jamestexas/agents (2 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 1,523 once invoked, about $0.0001 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

doc-triage compared with skills from other repositories

doc-triage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-triagejamestexas/agentsSkill2todayApache-2.0A34Claude Code
soul-gradercobibean/soul-grader-skillSkill603mo agoMITA45Codex
markdown-ui-dslMegaByteMark/markdown-ui-dslSkill258mo agoMITA25Claude Code, Codex
research-dspyGrayCodeAI/starlingSkill23mo agoMITA36Claude Code
research-guidanceGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
research-instructorGrayCodeAI/starlingSkill23mo agoMITA39Claude Code
reviewvercel/eveSkill6.1ktodayApache-2.0A31Claude Code, Codex