extract-skills

extract-skills is a skill for Claude Code, Codex from ProsusAI/prism. It costs 93 tokens per session (2,463 once invoked), scanned A, original, Apache-2.0.

A code-analysis follow-up that turns reusable patterns found in an agent codebase into skill files for a skill registry.

In plain words
What is it for?
Use it after generating the required codebase analysis report to extract general, framework-independent skills into the analysis output folder.
Why use it?
It saves you from writing registry-ready skills by hand and avoids producing skills when the analysis finds no useful reusable patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it after generating the required codebase analysis report to extract general, framework-independent skills into the analysis output folder.

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

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-skills

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/prosusai/prism/extract-skills"><img src="https://agentmods.dev/badge/skills/prosusai/prism/extract-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,463 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.00093 $0.02463
Opus 5 $0.00046 $0.01231
Sonnet 5 $0.00019 $0.00493
Haiku 4.5 $0.00009 $0.00246

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

Security

Grade A, and why

extract-skills 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 9d 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/extract-skills/SKILL.md · 232 lines

How it starts

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

Extract Skills

When to use this skill

Reads classified decisions from _analysis/full_report.md and transforms them into generic, framework-agnostic skill files ready for the skill registry.

Zero skills is a valid outcome. Not every codebase contains extractable patterns. Do not force extraction — it is better to report nothing than to produce generic noise.

Prerequisites

{CODEBASE_ROOT}/_analysis/full_report.md must exist. If it doesn't, stop immediately and tell the user to run /analyze-agent-codebase (Claude Code) or @analyze-agent-codebase (Cursor) first.

All output goes to {CODEBASE_ROOT}/_analysis/extracted_skills_codebase/.

Instructions

Phase 1: Locate and read Section 14

Do not read full_report.md in full — it is a concatenation of all cluster files and is large. Section 14 is the only input needed for extraction.

First check whether _analysis/synthesis.md exists:

test -f _analysis/synthesis.md && echo "EXISTS" || echo "NOT_FOUND"

If synthesis.md exists: read _analysis/synthesis.md directly. It is the source of Section 14 and is much smaller than the assembled report. Skip the grep step.

If synthesis.md does not exist: locate Section 14 in full_report.md without loading the whole file:

grep -n "SECTION 14" _analysis/full_report.md | head -1

Read full_report.md starting from the line number returned by grep to EOF. Do not read any content before that line.

Section 14 contains:

  • 14A: Classified decisions (tagged UNIVERSAL, ENGINEERING, or FRAMEWORK-SPECIFIC)
  • 14B: Anti-patterns (missing, disabled, or broken implementations)
  • 14C: Design trade-offs (decision frameworks with context-dependent options)

Drop all FRAMEWORK-SPECIFIC decisions.

For remaining UNIVERSAL and ENGINEERING decisions, apply the "would you say this unprompted" test at the decision level, not the concept level:

  • Drop if you would give the specific decision with its specific failure mode unprompted (e.g., "use environment variables for secrets," "add retry logic").
  • Keep if you know the general concept but not the specific production decisions within it. Example: You know "LLM-as-judge" exists, but do not know that you need model diversity between judge and production model to avoid shared blind spots, or that evaluation scores should be written to tracing spans for regression detection.

Read the full file on GitHub · 232 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. 9d ago First seen · 232 lines · 93 tokens per session scan A b9b511403383

Subscribe to this mod's changes

extract-skills is a skill published in the GitHub repository ProsusAI/prism (20 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 93 tokens to every session and 2,463 once invoked, about $0.0005 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens