AGENT SKILL

rotifer-gene

The Gene manual for Rotifer Protocol — write a Gene's express function and phenotype schema, run the four-layer security audit before publishing, and migrate a Gene's fidelity from Wrapped to Hybrid or Native. Invoke explicitly when building, auditing, or upgrading a Rotifer Gene. Do NOT use for general code review, dependency auditing, or framework migration — every procedure here operates on Rotifer Genes, their phenotype schemas, and the Rotifer CLI, and nothing else.

License 许可
Apache-2.0
最近更新
2026-11-12
Stars
★ 6
Forks
1

01 前言 Front Matter

name
rotifer-gene
license
Apache-2.0
version
1.0.7
metadata
{ "author": "rotifer-protocol", "version": "1.0.7" }
description
The Gene manual for Rotifer Protocol — write a Gene's express function and phenotype schema, run the four-layer security audit before publishing, and migrate a Gene's fidelity from Wrapped to Hybrid or Native. Invoke explicitly when building, auditing, or upgrading a Rotifer Gene. Do NOT use for general code review, dependency auditing, or framework migration — every procedure here operates on Rotifer Genes, their phenotype schemas, and the Rotifer CLI, and nothing else.
compatibility
Requires the Rotifer CLI at a pinned version (npx --yes @rotifer/playground@0.36.1) for the commands shown. Publishing and Arena submission also need network access and an account.

02 资源文件 5

03 SKILL.md 正文

Working on a Gene

Three manuals, one per thing you might be doing. Read the one you need — they are long because they are references, not tutorials.

What you are doing Read
Writing a Gene: init, express, phenotype, test, compile, publish, Arena modules/dev.md
Checking one before it ships: credential and artifact scanning, four layers modules/audit.md
Upgrading fidelity: Wrapped → Hybrid → Native, and proving it still works modules/migration.md

Which one

Match what the reader is asking for:

They say Go to
create, write, initialize, compile, publish, Arena, fitness modules/dev.md
audit, scan, security, credential, is this safe to publish modules/audit.md
upgrade, Wrapped to Native, rewrite, fidelity, refactor modules/migration.md

If it is ambiguous, say so and offer the choice rather than guessing — these are long documents and loading the wrong one costs the reader more than a question does.

What holds across all three

  • Fidelity is declared honestly. Native means the logic is in WASM with no external calls; Hybrid means WASM plus calls to an allowlist; Wrapped means a shell around someone else's API. A Wrapped Gene labelled Native is a broken promise, not an optimization.
  • F(g) is multiplicative. Any factor at zero eliminates the Gene, so a failure mode cannot be averaged away by strength elsewhere.
  • Everything a reader sees is English — descriptions, schema fields, README, error messages.
  • A published version is immutable. Bump, do not overwrite.

What this Skill does on your machine

Nothing on its own. It describes commands — rotifer init, test, compile, publish, arena submit — and you run them. The ones that reach the network are publish, arena submit --cloud and login; the rest are local. Read modules/audit.md before your first publish: it is the difference between finding a leaked credential on your disk and finding it in a public registry.

04 同仓库更多 Skills

rotifer-protocol
rotifer-protocol/rotifer-playground

fixture-skill

A synthetic ClawHub skill for wrap --from-clawhub tests

★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-self-evolving-agent

Rank an Agent's Rotifer Genes against the Arena and swap in stronger ones, and create and run the local Agents built from those Genes. Invoked explicitly via /evolve — scan local capabilities, compare Genes, inspect fitness scores, replace weak ones with user approval (each replacement can be rolled back), write an Agent definition into the project (/evolve create-agent), and execute a local Agent's Genes in the WASM sandbox (/evolve run-agent). Not for capabilities outside Rotifer.

★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-guide

Entry point for Rotifer Protocol. Onboards a user to Rotifer Genes, scaffolds a Gene from a description, diagnoses a Gene's F(g) score or compile failure, searches the Rotifer Gene registry, upgrades a Gene's fidelity from Wrapped to Native, and submits a Gene to the Arena and follows its ranking. It works by proposing `rotifer` CLI commands; the ones that install software, send work to Rotifer's servers, publish a Gene or overwrite files wait for the user's approval. Meant to be invoked explicitly when working with Rotifer, or when unsure which Rotifer capability fits. Its scope is Rotifer Genes and the Rotifer CLI; onboarding, tutorials, troubleshooting or search for anything else are outside it.

★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-arena

Benchmark Rotifer Genes against each other in the Arena — import from ClawHub / local / scratch, compile, match opponents, run Arena evaluation, and produce a Markdown report with F(g) fitness and V(g) security grades. Invoke explicitly to compare or benchmark Rotifer Genes. Do NOT use for general benchmarking, load testing, or comparing anything that is not a Rotifer Gene or Agent.

★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-agent

Build a Rotifer Agent from Genes — decompose intent into capability units, pick Genes by Arena F(g), compose a Rotifer Genome, create the Agent and test it. Use when the user is working with Rotifer specifically: "Rotifer Agent", "compose Genes", "Rotifer Genome", "Gene composition", "rotifer agent create". Do NOT use for general agent frameworks, or when the words Seq / Par / Cond / Try appear as ordinary programming terms — in Rotifer those name Genome composition strategies, and this Skill applies only when the user is composing Rotifer Genes.

★ 6
rotifer-protocol
rotifer-protocol/rotifer-playground

rotifer-hello

Interactive agent creation — choose from curated templates covering quality diagnosis, security scanning, content analysis, Web3 auditing, and document Q&A

★ 6