/skill-kit:extractfrom skill-kit
Was the claudeception skill. Extracts reusable knowledge from work sessions and codifies it into Claude Code skills. Use when: (1) /skill-kit:extract (was /claudeception) to review session learnings, (2) save this as a skill or extract a skill from this, (3) what did we learn?, (4) after non-obvious debugging, workarounds, or trial-and-error discovery. Evaluates whether current work contains extractable knowledge, checks for existing skills, and creates or updates skills following the skill-kit:author best practices.
Ships in skill-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Extract reusable knowledge from a work session into a Claude Code skill. Be selective: not every task produces a skill.
Invoke this skill right after a task when ANY of these apply:
Also invoke it when the user runs /skill-kit:extract, says "save this as a skill", or asks "what did we learn?".
Before extracting, verify the knowledge meets these criteria:
Goal: Find related skills before creating. Decide: update or create new.
Run find-skills.sh from the project directory. It searches the project's skills, the user's, and only the plugin installs that are active for this project. Exit 0 means found and 1 nothing found. Exit 2 means rg or python3 is missing, and exit 3 means the search itself failed (a bad pattern or an unreadable file; rg's error is on stderr). On 2 or 3, stop and fix it: an empty result would read as "nothing related".
"${CLAUDE_SKILL_DIR}/scripts/find-skills.sh" # list all skills
"${CLAUDE_SKILL_DIR}/scripts/find-skills.sh" -i "keyword1|keyword2" # search by keywords
"${CLAUDE_SKILL_DIR}/scripts/find-skills.sh" -F "exact error message" # search by exact error message
"${CLAUDE_SKILL_DIR}/scripts/find-skills.sh" -i "getServerSideProps|next.config.js|prisma.schema" # context markers
| Found | Action |
|---|---|
| Nothing related | Create new |
| Same trigger and same fix | Update existing (e.g., version: 1.0.0 → 1.1.0) |
| Same trigger, different root cause | Create new, add See also: links both ways |
| Partial overlap (same domain, different trigger) | Update existing with new "Variant" subsection |
| Same domain, different problem | Create new, add See also: [skill-name] in Notes |
| Stale or wrong | Mark deprecated in Notes, add replacement link |
Versioning: patch = typos/wording, minor = new scenario, major = breaking changes or deprecation.
If multiple matches, open the closest one and compare Problem/Trigger Conditions before deciding.
A match inside a plugin install is not edited in place. Its installPath is a cache copy under ~/.claude/plugins/cache, which the next plugin update overwrites. Read the plugin's marketplace in ~/.claude/plugins/known_marketplaces.json. If its source.source is "directory", source.path is a checkout the user owns: make "Update existing" there, in the plugin's own source, not in the cache. Otherwise (a github or git source) do not edit the plugin: tell the user the fix belongs in the plugin's source repo, and create a new user skill in ~/.claude/skills/ with a See also: link to the plugin skill.
Analyze what was learned:
Search the web for technology-specific best practices when the topic involves specific frameworks, libraries, or tools. Skip for project-specific internal patterns.
Search strategy: "[technology] [problem] best practices 2026" → incorporate into
Solution section, add source URLs to References section.
Use the skill-kit:author skill for the complete authoring workflow: frontmatter rules,
directory layout (SKILL.md + scripts/ + references/), description writing, template,
and quality checklist.
Key rules (quick reference):
name, description, metadata.version (no author, date, tags)references/--help, error handling, chmod +x.claude/skills/, user-wide → ~/.claude/skills/After saving skill changes, update project-level artifacts that track changes:
[Unreleased] for:
### Added section### Documentation section### Fixed sectiondocs(skills): prefix for skill-only changes,
or fix(skills): if a script bug was also fixedWhy this step exists: Skill extraction focuses on the SKILL.md files and scripts, making it easy to forget that the project's CHANGELOG.md also needs to reflect these changes. Without this step, skill updates get committed without any changelog entry, violating project conventions.
When /skill-kit:extract is invoked at the end of a session:
Use the skill-kit:author skill's quality checklist for the full pre-publish verification.
Quick check before saving:
skill-kit:author frontmatter and structure rules[Unreleased] updated with skill changes (Step 5)Scenario: Discovered getServerSideProps errors don't appear in browser console.
~/.claude/skills/nextjs-server-side-error-debugging/SKILL.md
with trigger conditions, solution steps, and References section linking to official docs.Complete sample skills: examples/nextjs-server-side-error-debugging/SKILL.md, examples/prisma-connection-pool-exhaustion/SKILL.md and examples/typescript-circular-dependency/SKILL.md.
skill-kit:author — how to structure, write, and optimize skills (the HOW)scaffold-backport — propagates project fixes back to scaffold template (complementary auto-trigger)What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/authorWas the skill-authoring skill. Creates and optimizes Claude Code skills following Anthropic's official best practices with emphasis on agent parallelization and script-first determinism. Use when: (1) creating a new skill from scratch, (2) optimizing an existing skill that exceeds 500 lines or has poor discoverability, (3) extracting inline code into scripts/ or reference material into references/, (4) designing orchestrator + sub-agent architectures for complex skills, (5) restructuring a skill directory into SKILL.md + scripts/ + references/ layout, (6) auditing skill cross-references for stale links. Covers: agent-first orchestration, parallel sub-agent design, script-first determinism, frontmatter rules, progressive disclosure, directory layout, description writing, and quality checklist./publishWas the skill-publishing skill. Publishes Claude Code skills as installable plugins and syncs them to a GitHub monorepo. Plugin-first: every skill with a plugin-manifest.json is auto-assembled and synced as a plugin. Also supports bare skill publishing and individual repos. Use when: (1) user says 'publish', 'share', or 'sync' a skill, (2) a skill needs to be made installable by others, (3) syncing skills/plugins to the monorepo, (4) creating a versioned monorepo release, (5) assembling a plugin from skills + commands, (6) user says 'publish plugin' or 'package plugin'.Other plugins' skills for the same job
npx claudepluginhub abhattacherjee/claude-code-skills --plugin skill-kit