This enhanced skill should be used when the user asks to create an agent, automate a repetitive workflow, create a custom skill, or needs advanced agent creation capabilities...
The user provides whatever already represents their work β a description, document, link, script, screenshot, transcript, or partial example. Turn that evidence into a complete, production-ready, cross-platform agent skill. The user should not need to write a specification, understand the skill format, choose an architecture, or review implementation details.
Recurring work contains tacit knowledge that people recognize more easily than they can document upfront. Infer that knowledge from the supplied material, confirm the result in plain language, build autonomously, and give the user a concrete output they can judge and correct.
Use this guided-light path by default. Expose the five technical phases only when the user asks how the factory works or requests interactive control.
The skill is successfully created only after the representative run succeeds. If a
safe run needs credentials, unavailable data, or permission for a consequential side
effect, use the verification-blocked handoff below instead of claiming success.
User invokes /agent-skill-creator followed by their input:
/agent-skill-creator Every week I pull sales data, clean it, and generate a report
/agent-skill-creator https://wiki.internal/deploy-runbook
/agent-skill-creator See src/invoice_processor.py β turn it into a reusable skill
/agent-skill-creator Here's our API docs: https://api.internal/docs β make a skill for querying inventory
/agent-skill-creator Based on compliance-checklist.pdf, create a skill for SOX audits
/agent-skill-creator --mcp-audit https://github.com/vendor/mcp-server β we pay for this data, what skills can we build on it?
/agent-skill-creator --audit ./downloaded-skill/ β someone sent me this, is it safe to install?
The user can also drop artifacts, paste URLs, share screenshots, or provide minimal context:
/agent-skill-creator here
[+ drops 5 files into chat: spreadsheet, PDF output, screenshot, email, half-working script]
/agent-skill-creator [pastes 2 URLs and a half-sentence]
https://apps.fas.usda.gov/psdonline/app/index.html
same thing as the wasde extractor but for this
/agent-skill-creator [screenshot of Bloomberg terminal + Excel side by side]
this is ridiculous. there has to be a better way
/agent-skill-creator freight
/agent-skill-creator [pastes a forwarded email chain with 6 replies and legal disclaimers]
my colleague in London built something for this. can we do the same?
/agent-skill-creator [pastes 3 corporate documents: brand voice guidelines, editorial style guide, visual design system]
we need everyone writing and designing to follow these
The user can also activate naturally without the prefix:
Create a skill for analyzing CSV files
Every day I process invoices manually, automate this
Automate this workflow
Validate this skill
Export this skill for Cursor
Is this skill safe to install?
Audit this skill before I run it
What does this skill have access to?
Raw material goes in. A validated, security-scanned, self-contained skill comes out.
Before any phase begins, triage whatever the user provided. Human input is evidence to derive intent from β not a specification to parse. Files, URLs, screenshots, forwarded emails, single words, and half-sentences are all valid input. The absence of a well-formed description is not the absence of intent.
Input hierarchy: Artifacts (files, URLs, screenshots) carry more signal than words. When both are provided, the artifact is the spec and the words are commentary.
Input triage β classify what the user provided before proceeding:
Discovery before building: Before constructing anything, check: Is this data already in a database the user has access to? Has a colleague built a skill for this? Is there an API that makes a scraping approach unnecessary? The best skill is sometimes "you don't need a skill β the data already exists."
Hypothesis, not questionnaire: Never present 5 questions upfront. Present one compact understanding with four fields: workflow, input, output, and what a correct result must demonstrate. The user confirms or corrects it with one response.
Progressive refinement: Build at 60% understanding. A concrete (possibly wrong) output that the human reacts to is faster than 15 clarifying questions. The human cannot articulate what they want from nothing, but they can instantly say "no, not that β this" when shown something tangible.
Fail forward: If a file cannot be parsed, a URL is down, or context is ambiguous β build from what you have and flag the gap. Never block on a missing piece.
The factory operates in two stages:
Read every piece of material the user provides. Follow links. Read files. Parse PDFs. Study existing code. But do not take any of it at face value.
Humans describe what they do, not what they need. "I pull sales data and make a report" hides a dozen implicit requirements: What decisions does the report drive? Who reads it? What format? What happens when data is missing? What constitutes a good report vs. a bad one? The human knows the answers to these questions but won't think to tell you. Your job is to uncover them from the material itself.
Clarity principles (self-guided, no external dependency):
Then produce your internal specification β a complete implementation contract structured as a linear walkthrough:
This specification is for you, not the user. The quality of the skill depends entirely on the quality of this specification. Be thorough. Be precise. Be opinionated β you understand the material better than the human can articulate it.
Implement the skill end-to-end from your specification. Structure the directory. Write every file. Generate functional code β no placeholders, no TODOs, no stubs. Then run automated validation and security scanning. If either fails, fix the issues and re-run. Do not deliver a skill that fails its own quality gates.
Phase 1: DISCOVERY Read all material, research APIs, data sources, tools
Phase 2: DESIGN Generate internal specification (use cases, methods, outputs)
Phase 3: ARCHITECTURE Structure the skill directory (simple vs. complex suite)
Phase 4: DETECTION Craft activation description + keywords for reliable triggering
Phase 5: IMPLEMENTATION Create all files, validate, security scan, deliver
The user's raw material supplies the domain evidence. The factory supplies the implementation. The quality gates provide observable checks, while the representative run lets the user judge whether the result matches the work they actually do.
Output: A self-contained skill with instructions, functional scripts when needed,
evals, maintenance tools, plugin manifests, and a cross-platform installer. Once
installed, users invoke it as /skill-name. See references/architecture-guide.md
for the package layouts.
Most input names a workflow β skip straight to Phase 1. But when the user arrives without a skill in mind β one word ("freight"), a shrug ("there has to be a better way"), an explicit "give me a skill idea / what should I automate", or a dumped transcript with no goal β you cannot spec what does not yet exist. Do not guess a skill and build it. First help them find one: harvest their real recurring work (never invent chores), filter to what a skill factory can actually ship (repeatable + markdown/scripts + data-centric + binary-checkable β drop apps/games/firmware), and shape the chosen chore into the workflow Phase 1 needs. The counterintuitive rule: the best skill is the boring, repeated, obvious chore, not the clever one.
See references/spec-ideation.md for the harvest β filter β shape procedure and
its held-out bellwether.
--mcp-audit β feasibility map instead of a build)When the user points at a vendor's MCP server and asks what can be built on
it ("we pay for data from vendor X, exposed via their MCP β what skills can we
create on top?"), the deliverable is a feasibility map, not code. Enumerate the
server's real tool inventory (live tools/list, or file/line citations from the
repo β never prose docs alone), map the data surface, and split candidate skills
into ranked buildable (every step mapped to a named tool, orchestration
classified agent vs script) and not buildable (exact missing primitive
named, closest existing tool cited). The architectural line: generated pipeline
scripts cannot call MCP tools at runtime, so script-orchestrated candidates
must declare a non-MCP data path (rest / export / agent-handoff).
Outputs: MCP_AUDIT.md (human) + mcp_audit.json (machine), gated by
python3 scripts/mcp_audit_validate.py mcp_audit.json β fix findings until
exit 0. A chosen buildable candidate then enters Phase 1 as a normal build.
See references/mcp-audit.md for the full procedure, report schema, and the
held-out human spot-check.
--audit β vet a skill you did not write)When the user points at a skill they did not create β a download, a colleague's folder, a registry entry β the deliverable is a verdict on whether it is safe to install, not a build.
A skill is not a document. It ships executable scripts that run with the user's filesystem access and whatever API keys are in their environment, and its instruction body is read by the agent at load time, before any code runs. Installing one is taking a dependency on a stranger's software.
Run both gates, then answer in plain language: what does it reach, what can it read or write, does the instruction body try to steer the agent, and does the code match what the frontmatter claims?
python3 scripts/validate.py <path>
python3 scripts/security_scan.py <path>
Any high-severity finding β report as unsafe, name the finding and its file:line, and stop. Never install it and never offer a workaround. A clean scan is not proof of safety β it means no known pattern matched; say so, and say which files you actually read.
Read references/skill-audit.md for the four audit questions in full, the verdict rules, and how to report partial coverage.
Research available APIs and data sources for the user's domain. Compare options by cost, rate limits, data quality, and documentation. Decide which API to use with justification.
See references/pipeline-phases.md for detailed Phase 1 instructions.
Define 4-6 priority analyses covering 80% of use cases. For each: name, objective, inputs, outputs, methodology. Always include a comprehensive report function.
See references/pipeline-phases.md for detailed Phase 2 instructions.
Phase 2 includes an Artifact Opportunity Assessment step. After the
domain is identified, the creator runs scripts/artifact_detector.py on
the description. If the output is visualizable (time series, comparison,
KPIs, or structured rows), one of four bundled React templates is inlined
into the generated SKILL.md along with Claude's artifact emission
protocol. The artifact renders in Claude environments; in other hosts the
component source appears as fenced code and the markdown analysis is
unchanged. See references/phase2-artifact-assessment.md for details.
Override flags β parse the user's prompt for these tokens BEFORE calling the detector:
--no-artifact anywhere in the user's prompt: skip the assessment entirely and generate the skill without any artifact template, exactly as v4 did. Strip the token from the prompt before passing it to Phase 1.--artifact <name> (where <name> is line-chart, bar-chart, kpi-cards, or data-table): skip the detector and inline the named template directly. If <name> is not one of the four valid names, reject with an error listing the four valid values and stop. Strip the flag and value from the prompt before passing it to Phase 1.--no-eval anywhere in the user's prompt: skip the Eval Criteria Definition step (below); the generated skill carries no evals/ directory and no run_evals.py. Strip the token from the prompt before passing it to Phase 1.When neither flag is present, call the detector and let it decide.
Phase 2 also includes an Eval Criteria Definition step. After the use
cases are defined, derive the skill's loss function: 3β6 binary checks (each
graded by a shell command or flagged llm-judge) plus at least 3 golden
cases β seeded from the user's artifacts when available, otherwise synthesized
as input-only pending-first-green cases. Present them for a one-word
thumbs-up. The spec is written in Phase 5 to evals/<name>.eval.md and ships
with the skill as an instant regression test, formatted so
autoresearch-universal consumes it directly (its rule 18). Eval generation is
on by default; --no-eval opts out. See
references/phase2-eval-assessment.md for criteria rules, the golden-case
strategy, the JSON spec format, and the optimize handoff.
Structure the skill using the Agent Skills Open Standard:
Decision criteria: Number of workflows, code complexity, maintenance needs.
See references/architecture-guide.md for decision logic and directory structures.
Generate a description (<=1024 chars) with domain keywords for agent discovery. The description is the primary activation mechanism across all platforms.
See references/pipeline-phases.md for detailed Phase 4 instructions.
Create all files in this order:
# /skill-name, includes trigger section with invocation examples, spec-compliant frontmatterscripts/run_pipeline.py orchestrator that runs the steps in order and wires outputβinput in code β so the agent runs one command instead of sequencing steps from prose. Skip for genuinely interactive/branching skills. If any pipeline step invokes an LLM, follow the LLM-step contract in references/phase5-orchestration.md: model id resolved from --model argv / $EVAL_MODEL env with a pinned default, and runtime-reported usage written to the {output}.usage.json sidecar β so run_evals.py --rollout --model A --model B can price the task per model. See references/phase5-orchestration.md--no-eval): write evals/<name>.eval.md (the binary checks + golden cases derived in Phase 2, one marked "split": "test" as the holdout, plus a judge block with a pinned model and known-bad canary when any criterion is llm-judge) and copy scripts/run_evals_template.py β the generated skill's scripts/run_evals.py. See references/phase2-eval-assessment.mdinstall.sh from scripts/install-template.sh (replace {{SKILL_NAME}} with actual name, chmod +x)
8.5. Generate .claude-plugin/plugin.json + marketplace.json from scripts/claude-plugin-template/ (placeholders from frontmatter β makes the skill installable via /plugin marketplace add), and ship the evolution toolkit: copy scripts/evolve_template.py β scripts/evolve.py plus the staleness/drift/dep-health modules. See references/pipeline-phases.md Steps 6.5β6.6README.md (multi-platform install instructions showing the /plugin marketplace add path for Claude Code and git clone to each tool's native path)python3 <skill>/scripts/check_pipeline.py <skill> (no compile or undeclared-dependency errors), and β if an eval spec was emitted β python3 <skill>/scripts/run_evals.py --validate (must report VALID)verification-blocked and one exact setup action.After the skill passes validation and security scan, install it immediately on the user's current platform. Do not ask the user to run install.sh manually β you are already running inside their environment and can detect their platform.
This path is for skills the factory just built. A skill that came from anywhere else β a download, a colleague, a registry, a repo β must clear --audit first (see above). Auto-install never runs on an unscanned imported skill: the scan is what makes the install safe, and a skill this factory did not produce has not been scanned yet.
Detect the platform by which config directory exists (~/.claude/, ~/.copilot/, .cursor/, ~/.gemini/, and ten more), install to that tool's native path, then symlink into ~/.agents/skills/ so tools reading the universal path find it too. Some platforms need the SKILL.md adapted to their own format.
Read references/distribution-guide.md for the full detection table, the per-platform paths, the confirmation message to show the user, and the install.sh fallback when detection fails.
After the representative run succeeds and the user can see the result, ask whether they want to share the skill with their team. Sharing is a separate next step, not part of first-skill completion.
Corporate users don't know what a registry is, how to git push, or what skill_registry.py does. They just want their colleague to have the same skill. If they say yes, you do all of it: git init, create the remote with whichever CLI is authenticated (gh or glab), tag it agent-skill for org-wide discoverability, and hand back a one-line git clone command they can paste into Slack.
If they say no, that is fine β the skill is installed and working, and they can share later.
Read references/distribution-guide.md for the git/gh/glab procedure, the platform-detection fallback, the shareable one-liner template, team-registry setup, and the update-check flow.
Use exactly one of these states:
For verified, lead with what now works. Then show the result location or short
preview, the exact /skill-name invocation, a compact list of gates passed, and:
python3 <skill>/scripts/evolve.py --correct "what the result got wrong"
Do not lead with file counts, architecture, or internal phase names. Put those under
Advanced details only when useful. After the handoff, ask the user to judge the
result before offering team sharing.
Generated names must end with -skill, match the directory, and use lowercase
kebab-case. Frontmatter carries name, an activation-focused description, license,
author, version, creation/review dates, and any external dependency or schema
expectations. The body starts with # /skill-name, includes trigger examples and a
## Gotchas section, and stays under 500 lines. Read references/pipeline-phases.md
Phase 5 for the maintained template.
Every generated skill carries a ## Gotchas section. It holds the environment-specific facts that defy reasonable assumptions: the field that is a string with commas, the endpoint that returns 200 on failure, the step that must run twice. Sources are the Phase 1 quirks list and every correction made while verifying the skill in Phase 5. None known is a valid value; inventing gotchas to fill the section is not β a fabricated gotcha teaches the agent a false constraint it will then work around. validate.py warns when the section is missing. Full guidance in references/pipeline-phases.md (Phase 5, Step 2).
Critical: Every skill the factory produces must be invocable with /skill-name on any platform. The generated skill is software that gets installed and used β not a document to read.
Use a simple skill for one or two related workflows. Use a suite for three or more
genuinely distinct workflows or separate team ownership. Read
references/architecture-guide.md for the full decision framework and layouts.
Generated skills work across 17 tools in 3 tiers. Every generated skill outputs both SKILL.md (skill definition, ~15 tools) and AGENTS.md (instruction file, ~15 tools) to maximize reach.
.mdc, Windsurf and Trae .md rules, Junie guidelines.md). install.sh rewrites SKILL.md into the native format.scripts/platforms.py is the canonical registry of all 17 platforms and their paths; the installers are checked against it in CI.
Read references/cross-platform-guide.md for the per-platform path tables, install commands, and adaptation rules.
Every generated skill also outputs an AGENTS.md alongside SKILL.md, extending reach to tools that prioritize it over SKILL.md (Codex CLI, Augment, Continue.dev, Zed). It carries the skill's purpose, activation triggers, usage, and its ## Gotchas entries in full β those tools never open SKILL.md.
After generating a skill, run:
# Validate a skill
python3 scripts/validate.py path/to/skill/
# Security scan
python3 scripts/security_scan.py path/to/skill/
Each of these is a mode of the same factory, documented in full in its own reference.
| Mode | Trigger | Read |
|---|---|---|
| Export | "export this skill for Cursor" | references/export-guide.md |
| Templates | a domain with a prebuilt blueprint (financial, climate, e-commerce) | references/templates-guide.md |
| Multi-agent suite | "create a financial analysis suite with 4 agents" | references/multi-agent-guide.md |
| Interactive wizard | "walk me through creating..." | references/interactive-mode.md |
python3 scripts/export_utils.py path/to/skill/ # all platforms
python3 scripts/export_utils.py path/to/skill/ --variant desktop # or: api
Every generated skill ships its own learning loop β the eval harness plus a self-maintenance command:
run_evals.py --rollout runs the skill on its golden inputs and scores real output--promote captures first-green baselines; later runs are compared against them (regression gate)--judge grades llm-judge criteria with a judge pinned in the spec (model + temperature); a known-bad canary must fail every criterion or the judge run is invalid"split": "test" holdout case is scored only at release, never fed to an optimization loopevolve.py runs staleness/dependency/drift checks + the rollout in one command; every failure appends its raw evidence to the skill's EVOLUTION.md, which feeds a regenerate passevolve.py --correct "<what it got wrong>" captures the one thing no check can derive: a correction from someone using the skill. It writes the sentence verbatim to EVOLUTION.md and adds it to ## GotchasTell the user about --correct when you hand over a skill. The deepest expertise in any workflow is never stated up front β people cannot describe a process they run from muscle memory, which is why this factory reads artifacts instead of interviewing. But the same person recognizes a wrong output instantly. --correct is the capture point for that moment, and it is how a skill's ## Gotchas accumulates real knowledge over its life instead of being frozen at whatever could be extracted on day one.
Read references/agentdb-integration.md as a design sketch only β it describes a future episodic learning layer that is NOT implemented; never present it as current behavior.
Always:
pass)## Gotchas section carrying the environment-specific facts that defy reasonable assumptionsscripts/ mention leads with a run command, every references/ mention with a read cueNever:
api_key: YOUR_KEY_HERE without env var instructionsSee references/quality-standards.md for complete standards.
Every generated skill name must end with -skill. This suffix makes skills instantly discoverable across GitHub and GitLab organizations β teams can search *-skill and find every skill in their org.
Format: {domain}-{objective}-skill
Rules:
-skillExamples: sales-report-skill, csv-cleaner-skill, deploy-checklist-skill, stock-analyzer-skill
Suites: {domain}-suite (suites are not suffixed with -skill β they contain skills)
The -skill suffix also serves as a signal to the agent: when it sees a repo or directory ending in -skill, it knows this is installable, invocable software β not documentation or a regular project.
-skill; this factory retains the historical
agent-skill-creator name for invocation and installation compatibility.Read these on demand β each one when its moment arrives, not upfront.
| File | When to read it |
|---|---|
references/spec-ideation.md |
Phase 0 front door: turn vague input / "give me a skill idea" into a grounded, skill-shaped spec |
references/mcp-audit.md |
--mcp-audit front door: vendor MCP server β capability map, ranked buildable skills, not-buildable list with named gaps |
references/skill-audit.md |
--audit front door: the four audit questions, verdict rules, and how to report partial coverage on a skill you did not write |
references/distribution-guide.md |
After the gates pass: platform detection table and native paths, share-with-team procedure (gh/glab), team registry setup, update check |
references/pipeline-phases.md |
Detailed Phase 1-5 instructions |
references/architecture-guide.md |
Simple vs Suite decision, refactoring, cross-component communication, versioning |
references/templates-guide.md |
Template-based creation |
references/interactive-mode.md |
Interactive wizard docs |
references/multi-agent-guide.md |
Suite creation, orchestration patterns, routing logic |
references/agentdb-integration.md |
Future learning-layer design sketch (not implemented) |
references/cross-platform-guide.md |
Platform compatibility matrix |
references/export-guide.md |
Cross-platform export system |
references/quality-standards.md |
Quality standards, dependency management, testing strategy |
references/phase4-detection.md |
Detection & keyword-design craft reference |
references/phase2-eval-assessment.md |
Phase 2 eval-criteria step, golden-case strategy, spec format, autoresearch handoff |
references/phase5-orchestration.md |
Phase 5 pipeline orchestration: single run_pipeline.py entry-point, deterministic sequencing, check_pipeline.py |