Skill Import Guide
Rotifer can scan your existing AI skills — such as those used by Cursor, Codex, or other AI IDEs — and convert them into genes. This lets you version, compete, and share skills through the Rotifer ecosystem.
Overview
Section titled “Overview”The workflow is four steps:
scan → wrap → compile → publish| Step | Command | What it does |
|---|---|---|
| Scan | rotifer scan --skills | Discover SKILL.md files in a directory |
| Wrap | rotifer wrap <name> --from-skill <path> | Create a gene from a skill file |
| Compile | rotifer compile <name> | Validate the gene’s phenotype |
| Publish | rotifer publish <name> | Upload to the Cloud Registry |
Step 1: Scan for skills
Section titled “Step 1: Scan for skills”Use --skills to discover local SKILL.md files:
# Scan current directoryrotifer scan --skills
# Scan a specific directoryrotifer scan --skills --skills-path .cursor/skills
# Scan Codex skillsrotifer scan --skills --skills-path ~/.codex/skillsThe scanner recursively searches for files named SKILL.md with valid YAML frontmatter containing at least a name field:
---name: my-awesome-skilldescription: Does something useful for developers---Output example:
╭─ Skill Scanner (SKILL.md → Gene candidates) ─╮
Scanning for SKILL.md: .cursor/skills ✓ Found 3 skill(s):
debugger .cursor/skills/debugger/SKILL.md Systematic debugging guide for AI and Web3 app…
api-designer .cursor/skills/api-designer/SKILL.md Design RESTful and tRPC APIs with consistent p…
testing-strategist .cursor/skills/testing-strategist/SKILL.md Design testing strategies for AI and Web3 appl…
Wrap and upload: rotifer wrap <name> --from-skill <path> --domain <domain> then: rotifer compile <name> && rotifer publish <name>Step 2: Wrap as a gene
Section titled “Step 2: Wrap as a gene”Pick a skill from the scan output and wrap it:
rotifer wrap debugger-skill --from-skill .cursor/skills/debugger/SKILL.md --domain debuggingThis creates a gene directory with:
| File | Purpose |
|---|---|
genes/debugger-skill/phenotype.json | Gene metadata (domain, schema, version) |
genes/debugger-skill/SKILL.md | Original skill content (copied) |
genes/debugger-skill/.gene-manifest.json | Gene ID and provenance |
Options
Section titled “Options”--domain <domain>— Functional domain (e.g.,debugging,testing,api-design). Defaults togeneral.--fidelity <level>— Fidelity level. Defaults toWrapped.
You can also point --from-skill to a directory containing SKILL.md:
rotifer wrap my-gene --from-skill .cursor/skills/debugger/Step 3: Compile (validate)
Section titled “Step 3: Compile (validate)”rotifer compile debugger-skillFor Wrapped genes (no WASM binary), compile validates the phenotype structure — ensuring domain, inputSchema, outputSchema, version, and fidelity are present and well-formed.
Step 4: Publish to Cloud
Section titled “Step 4: Publish to Cloud”rotifer publish debugger-skillThis uploads the gene’s phenotype and metadata to the Rotifer Cloud Registry. Since skill-based genes are Wrapped (metadata-only, no WASM), they are published as metadata packages.
Other developers can then:
rotifer search debuggerrotifer install <gene-id>Metadata-Only Genes
Section titled “Metadata-Only Genes”Skill-wrapped genes differ from Native genes:
| Wrapped (from Skill) | Native (with WASM) | |
|---|---|---|
| Contains | phenotype.json + SKILL.md | phenotype.json + .wasm binary |
| Arena fitness | Lower base score (0.45) | Higher base score (0.70) |
| Executable | No — acts as a reference | Yes — runs in WASM sandbox |
| Publishable | Yes | Yes |
| Upgradable | Yes — add WASM later via rotifer compile --wasm | Already native |
A Wrapped gene can be upgraded to Native by adding a WASM implementation:
rotifer compile debugger-skill --wasm debugger.wasmDefault Skill Paths
Section titled “Default Skill Paths”Common locations where AI IDE skills are stored:
| IDE / Tool | Default Path |
|---|---|
| Cursor | .cursor/skills/ |
| Codex | ~/.codex/skills/ |
| Custom | Any directory with SKILL.md files |
Complete Example
Section titled “Complete Example”# 1. Initialize a Rotifer projectrotifer init my-project && cd my-project
# 2. Scan your Cursor skillsrotifer scan --skills --skills-path ~/.cursor/skills
# 3. Wrap a skill as a generotifer wrap code-reviewer --from-skill ~/.cursor/skills/tech-lead/SKILL.md --domain code-quality
# 4. Validaterotifer compile code-reviewer
# 5. Login and publishrotifer loginrotifer publish code-reviewer
# 6. Other developers can now find and install itrotifer search code-quality