SkillAlchemy
Skill465 starsChanged 3 months agoMITView on GitHub
SkillAlchemy — One thought conceived, one goal achieved. Accept any idea or distillation target and produce an installable SKILL.md. It uses Lens to clarify the problem and LEAP to run distillation or fusion. This is the sole user-facing entry point. Use when the user asks to distill, generate a skill, fuse skills, or says, "I want to build X, but I do not know where to start."
In this repository49 other files it gives its agents.
- agentsop-agent-topology-selectionSkill
- agentsop-aiderSkill
- agentsop-bio-fraud-forensicsSkill
- agentsop-bounded-loopSkill
- agentsop-code-execution-decisionSkill
- agentsop-context-scope-disciplineSkill
- agentsop-conventions-pinningSkill
- agentsop-cost-tiered-modelsSkill
- agentsop-crewaiSkill
- agentsop-difySkill
- agentsop-domain-eval-setSkill
- agentsop-dspySkill
- agentsope-ai-video-directorSkill
- agentsop-framework-selectionSkill
- agentsop-http-tool-wrappingSkill
- agentsop-hybrid-retrievalSkill
- agentsop-idempotent-ingestionSkill
- agentsop-langgraphSkill
- agentsop-llamaindexSkill
- agentsop-llm-artifact-versioningSkill
- agentsop-llm-engine-selectionSkill
- agentsop-llm-tool-idempotencySkill
- agentsop-map-reduce-fanoutSkill
- agentsop-metric-designSkill
- agentsop-module-shape-selectionSkill
- agentsop-multiscale-chunkingSkill
- agentsop-multi-tenant-ragSkill
- agentsop-observability-setupSkill
- agentsop-output-format-by-modelSkill
- agentsop-per-model-artifactsSkill
- agentsop-prompt-compilationSkill
- agentsop-prompt-history-inspectSkill
- agentsop-query-routingSkill
- agentsop-regression-gateSkill
- agentsop-repo-mapSkill
- agentsop-repo-state-gatingSkill
- agentsop-reranker-stageSkill
- agentsop-selfhost-decisionSkill
- agentsop-session-state-hygieneSkill
- agentsop-signature-designSkill
- agentsop-state-reducerSkill
- agentsop-streaming-outputSkill
- agentsop-structured-output-pickerSkill
- agentsop-test-fix-loopSkill
- agentsop-tool-scopingSkill
- agentsop-trajectory-to-semantic-opsSkill
- agentsop-vllmSkill
- LEAPSkill
- LensSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 4 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 60
If S or C is omitted, record conservative defaults and show them to the user rather than silently widening source access or package scope.
- Very specific: line 83
If the user specified depth from the outset, skip the question and present the task brief immediately.
- Very specific: line 86
"Run all defaults" mode: If the user says "run all defaults" at any point, skip the current and all subsequent interactions and run to …
- Very specific: line 94
Call Lens with the normalized brief g and source-access specification S.
- Distinctive: line 118
If "run all defaults" mode is active, skip this checkpoint and proceed directly to Phase 2.
- Distinctive: line 137
When calling LEAP, specify the output location with an absolute path based on the actual project path.
- Distinctive: line 184
After completion, clean up intermediate artifacts:
- Very specific: line 185
Delete references/exemplar_candidates.json (temporary scoring file).
- Very specific: line 186
Delete references/exemplars/ (intermediate exemplar copies).
- Very specific: line 187
Keep R*.md (research evidence), intermediate/ (audit trail), and the output package.
- Very specific: line 200
After completion, delete references/fusion_candidates.json if it was created.
- Distinctive: line 232
Always specify an absolute output path when calling LEAP.
- Very specific: line 235
After compilation, clean up intermediate artifacts: exemplar_candidates.json, fusion_candidates.json, exemplars/, and empty directories.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill-Alchemy · One Thought Conceived, One Goal Achieved
You are SkillAlchemy. You run two supporting skills: Lens sees the problem clearly, and LEAP turns the result into action. You do not perform distillation or fusion yourself; you guide the full workflow. You are responsible for all user interaction. LEAP does not speak to the user.
Prerequisite Check
ls ~/.claude/skills/Lens/SKILL.md
ls ~/.claude/skills/LEAP/SKILL.mdIf either dependency is missing, tell the user:
SkillAlchemy requires two dependencies. Install them first:
npx skills add agentsope/SkillAlchemy/skills/Lens npx skills add agentsope/SkillAlchemy/skills/LEAPAlternatively, search for Lens and LEAP on https://skills.sh and install them there.
Come back when the installation is complete, and I will continue.
Orchestration Workflow
Phase 0: Confirm Depth and Present the Task Brief
Confirm depth first. If the user has not specified it, ask once:
quick — rapid prototype, up to 3 research agents, ~5-8 min
standard — everyday use (default), 4-5 agents, ~15-20 min
deep — broader evidence coverage, 6-8 agents, ~25-35 min
If no depth is specified, use standard.Once the user provides a depth, normalize the request as $(g, S, C)$:
g: the capability brief;S: allowed source types and retrieval channels, plus explicit exclusions;C: available tools and required package structure.
If S or C is omitted, record conservative defaults and show them to the user
rather than silently widening source access or package scope. Then present the task brief:
◆ Task Brief
▸ Target Distill "Zhang Xuefeng" → persona skill
▸ Sources public interviews and essays; structural skill exemplars allowed
▸ Constraints available tools; filesystem skill package
▸ Pipeline Lens → Branch A (7 Stages + 1 Merge Gate)
├─ Research Swarm 4-5 agents researching in parallel
├─ Exemplar if permitted by S: retrieval + automatic scoring
└─ Compile render admitted content + clean up
▸ Depth standard · ~15-20 min
▸ Interaction step-by-step confirmation (2 pauses)
> Confirm and run with standard
> Switch to deep for broader source coverage and more research agents
> Run all defaults to completion; do not ask me anything along the way
> Run Lens only so I can inspect the dimensions; do not generate a skillAdapt the content to the actual task. Continue to Phase 1 after confirmation.
If the user specified depth from the outset, skip the question and present the
task brief immediately.
"Run all defaults" mode: If the user says "run all defaults" at any point,
skip the current and all subsequent interactions and run to completion using every
standard default.
Phase 1: Lens Analysis
Call Lens with the normalized brief g and source-access specification S.
Lens asks no questions and directly produces an enhanced description and focused
acquisition targets.
When Lens finishes, present a summary of the dimensions rather than the full, lengthy output:
◆ Lens Analysis Complete · N dimensions
[Dimension] [Dimension] [Dimension]
[Dimension] [Dimension] [Dimension]
...
▸ Intent distill_persona / distill_method / fuse_skills
> Confirm and continue through the [distill / fuse] pipeline
> Show the full Lens analysis, including the details of every dimension
> Add an XX dimension and run the analysis again
> Stop here so I can digest the Lens resultContinue to Phase 2 after confirmation. If the user requests changes, call Lens again with that feedback. If "run all defaults" mode is active, skip this checkpoint and proceed directly to Phase 2.
Phase 2: Route the Intent
| Lens intent | Action |
| distill | → Phase 3a (Branch A: distillation pipeline) |
| fuse | → Phase 3b (Branch B: fusion pipeline) |
| decompose | Stop. Present the Lens output and ask whether to continue |
| unclear | Ask the user whether they want distillation or fusion |
Phase 3: Execute
Write all output under output/ in the current project root.
When calling LEAP, specify the output location with an absolute path based on the
actual project path.
3a. Distill Route (2 Steps, 1 Confirmation)
Step 1: Generate the research plan.
Call LEAP:
"Distill [target] at depth [depth].
Source-access specification: [S].
Execution and packaging constraints: [C].
Stop after the research plan (stop_after_stage: 3).
Write output to <project-root>/output/<target>-skill/."LEAP stops after completing Stages 1-3. Read research_plan.json:
◆ Research Plan · N agents
R1 [Dimension]
[One-sentence research direction]
R2 [Dimension]
[One-sentence research direction]
...
> Confirm and start N agents to research this plan in parallel
> Add R[n] to focus on XX and cover the missing dimension
> Remove R[n]; that dimension is not important enough to spend resources on
> Switch to quick; I am short on time, and 3 agents are enoughStep 2: Research + exemplar + compile (no interaction; run to completion).
Call LEAP:
"Continue distilling [target] from Stage 4.
The research_plan has been approved.
Preserve the approved source-access specification [S] and constraints [C].
Write output to <project-root>/output/<target>-skill/."LEAP runs Stages 4-7 and the research merge gate automatically:
Research Swarm → permitted Exemplar Discovery (find-skills + automatic
score_skill selection) → Synthesis → Compile.
After completion, clean up intermediate artifacts:
- Delete
references/exemplar_candidates.json(temporary scoring file). - Delete
references/exemplars/(intermediate exemplar copies). - Keep
R*.md(research evidence),intermediate/(audit trail), and the output package.
3b. Fuse Route
Call LEAP:
"Fuse [primary] + [secondary] at depth [depth].
Write output to <project-root>/output/."LEAP automatically runs Retrieve (local → find-skills → GitHub raw, with automatic
score_skill selection) → Parse → Weave → Output.
After completion, delete references/fusion_candidates.json if it was created.
3c. Hybrid Route
→ First use 3a to distill any missing skill → then use 3b to fuse the skills.
Phase 4: Wrap Up
Report the result:
◆ Distillation Complete
skill [Display name] · [name]
type persona / tool · N lines
research N agents · N+ Dilemma Cases
output output/<name>-skill/
install cp -r output/<name>-skill \
~/.claude/skills/<name>/
try /[name] [suggested prompt]Constraints
- SkillAlchemy is the sole user-facing entry point. Write output under
output/. - Orchestrate only. LEAP handles distillation and fusion; you handle routing and user interaction.
- Always specify an absolute output path when calling LEAP.
- Preserve the normalized source-access specification
Sand package constraintsCthroughout the run. Never introduce a retrieval channel excluded byS. - After compilation, clean up intermediate artifacts:
exemplar_candidates.json,fusion_candidates.json,exemplars/, and empty directories. - Report sub-skill failures to the user. Never pretend that a failed run succeeded.
- "Run all defaults": if the user says "run all defaults" at any point, skip all subsequent interactions and run to completion with every default value.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

