Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Complete a .agent.partial file by resolving TODO markers.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-16 | ✗→✓ | ▲ Improved | 67% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 87% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 149% | 0% |
| case-20 | ✗→✓ | ▲ Improved | 89% | 0% |
| case-21 | ✗→✓ | ▲ Improved | 31% | 0% |
Required:
> You are a SkillSpec migration expert. You understand both the > SKILL.md format and the SkillSpec .agent syntax deeply. Your job > is to complete a mechanically-extracted .agent.partial file by > filling in the parts that require reasoning — type inference, > step dependency analysis, and context priority assignment.
Reasoning mode: extended
Sampling: temperature=0.2, top_p=0.9
Reinforcement: every 2 steps — "Preserve the original prose exactly. Your job is to add structure around it, not rewrite it."
infer string array type
Input: files: string // TODO: Infer type from usage
Output: files: string] // used with iteration patterns in context
Note: Look for plural names and iteration language to infer array types
infer step dependency
Input: step review references 'analysis results' in its context
Output: step review { requires analyze ... }
Note: Prose references to other steps' outputs imply dependencies
single file migration
Input: partial_file='code-review/code-review.agent.partial'
Output: One .agent file with resolved TODOs, typed fields, step dependencies, and context priorities
Note: No source_dir — work only from the partial content
directory migration with references
Input: partial_file='advanced-patterns/advanced-patterns.agent.partial' source_dir='advanced-patterns/'
Output: One .agent file with lazy context refs pointing at ./reference/.md and ./EXAMPLES.md
Note: Use source_dir to discover and read reference files. Classify each as lazy context ref, import, or additional construct.
batch migration — detect orchestration
Input: partial_file='playbook/playbook.agent.partial' source_dir='playbook/'
Output: A skill .agent file plus a pipeline or orchestration .agent file if the skill routes to or chains siblings
Note: Read sibling SKILL.md files via parent_dir pointer. If this skill orchestrates others, produce an orchestration construct. If it defines a sequential chain, produce a pipeline.
full tree migration — source_dir only
Input: source_dir='.assistant/skills/'
Output: One .agent file per skill subdirectory, plus pipeline and orchestration files for cross-skill relationships
Note: No partial_file needed. Explore the entire tree: find all SKILL.md files, grep for .md cross-references, read shared directories. Produce the complete set of .agent files in one pass.
./references/language-reference.md./references/type-naming-patterns.md./references/type-usage-patterns.md> CRITICAL: Complete a .agent.partial file by resolving TODO markers. The partial file was mechanically extracted by 'skillspec migrate' and contains the structure it could determine, with TODO comments where human reasoning is needed.
Given: partial_file="fixtures/simple_partial.agent" Expects:
Confidence: 0.8 (5 runs)
Given: partial_file="fixtures/prose_preservation.agent" Expects:
Given: partial_file="fixtures/dependency_inference.agent" Expects:
Given: partial_file="fixtures/directory_single_skill.agent.partial" Expects:
Given: partial_file="fixtures/directory_pipeline.agent.partial" Expects:
Given: partial_file="fixtures/directory_orchestration.agent.partial" Expects:
Loads reference: skillspec-spec
> CRITICAL: Two modes of operation:
Mode A — single partial: If partial_file is provided, read it and identify all TODO markers. Categorise them:
If source_dir is also provided, use Bash to list the directory contents. Read any file that looks relevant.
Mode B — full directory tree: If only source_dir is provided (no partial_file), explore the entire directory:
find <source_dir> -name 'SKILL.md' to discoverall skill directories
.md references to findcross-references between skills and to shared files: grep -rn '\.md' <source_dir>/*/SKILL.md
orchestration or pipeline constructs the structure needs
If the original SKILL.md is provided, read it too for additional context about the author's intent.
Loads reference: skillspec-spec
> CRITICAL: If source_dir is provided, explore the directory:
.md references to buildthe cross-reference graph: grep -rhn '\.md' <source_dir>/*/SKILL.md This catches references to sibling skills, shared reference files, and documentation.
that are referenced by skills — these are shared libraries (e.g. shared-reference/).
pipeline of chained skills, multi-agent orchestration, or independent skills sharing a directory.
decide which SkillSpec constructs to produce. You are not limited to a single skill. Use whatever combination best represents the folder's intent.
In Mode B (full tree), you are producing .agent files for ALL skills in the tree, not just one. Plan the full set of constructs before generating any files.
If source_dir is not provided, fall back to analyzing comment blocks in the partial. If neither is available, skip this step.
Loads reference: type-inference-patterns
> IMPORTANT: For each type-inference TODO:
count/total suggest int, flag/is_ suggest bool
iteration language suggests arrays, comparison language suggests enums
than a primitive
If confidence is below 0.5, leave the TODO with your best guess as a suggestion rather than committing to it.
> IMPORTANT: For each step-dependency TODO:
results, outputs, or findings from another step?
"once reviewed", "based on the findings"
step A defines or produces, B likely requires A
or produces the skill's output? That gets emit.
Map dependencies as: requires single, requires A & B (both needed), or requires A | B (either suffices).
> IMPORTANT: For each context-priority TODO:
The first context block (the skill's core purpose) should always be the highest priority. Step contexts should decrease as steps get more specific.
Produces final output.
Loads reference: skillspec-spec
> IMPORTANT: Generate the completed .agent file(s) by resolving all TODOs.
Rules:
If directory analysis was performed:
combination of constructs best represents the folder
In Mode B (full tree), generate one .agent file per skill directory, plus any pipeline or orchestration files that tie them together. Write each file into its skill directory. List all generated files in agent_files.
After writing each .agent file, validate it:
skillspec check <path> via Bashissue in the .agent file, and re-run the check
Then run skillspec build <path> on files that pass check to verify they compile to valid SKILL.md output.
Report all generated files in agent_files.
Other measured skills in the registry, with their headline benchmark lift.