extract

extract is a skill for Claude Code, Codex from odarino/haren. It costs 15 tokens per session (664 once invoked), scanned A, original, MIT.

A procedure for turning one unit of an old software system into an approved technical specification. It can extract the original source, record its meaning, and check the resulting specification.

In plain words
What is it for?
Use it during legacy-system migration to document each unit's fields, connections, data writes, behavior, and parity requirements.
Why use it?
It creates a documented reference for rebuilding legacy behavior instead of relying on the old code alone. The approval step helps catch missing or incorrect details before planning the replacement.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: agent in frontmatter.

Good fit Use it during legacy-system migration to document each unit's fields, connections, data writes, behavior, and parity requirements.

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

Made for: Claude Code, Codex.

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 extract

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/odarino/haren/extract"><img src="https://agentmods.dev/badge/skills/odarino/haren/extract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 664 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.00015 $0.00664
Opus 5.5 $0.00006 $0.00266
Sonnet 5.5 $0.00003 $0.00133
Haiku 4.5 $0.00002 $0.00066

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

Security

Grade A, and why

extract 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 28d 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.

.haren-dev/skills/extract/SKILL.md · 44 lines

How it starts

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

Extract

Turn each legacy unit into an approved unit spec. Run this phase after decompose and before plan.

Process

Resolve repo paths in manifest.yaml from the haren folder, not from the workspace root.

Do these steps for each unit of the module:

  1. Get the legacy source of the unit:
    • With an adapter: run haren migrate extract <unit>. The files go to artifacts/02-discovery/units/<unit>/.
    • Without an adapter: read the legacy source. Run haren track unit <module> <unit> extracted.
  2. Read artifacts/01-research/legacy-semantics.md first.
  3. Write artifacts/02-discovery/units/<unit>/spec.md:
    • With an adapter: use the adapter skill named in the plugin's haren-plugin.json, key adapter.skills.spec.
    • Without an adapter: use the unit-spec.md template.
  4. Run haren track unit <module> <unit> spec-draft. Use the ID UNITSPEC-<unit> (see the resolve-next-id skill). Register the spec now, before approval: haren track artifact <id> --type unit-spec --path artifacts/02-discovery/units/<unit>/spec.md --module <module>. Then haren track check passes while the unit waits for approval.
  5. Run haren migrate gate <unit>. Fix the spec for each finding. Run the gate again until it shows PASS. Exit code 3 means the gate passed but the user did not approve yet. Go to step 6. Do not treat it as a failure.
  6. Show the spec and the gate result to the user. Wait for approval.
  7. Only after the user approves:
    • With an adapter: run haren migrate gate <unit> --approve.
    • Without an adapter: tick the Manual gate section of the spec. Then run haren track unit <module> <unit> spec-approved.
  8. Update the artifact row: run the same haren track artifact <id> ... command with --status approved.

Rules

  • A unit in blocked status skips the gate.json check in haren track check. Before approval work, move the unit back to its previous status with haren track unit <module> <unit> <status>.
  • Never write into the legacy repo (readOnly: true). The gate blocks Edit and Write there. For Bash commands, the guard is best effort only, so do not use the shell to change legacy files. Keep the legacy repo read-only at the filesystem or git level where possible.
  • When you find a new platform trap, add a row to legacy-semantics.md.
  • The module spec links the unit specs. It does not restate them.
  • Do not write code in this phase.

Read the full file on GitHub · 44 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. 28d ago First seen · 44 lines · 15 tokens per session scan A b0bc0e941daf

Subscribe to this mod's changes

extract is a skill published in the GitHub repository odarino/haren (13 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 664 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-11-04.

Related

extract compared with skills from other repositories

extract next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
extractodarino/harenSkill13yesterdayMITA15Claude 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/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code