specification-system
What it does
This skill explains how to write and reuse specs, which are files that describe a repeatable setup for a group of AI agents. It is for people who run OpenRig and want the same setup again without retyping it.
When to use it
- ✓When you want to save a working team of AI agents as a file you can start again later.
- ✓When you want to share an agent setup so someone else can start the same setup on their computer.
- ✓When you are checking whether a setup file will still work on another machine.
Skill link
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/specification-system/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Help me write a reusable setup file for my team of AI agents so I can start it again later.”
5 new skills a week. 1 minute to read.
How it works
The agent follows a set of rules for writing setup files that do not depend on one computer's folders. This helps the file describe the intended setup so it can be reused elsewhere.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Specification System
The declarative primitive family for OpenRig intent: rig specs, agent specs, workflow specs, startup/context fragments, operating-mode declarations, and the user spec library that stores and reuses them.
Specs are how humans and agents describe repeatable topology and behavior without re-explaining it in chat. They are also shareable artifacts: a user should be able to publish a spec or spec family so another user can instantiate the same rig shape, role structure, or workflow pattern.
Without a dependable spec primitive, OpenRig depends on manual startup prompts and tribal memory. That blocks repeatability, product demos, rig bundles, and autonomous rig construction.
Use this when
- Authoring a RigSpec / AgentSpec / workflow spec
- Designing a startup/context fragment
- Reasoning about spec-library lifecycle (validation, sharing, upgrade semantics)
- Auditing a spec for portability (does it run on another host?)
- Distinguishing spec vs bundle vs extension cleanly
Don't use this when
- The work is one-off and won't be reused. Manual rig assembly is fine for one-shot work.
- The intent is to package a topology + workflow as a shareable artifact. That's
rig-bundles-and-shareable-artifacts. - The intent is to add runtime behavior. That's
extension-and-user-workspace.
Failure modes (4)
- A spec can instantiate a topology but not the workflow or operating mode needed to use it. Topology is necessary but not sufficient — workflow and operating mode must be declared too.
- A shared spec depends on local paths or hidden startup fragments and fails on another host. Specs must be self-describing for portability.
- Agents modify specs as one-off files instead of preserving reusable user/library intent. Specs are reusable; treating each instance as one-off destroys the primitive's value.
- Validation proves YAML shape but not whether the declared topology can actually run. Structural validation is not enough; runtime realization is the real proof.
Proof standard
Proof should:
- Author a spec
- Validate it (structural)
- Install it (into spec library)
- Instantiate it on a clean OpenRig environment
- Show both structural validation AND runtime realization
Validation alone is insufficient.
Spec / bundle / extension boundary
| Concept | Declares | Example |
|---|---|---|
| Spec | Topology / role / workflow shape (declarative intent) | rig.yaml, agent.yaml, workflow.yaml |
| Bundle | Spec(s) + supporting fragments packaged for shareable instantiation | A Velocity Team bundle |
| Extension | Runtime behavior added to user workspace | RigX command, custom view |
Don't conflate them. The contract should distinguish spec, bundle, and extension cleanly.
Currently shipped surfaces
OpenRig already has:
- RigSpec / AgentSpec authoring (
agent.yaml,rig.yamlformats; seeopenrig-architectskill) - Workflow specs (markdown/YAML files, daemon read-through cache via
workflow_specstable; seeworkflow-runtimeskill) - Bundle/spec command surface (
rig bundle / spec / agent / specs ls/show/preview/add/sync/remove/rename) - Spec library (filesystem-backed at
packages/daemon/specs/+~/.openrig/specs/per cli-reference.md)
Not yet shipped:
- Spec library lifecycle (validation, sharing, upgrade) treated as a first-class primitive
- Cross-host spec sharing
- Marketplace / public registry
See also
openrig-architectskill — RigSpec / AgentSpec authoring disciplineworkflow-runtimeskill — workflow spec authoring + transactional-scribe contractrig-bundles-and-shareable-artifactsskill — bundle is the packaged form of specsextension-and-user-workspaceskill — extensions add runtime behavior; specs declare intentopenrig/docs/reference/rig-spec.md(product reference doc) — RigSpec format specificationopenrig/docs/reference/agent-spec.md(product reference doc) — AgentSpec format specification
FAQ
Does this skill work outside OpenRig?
No. It is written for OpenRig setup files, such as rig specs and agent specs.
Can I share a setup file with other people?
Yes. The skill is built around setup files that others can use, instead of notes that only work on your own computer.
Do I need to know YAML to use it?
Not really. Your agent handles the file format, but you should still review what it writes before you share it.
Details
Original description by the author
Use when authoring rig specs, agent specs, workflow specs, startup/context fragments, operating-mode declarations, or designing the user spec library. Covers the 4 failure modes (spec instantiates topology but not workflow/mode; spec depends on local paths and fails on another host; agents modify specs as one-off files instead of preserving reusable intent; validation proves YAML shape but not whether topology can run) and the validation-vs-runtime-realization distinction.
repo: mvschwarz/openrig
Popularity
- GitHub stars
- 8.6k
- Ranking position
- #12413
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-operated-software
8.6kHelps your agent design, build or debug an ongoing app whose live backend includes AI agents, such as a Markdown or JSON agent control plane.
agent-operated-workflows
8.6kHelps your agent decide whether a bounded procedure should be run by an AI agent or by ordinary code, and how to resume it from verified evidence.
applying-a-permission-policy
8.6kHelps your agent set up the command permissions an AI coding agent uses during team setup, so routine commands run with fewer approval prompts.
claude-compaction-restore
8.6kHelps a Claude Code agent rebuild its working picture after its context is compacted, using a saved restore map, its transcript and the files it touched.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.