wrap_gene
Converts a function or SKILL.md into a Rotifer Gene, generating phenotype.json from the source; target must exist in the project.
Instructions
Wrap a function or SKILL.md as a Rotifer Gene. Generates phenotype.json from the source. The target must exist in the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Gene functional domain (e.g. search.web, code.format) | |
| fidelity | No | Fidelity level (default: Wrapped) | |
| gene_name | Yes | Name of the function or skill to wrap | |
| from_skill | No | Create gene from a SKILL.md file (path to SKILL.md or its directory) | |
| from_clawhub | No | Create gene from a ClawHub skill (slug, downloads and converts automatically) | |
| project_root | No | Project root path |