/project-toolkit:skillifyfrom project-toolkit
Extracts a reusable skill from a completed workflow by auditing session evidence, checking for overlap with existing skills, and writing through harness file tools.
Ships in project-toolkit. 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.
Turn a workflow you just completed into a skill, from what the session shows, not from a goal. Patch an existing skill before creating a new one.
When a non-trivial workflow succeeds, the durable pattern is worth keeping. This skill audits the finished work, decides if it deserves a skill, finds the destination, checks for overlap, writes through the harness file tools, and reads the result back.
Boundary with skillforge: skillify extracts from a workflow already done and
is driven by session evidence (tool calls, branches, errors). skillforge
routes, designs, creates, or improves skills from a goal with no finished
workflow behind it. Starting from a goal: use skillforge.
skillify this, skillify, save this as a skill, make this proper
The body loads only after activation, so the generated skill's description
must also cover its trigger intents.
PROCEED.verify; the report names the skill
and its trigger.PROCEED with proactive_eligible: true
(5 or more tool calls), the final report may carry one declarative line naming
the candidate and the phrase to run. Include it only when the host's
completion rules allow optional information in the report. Under the host's
completion-tail rule, omit it unless the user asked for capture suggestions.
It is never a question, an offer, or a write.All commands run
${COPILOT_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-.claude}}/skills/skillify/scripts/skillify.py
with python3. That form is POSIX shell. In PowerShell, use
$env:COPILOT_PLUGIN_ROOT or $env:CLAUDE_PLUGIN_ROOT, else .claude, and
python when python3 is absent. Each prints one JSON object. Exit codes: 0 ok, 1 logic or
verification failure, 2 no destination or invalid path. Harness tool names:
harness-mapping.md.
tool_call_count, reusable_class,
decision_points, gotchas, trigger_phrase, and optional booleans
external_actions and recovery_paths, then run skillify.py gate --audit audit.json.
REJECT lists reasons (one_off, trivial_wrapper, no_real_procedure,
no_trigger_phrase). On REJECT, say the work did not warrant a skill and
stop. A single tool call with arguments is a tool, not a skill.skillify.py resolve [--explicit PATH] [--env-var NAME ...]. Order:
explicit instruction, then a --env-var the user or host names (none by
default), then a skills root found from the working directory
(.claude/skills for Claude Code, .github/skills for Copilot CLI). Exit
2 (needs_clarification or invalid) means stop all writes and ask the
user for a directory path. When the result has exists: false,
confirm with the user before creating that root. Details:
skill-skeleton.md.actions, terms,
trigger_phrase) and run skillify.py overlap --workflow w.json --root <resolved root> [--root <other root>]. Add the user-scope root when the
host has one. PATCH names a skill: read it first. If its procedure does not
cover the workflow, treat the result as CREATE. Otherwise show the user
the target path and the planned change, and get confirmation before editing.
The planned change adds the trigger phrase to the target's description.
A generated SKILL.md is patched at its source template when the repo has
one. CREATE continues; fewer than 3 distinct words also gives CREATE.../skillforge/references/skill-content-rules.md first and apply its
content and description rules to the draft.
Create <root>/<name>/SKILL.md with the harness file-write tool, or patch
with the file-edit tool using a unique old string. Inline every convention
the skill needs; do not depend on a personal instruction file or a path
outside the skill. Tag every step that acts on an external or public system (external), and
every step that asks the user for approval (approval), earlier. Remove secrets, tokens, auth headers, internal hostnames,
and account IDs from captured commands and examples. Use pathlib in any
script and no assumed shell.skillify.py verify --skill <dir> --audit audit.json
(add --mode patch after a PATCH). It reads the trigger, external_actions,
and recovery_paths from the audit. Patch mode fails
description_has_trigger when the description lacks the trigger.
With external actions, each (external) step needs an (approval) step
strictly before it; approval words do not count, and no step has both tags.
Fenced commands count as part of their step. An untagged step, or any
line outside the numbered steps and the descriptive sections, that looks
external fails: tag or reword it. Outside the step section, patch mode scans numbered items only.
Steps run 1, 2, 3 in order, restarting or continuing after a subheading. Recovery paths need a step marked optional or
recovery. Create mode reads numbered Procedure steps; patch mode also
reads a Process section. Fix every failure
and rerun. Do not run a broader evaluation pass. A passing verify shows
the file loads, not that the skill helps; settle any capability claim with
capability-gate.md.Skillified as <name>. Trigger: "<phrase>". or
Patched <name>. Trigger: "<phrase>". When the skill claims a capability
gain, add Capability gain: MEASURED | UNVERIFIED | NO GAIN with its
values (UNVERIFIED (no baseline) when none was recorded). With no claim,
omit the field. No offers to adjust.| Command | Purpose | Exit |
|---|---|---|
gate --audit FILE | PROCEED or REJECT with reasons; - reads stdin | 0 |
resolve [--explicit P] [--env-var N]... [--cwd D] | Pick the skills root | 0, or 2 unresolved or not a directory |
overlap --workflow FILE --root P... | PATCH at 0.70 coverage else CREATE | 0 |
verify --skill P [--audit FILE] [--mode patch] | Read-back checks. Needs --trigger or an audit trigger_phrase; --external-actions and --recovery-paths override the audit | 0 pass, 1 fail |
skillify_text.py (parsing) and skillify_verify.py (read-back checks) are
imported by skillify.py; run only skillify.py.
Malformed input, unreadable files, and usage errors exit 1 with status: error.
A relative --explicit or env-var path is anchored at --cwd and returned absolute.
| Avoid | Why | Instead |
|---|---|---|
| Skillifying a one-off task | A script or note is the right size | Let the gate REJECT and stop |
| Creating a near-duplicate | Overlapping triggers rot the catalog | Run overlap first; patch at 0.70 |
| Writing a path before step 3 resolves | A wrong guess creates files in the wrong place | Resolve first; ask when unresolved |
| Vague description | Agents scan only the opening clause | Lead with the action and the real trigger phrase |
| Trigger phrases nobody says | The skill never loads | Use the user's own words |
| Dropping Anti-patterns and Pitfalls | Without them the skill is a README | Write at least two of each |
| Claiming a skill improves capability because it loads | Loading and repeating a procedure are not outcomes | Record a baseline and measure, or report UNVERIFIED |
| Removing an approval gate while simplifying | A public action then runs unreviewed | Carry every gate into the new skill |
| Publishing the new skill automatically | Skills load in every later session | Write locally; leave sharing to the user |
| Asking about every section | Skillify is your work | Ask only for the trigger phrase, or for the destination when resolve needs it |
## Process, which patch mode
accepts. New skills must use ## Procedure.verify. It is a read-back lint for skills this procedure
wrote, not a sandbox against a hostile author, and it reads CommonMark
basics only.verify..claude/skills; Copilot CLI
loads .github/skills. Confirm with the agent-harness-reference skill
before naming other locations or tool names.pathlib in generated scripts.PROCEED, or the run stopped with the rejection reason.overlap ran; a skill at 0.70 or more was patched, not duplicated.verify returned PASS on the written file.capability-gate.md; no claim adds
nothing.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (rjmurillo/ai-agents) — no native marketplace selected
npx claudepluginhub p/rjmurillo-copilot-cli-agents-src-copilot-cli104 skills in this plugin
/adr-generatorCreate comprehensive Architectural Decision Records (ADRs). Researches the destination directory to detect existing template conventions, gathers context, determines next ADR number, generates the ADR, validates completeness, and saves. Supports multiple ADR formats (MADR, Nygard, Alexandrian, project canonical). Use when documenting technical decisions, creating new ADR files, or capturing rationale so future readers can revisit a choice. Use when you say "write an ADR", "document this decision", "document these design choices", "record why we chose this", "capture the rationale", or "for future maintainers", or when creating an ADR-like markdown file under docs/decisions/, docs/adr/, docs/architecture/, architecture/decisions/, or .project-toolkit/architecture/. Do NOT use to debate or review an existing ADR (use adr-review)./adr-reviewMulti-agent debate orchestration for Architecture Decision Records. Automatically triggers on ADR create/edit/delete. Coordinates architect, critic, independent-thinker, security, analyst, and high-level-advisor agents in structured debate rounds until consensus. Use when you say "review this ADR", when an ADR is created/edited/deleted, or when reviewing, accepting, or updating a decision file under .project-toolkit/architecture/, docs/architecture/, docs/decisions/, docs/adr/, or architecture/decisions/, including intent like "review this decision record" or "check this rationale for future maintainers". Do NOT use to author a new ADR (use adr-generator).Other plugins' skills for the same job