extraction

extraction is a skill for Claude Code from alphabravo-oss/guild. It costs 35 tokens per session (638 once invoked), scanned A, original, MIT.

Guidance for deciding which documentation should be generated from a source of truth and which explanation should be written by hand. A source of truth is the authoritative code, specification, or configuration that the documentation describes.

In plain words
What is it for?
Use it when documenting APIs, types, configuration, schemas, Python APIs, or Go packages, and when choosing extraction tools.
Why use it?
It reduces outdated reference pages caused by copying technical details manually. It also separates generated facts from human explanations about purpose and alternatives.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the webster plugin — 11 skills, 6 agents shipped together

Good fit Use it when documenting APIs, types, configuration, schemas, Python APIs, or Go packages, and when choosing extraction tools.

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

Made for: Claude Code.

Or install webster, the plugin that ships this one along with the rest of its 11 skills, 6 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 extraction

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/alphabravo-oss/guild/extraction"><img src="https://agentmods.dev/badge/skills/alphabravo-oss/guild/extraction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 638 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.00035 $0.00638
Opus 5.5 $0.00014 $0.00255
Sonnet 5.5 $0.00007 $0.00128
Haiku 4.5 $0.00003 $0.00064

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

Security

Grade A, and why

extraction 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.

plugins/webster/skills/extraction/SKILL.md · 60 lines

How it starts

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

Extraction

The rule

A reference page is extracted, not written.

A model writing an API reference from a code read produces a table that is correct on the day and wrong by the next commit, because nothing regenerates it. An extractor cannot drift, because it is re-run against the source of truth.

What a person adds around the extracted output is the part worth writing by hand: why this endpoint exists, what it refuses to do, what the reader should reach for instead. That is explanation, and it belongs on a different page from the reference.

What comes from where

Reference material Source of truth Tool
Exported TypeScript types The types typedoc
Public API surface of a package The types @microsoft/api-extractor, which also reports surface changes between versions
HTTP endpoints, with an OpenAPI spec The spec @scalar/api-reference to render, redocly lint to govern
HTTP endpoints, no spec The route files scripts/survey.py, which enumerates them with anchors
Environment and config .env.example and the loader scripts/survey.py
Python API Docstrings mkdocstrings
Go packages The source go doc
Changelog Commits and tags The changelog skill

Run scripts/survey.py first. Its tooling block names the extractors that fit this repo and the exact command for each.

When there is no spec and no extractor

This is the common case for an app rather than a library, and it is where invention happens.

  1. Take the surface from scripts/survey.py. Every entry carries a file:line anchor.
  2. Read each handler. Do not summarise from the route name.
  3. Request and response shapes come from the types or the validation code, quoted with anchors. If neither exists, the shape is [?] and says so.
  4. Status codes come from the code paths that return them, not from convention. A 429 that is documented but never returned is worse than an undocumented one.
  5. Never document a field you cannot point at.

Read the full file on GitHub · 60 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 · 60 lines · 35 tokens per session scan A 10cd80e40412

Subscribe to this mod's changes

extraction is a skill published in the GitHub repository alphabravo-oss/guild (3 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 638 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-09-04.

Related

extraction compared with skills from other repositories

extraction next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extractionalphabravo-oss/guildSkill3yesterdayMITA35Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code