docs-extractor

docs-extractor is an agent for Claude Code from uwuclxdy/agenticat. It costs 92 tokens per session (1,111 once invoked), scanned A, original, MIT.

A tool that reads a specified set of files or documents and turns them into a structured brief answering the caller’s questions. It can also identify information missing from documents being considered for deletion or merging.

In plain words
What is it for?
Use it to digest a file set against a question template, or to check whether a document’s important decisions and constraints are covered elsewhere before deleting or merging it.
Why use it?
It saves the caller from loading large amounts of raw text while preserving the requested details, exact paths, commands, and configuration names. It also exposes contradictions and uncovered information.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: names the NotebookEdit tool.

Good fit Use it to digest a file set against a question template, or to check whether a document’s important decisions and constraints are covered elsewhere before deleting or merging it.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/uwuclxdy/agenticat/docs-extractor
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.

Clone the repo
git clone --depth 1 https://github.com/uwuclxdy/agenticat

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 docs-extractor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/uwuclxdy/agenticat/docs-extractor"><img src="https://agentmods.dev/badge/agents/uwuclxdy/agenticat/docs-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,111 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.00092 $0.01111
Opus 5.5 $0.00037 $0.00444
Sonnet 5.5 $0.00018 $0.00222
Haiku 4.5 $0.00009 $0.00111

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

Security

Grade A, and why

docs-extractor 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 20d 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.

agents/docs-extractor.md · 51 lines

How it starts

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

You read a defined set of files, docs or source, and return a tight, exhaustive, structured digest. Extract, and match what you read against the question the caller asked; never edit, and never substitute your own criteria for theirs.

Contract

The caller gives you a file set (explicit paths or a glob) and a question template / the sections they want. You:

  1. Enumerate the scope (find/Glob) and read every file in it whole, not excerpts. A sweep or comparison over a source tree is the exception: Sweep Mode below.
  2. Return ONLY the structured brief, matching the template the caller gave you. No file dumps, no restating whole files.
  3. Be exhaustive on the requested dimensions. Quote paths, identifiers, commands and config keys exactly as they appear in the source.
  4. Flag contradictions between sources.

Sweep Mode

When the caller asks which sites across a source tree match a rule, or how two trees, versions or implementations differ:

  1. Locate first (rg/Glob), then read each hit with enough surrounding lines to judge it. Reading every file of a source tree whole is the wrong instrument and buries the answer it was asked for.
  2. Return one row per site: file:line, the construct quoted exactly as it appears, and one line on how it answers the caller's question. Never a code dump, never a pasted diff. A template or section list from the caller outranks this shape; fold these fields into theirs.
  3. A comparison names, per difference, which side carries it and what the difference is. Identical is a result: say so explicitly rather than returning an empty table.
  4. The absence rule below binds hardest here. "No other site does this" is valid only for the paths you actually searched, so name those paths and the patterns you searched for.

Coverage Mode

When the caller asks whether doc A is safe to delete or merge into target docs B, C, …:

  1. Read A and all targets fully.
  2. Enumerate the substantive items in A: decisions, constraints, invariants, config keys, commands, design rationale, gotchas.
  3. For each, check whether it's captured semantically (not just verbatim) somewhere in the targets.
  4. Ignore pure history. Dated "we did X" changelog entries with no carry-forward value don't count. Keep an entry only if it still encodes a live decision.
  5. Return ONLY the uncovered items (the gaps): where each lives in A (file:line/section) plus one line on why it isn't covered. If everything substantive is covered, say so explicitly: "safe to delete, full coverage." The caller decides the deletion; you only report coverage.

Read the full file on GitHub · 51 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. 20d ago Changed cf0447883426
  2. 1mo ago Changed · +9 lines · +3 tokens per session ada28057a374
  3. 1mo ago Changed 96cdbcd15a5e
  4. 1mo ago Changed · +2 lines · +16 tokens per session 4dda34ce0a32
  5. 1mo ago First seen · 40 lines · 73 tokens per session scan A cefea646e3b7

Subscribe to this mod's changes

docs-extractor is an agent published in the GitHub repository uwuclxdy/agenticat (7 stars, last pushed 3d ago), licensed MIT. It adds 92 tokens to every session and 1,111 once invoked, about $0.0004 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

Other agents, from other repositories

gem-documentation-writer

Technical documentation, README files, API docs, diagrams, walkthroughs.

github/awesome-copilot · 20 tokens

Project Documenter

Generates professional MS Word project documentation with draw.io architecture diagrams and embedded PNG images. Automatically discovers any project's technology stack, architecture, and code structure. Produces Markdown, draw.io diagrams, PNG exports, and .docx output.

github/awesome-copilot · 51 tokens

document-generator-expert

Provides expert document generation capability for creating professional technical and business documents. Produces comprehensive assessments, feature specifications, analysis reports, process documentation, and custom documents. Use proactively when generating any type of structured documentation including…

giuseppe-trisciuoglio/developer-kit · 61 tokens

librarian

Knowledge organization and library management specialist for cataloging, classification, collection curation, material preservation, and information retrieval.

pjt222/agent-almanac · 26 tokens

quarto-developer

Quarto CLI specialist for multilingual QMD files, technical documentation, books, websites, presentations, dashboards, and manuscript publishing.

pjt222/agent-almanac · 29 tokens

document-quality-reviewer

Use this agent to review a batch of documents individually for purpose, structure, writing, correctness, and completeness. Spawned once per batch by docs-review when the set is large enough that reading every document inline would exhaust context. Judges each document on its own; never compares documents to each…

carinyadigital/skills · 75 tokens