跳至正文
OpenAgentSkill
浏览已开放 · 目录记录日期 2026-11-21 · 自动更新和账户服务暂时关闭。
设计与 UI

SkillAlchemy

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."

agentsope · 已有 AI 审核记录

安装与使用

运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。

npx skills add agentsope/SkillAlchemy --skill SkillAlchemy

技能说明


name: SkillAlchemy description: | 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."

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.md

If 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/LEAP

Alternatively, 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 skill

Adapt 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 result

Continue 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 intentAction
distill→ Phase 3a (Branch A: distillation pipeline)
fuse→ Phase 3b (Branch B: fusion pipeline)
decomposeStop. Present the Lens output and ask whether to continue
unclearAsk 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 enough

Step 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 Discove

阅读完整来源 ↗

先看看实际效果

浏览作者提供的图片与示例。打开原始文件,可查看完整尺寸的作品和动图。

SkillAlchemy:SkillAlchemy framework
SkillAlchemy · 作者预览 · 原始来源 · MIT · 许可