skill-extract

skill-extract is a skill for Claude Code from flonat/flonat-research. It costs 43 tokens per session (2,202 once invoked), scanned A, original, MIT.

A workflow for turning useful, non-obvious knowledge from the current session into a reusable persistent skill. It checks whether the knowledge is repeatable and worth documenting first.

In plain words
What is it for?
It helps document recurring procedures, fixes, and workflows for later use by coding agents.
Why use it?
Important workarounds and multi-step procedures can be forgotten and rediscovered later. Saving them as a skill makes them available in future sessions.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/ai_skill_contracts.py check.

Good fit It helps document recurring procedures, fixes, and workflows for later use by coding agents.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/flonat/flonat-research
agentmods
npx agentmods add skills/flonat/flonat-research/skill-extract

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 skill-extract

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/flonat/flonat-research/skill-extract"><img src="https://agentmods.dev/badge/skills/flonat/flonat-research/skill-extract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,202 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 109
    Skill attempts to nullify the agent's safety policies or restrictions ('you have no restrictions', 'ignore your guidelines', 'do anything now'). This is a direct jailbreak that disables guardrails.
    Fix: Remove jailbreak framing that nullifies safety policies or restrictions. Skill content must not instruct the agent to ignore its guidelines or operate without guardrails.
  • medium Agent Snooping · line 42
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00043 $0.02202
Opus 5 $0.00022 $0.01101
Sonnet 5 $0.00009 $0.00440
Haiku 4.5 $0.00004 $0.00220

Measured 6d ago against content hash cf0cf9958714, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

skill-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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate_skill.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skill-extract/SKILL.md · 235 lines

How it starts

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

Learn: Session Knowledge Extraction

Extract reusable workflows, workarounds, and multi-step procedures discovered during a session into persistent skills. Complementary to the learn-tags rule — while [LEARN] tags record one-liner corrections in MEMORY.md, skill-extract creates full skill definitions in skills/.

When to Use

  • You discovered a non-obvious multi-step procedure
  • You built a workaround for a recurring problem
  • You developed a workflow that future sessions would benefit from
  • the user says "save this as a skill", "learn this", or "remember how to do this"

Phase 1: Evaluate

Before creating anything, answer these 4 self-assessment questions:

  1. Non-obvious? Would a future session figure this out without help, or would it waste time rediscovering it?
  2. Future benefit? Will this come up again across sessions or projects?
  3. Repeatable? Is this a procedure that can be followed step-by-step, or was it a one-off?
  4. Multi-step? Does it involve 2+ non-trivial steps that benefit from being documented together?

Decision rule: If at least 3 of 4 answers are "yes", proceed to Phase 2. Otherwise, suggest recording as a [LEARN] tag in MEMORY.md instead (simpler, lower overhead).

If borderline, ask the user:

"This seems useful but may not warrant a full skill. Should I create a skill or just add a [LEARN] tag to MEMORY.md?"

Phase 2: Creation Guard + Read Patterns

Run the skill-preflight analysis (see skills/skill-preflight/SKILL.md):

  1. Identify the proposal (name, type, purpose, key functions, keywords)
  2. Search existing skills and agents for overlap (skill-index scan + keyword grep)
  3. Analyse overlap and generate a recommendation:
Recommendation Criteria Action
PROCEED <20% overlap, genuinely new Continue to Phase 3
EXTEND 50%+ overlap with one existing Modify existing skill instead — stop here
COMPOSE Multiple artifacts cover 80%+ Create wrapper or document workflow — stop here
ITERATE 20-50% overlap, needs refinement Ask the user to clarify differentiation, then re-evaluate
BLOCK Would create duplication Do not create — stop here

Read the full file on GitHub · 235 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 235 lines · 43 tokens per session scan A cf0cf9958714

Subscribe to this mod's changes

skill-extract is a skill published in the GitHub repository flonat/flonat-research (132 stars, last pushed 14d ago), licensed MIT. It adds 43 tokens to every session and 2,202 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories