analyze

A document-collection analysis tool that maps what a group of documents covers and how they relate. It can examine documents across repositories, research notes, and other mixed collections.

In plain words
What is it for?
Use it to review documentation ecosystems, research collections, decision records, or API documentation. It produces an organized report with suggested improvements without changing the original documents.
Why use it?
It helps reveal missing topics, repeated information, contradictions, and documents that may be out of date. This gives you a clearer view before reorganizing or improving the collection.

Skill for Claude CodeCodex

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/tercel/spec-forge/analyze
Any agent
npx skills add tercel/spec-forge --skill analyze
Clone the repo
git clone --depth 1 https://github.com/tercel/spec-forge

Made for: Claude Code, Codex.

Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,497 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.00069 $0.03497
Opus 5 $0.00034 $0.01749
Sonnet 5 $0.00014 $0.00699
Haiku 4.5 $0.00007 $0.00350

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

Security

Grade A, and why

analyze 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 2d 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/analyze/SKILL.md · 411 lines

How it starts

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

Analyze — Document Landscape Analysis & Knowledge Mapping

Map, understand, and evaluate a collection of documents as a body of knowledge. Identify structure, themes, gaps, redundancies, conflicts, and staleness. Produce an actionable analysis with reorganization recommendations.

Core Principles

  1. Landscape-first: Build the map before judging — understand what exists before critiquing
  2. Theme-driven: Group documents by what they're about, not just where they live
  3. Conflict detection: Find contradictions between documents that may confuse readers
  4. Staleness awareness: Identify documents that may be outdated based on content signals
  5. Non-destructive: Only reads and reports — never modifies source documents
  6. Reorganization as suggestion: Propose better structures, don't impose them

When to Use Analyze vs. Audit

Situation Use
Single project with docs/ and source code /spec-forge:audit
Docs-only repo with mixed content /spec-forge:analyze
Cross-repo documentation ecosystem /spec-forge:analyze
Research notes, ideas, decision records /spec-forge:analyze
API docs need checking against code /spec-forge:audit
"I have a mess of docs and need to understand them" /spec-forge:analyze

Workflow

Step 1: Determine Scope

Parse the arguments to determine what to analyze:

  1. If a path argument is provided (e.g., /spec-forge:analyze ../../aipartnerup-docs), use that as the root
  2. If no path, use the current working directory's docs/ directory
  3. If multiple paths are provided, analyze all of them as one collection

Use AskUserQuestion to understand the user's goals:

  • What is this collection? (e.g., "ecosystem docs for multiple products", "research notes", "mixed specs and decisions")
  • What do you want to understand? Options:
    • Full landscape analysis (recommended for first time)
    • Find conflicts and contradictions
    • Find gaps and missing coverage
    • Suggest reorganization
    • All of the above

Read the full file on GitHub · 411 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. 2d ago First seen · 411 lines · 69 tokens per session scan A fed1f952d16d

Subscribe to this mod's changes

analyze is a skill published in the GitHub repository tercel/spec-forge (5 stars, last pushed 1mo ago), licensed MIT. It adds 69 tokens to every session and 3,497 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

ppt-design-skill

Design, generate, review, and revise editable PowerPoint presentations through a rigorous brief-to-PNG workflow using the public pptx-designer Python library.

sunchaokun/PPT-Design-Skill · 35 tokens

manager

Sync session work into GitHub issues, or query track status across repos. Write: find/update issue + W-label. Read: "что по ". Triggers: "создай issue", "синкни сессию", "manager". Not day/week plans (daily-tasks).

serejaris/personal-corp-os · 63 tokens

weekly-retro

Use when the user is closing an ISO week, reviewing planned outcomes against evidence, interviewing work Areas, resolving unfinished commitments, or asking for "ретро", "weekly retro", "week review", or lessons from the week.

serejaris/personal-corp-os · 49 tokens

art-director

Orchestrate iterative visual style searches with branch prompts, decision graphs, feedback loops, and final direction selection.

serejaris/personal-corp-os · 26 tokens

corp-doctor

Use when a Personal Corp operating loop needs setup, repair, a new department, or task routing: HQ files and agent rules, GitHub issue workflow, corp- owner map, department repositories, or deciding which repo an issue belongs to. Triggers: "corp doctor", "почини контур", "заведи отдел", "куда положить задачу"…

serejaris/personal-corp-os · 102 tokens

html-draft

Use when user wants a standalone HTML diagram in flat engineering blueprint style — architecture diagrams, system flows, technical spec sheets, component maps. Generates one HTML file using Tailwind v4 (browser CDN) for layout and D3 v7 (CDN) for SVG diagrams. User-invoked only — do NOT auto-trigger. Triggers on…

serejaris/personal-corp-os · 130 tokens