intelligence-extract-skill

A method for turning a workflow observed during a working session into a reusable skill. It keeps the repeatable steps and decisions while removing details that apply only to that session.

In plain words
What is it for?
Use it after completing a repeatable multi-step workflow to document its actions, decision points, and reusable procedure.
Why use it?
Useful procedures can otherwise remain trapped in one conversation. Extracting them creates an artifact that can be followed again by the same or another user.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/ainova-systems/intelligence-sync/intelligence-extract-skill
Any agent
npx skills add ainova-systems/intelligence-sync --skill intelligence-extract-skill
Clone the repo
git clone --depth 1 https://github.com/ainova-systems/intelligence-sync

Made for: Claude Code, Codex.

Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 685 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00014 $0.00685
Opus 5 $0.00007 $0.00342
Sonnet 5 $0.00003 $0.00137
Haiku 4.5 $0.00001 $0.00068

Measured 2d ago against content hash 76730146e8e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

intelligence-extract-skill 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 2d 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.

intelligence/sync/skills/intelligence-extract-skill/SKILL.md · 48 lines

How it starts

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

Extract Skill

Use when a workflow that ran during this session should become a reusable artifact — same sequence will be needed again by this user or by someone else using shared intelligence. Starts from observed session behavior instead of design-from-scratch.

When to use this vs intelligence-add-skill

  • intelligence-add-skill — design from scratch / from codebase analysis
  • intelligence-extract-skill — extract from the conversation that just happened

Both end at the same artifact format. Extract starts from observed behavior, so the steps already exist as real working procedure.

Steps

  1. Identify the pattern from session: list the concrete steps the assistant or user-and-assistant performed during the conversation. Include user decisions at each branch and assistant actions.

  2. Generalize: strip session-specific details (file names, dates, specific phrasing), keep the repeatable structure. The artifact should work for the next instance of this task type, not just the one that ran.

  3. Determine artifact type:

    • Multi-step workflow with concrete steps → skill
    • Behavioral preference / constraint / pattern to default to → rule (use intelligence-learn-from-context for single preferences from session)
    • Knowledge area / persona / expertise scope → agent
  4. Determine domain prefix (for skill / agent): reuse the existing domain when one fits — list intelligence/skills/ and intelligence/agents/. Derive from repo structure only when no existing domain matches.

  5. Determine naming (for skill): <domain>-<verb>-<noun> with convention verbs — add- (one new member of a set that already exists), create- (the container itself, where nothing hosted it), update- (revise what is there), run- (execute), review- (read-only analysis).

  6. Check for matching agent: if creating a skill and an agent already covers the domain, link via agent: frontmatter. If no matching agent and one is warranted, call intelligence-add-agent first.

Read the full file on GitHub · 48 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. 2d ago First seen · 48 lines · 14 tokens per session scan A 76730146e8e0

Subscribe to this mod's changes

intelligence-extract-skill is a skill published in the GitHub repository ainova-systems/intelligence-sync (4 stars, last pushed 4d ago), licensed MIT. It adds 14 tokens to every session and 685 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

ux-writing

Judgment rules for user-facing text and docs: CLI and diagnostic output, error and help text, README and docs structure, code comments, titles, and generated reports, decks, or exports. Use when writing or changing any user-visible string, when adding or restructuring docs or deciding which page owns a fact, when a…

scarletkc/agents · 128 tokens

talk-like-scarletkc

按 scarletkc 本人的自然表达习惯撰写、改写、润色和翻译文本,覆盖推文、微博、评论、聊天消息、技术观点、项目介绍、GitHub 文本(README、issue、PR、发布说明)和正式通信。当用户要求用自己的口吻写东西、把 AI 腔文字改自然、发推、回评论、点评模型或开发工具、写项目公告、写礼貌但直接的客服或正式邮件,或要求翻译时保留语气和立场,都使用本 skill,即使用户没有点名 scarletkc 或提出风格要求。.

scarletkc/agents · 141 tokens

marketing-copy

Write outbound promotional copy for a product or project: launch and update posts for community platforms and social media, store page descriptions and short blurbs, landing page headlines and calls to action, press-style announcements, and the naming of a product for another language or market. Covers what may be…

scarletkc/agents · 121 tokens

scoped-change

Judgment rules for locating the correct boundary of a requested change: staying inert outside it while completing every required site inside it. Use when scope is ambiguous, a diff touches neighboring surfaces, required dependent edits are unclear, or a proposed compatibility layer, migration, fallback, flag…

scarletkc/agents · 69 tokens

worktree-pr

Decide whether a task deserves its own git worktree and, if chosen, run it end to end: branch from the integration branch rather than the current tree, keep the main working copy untouched while the task runs, compare the result against the untouched baseline before declaring it done, and prepare it for a pull request…

scarletkc/agents · 148 tokens

agentic-code-review

Use when reviewing a diff, pull request, branch, or AI-generated code for correctness, security, regression, test, performance, and maintainability risks before merge.

DominikTobureto/awesome-grok-build · 38 tokens