Skills and code arranged as an executable process.
Adapter
A generated file that lets an agent discover the workflow.
Operation
One request to an agent, command, or person.
Run
One saved execution of a workflow.
Terminal
A completed, blocked, or refused outcome.
01 / Manual
Create your first workflow by hand.
Learn the complete coded-skill path once. The optional helper can accelerate the same path later.
001
Install
Add the runtime and repository-local CLI.
002
Create
Scaffold one workflow with init.
003
Edit
Write the program and deterministic fixtures.
004
Test
Run doctor --test.
005
Register
Create discovery adapters.
006
Restart
Start a new agent session.
007
Run
Invoke the registered workflow.
Package installation creates no skill or coding-agent adapter. You create the canonical workflow explicitly, test its real effects with fixtures, and register only the small discovery adapters you need.
Paste into terminal · TypeScript
npm install --save-exact @operatorstack/yield
Create, test, register, run · TypeScript
npm exec -- yskill init skills/review --language typescript \
--description "Check and review a branch before it is shipped."
# Edit skills/review/main.ts and fixtures/responses.json.
npm exec -- yskill doctor skills/review --test
npm exec -- yskill register skills/review
# Restart your coding agent, then run the registered skill.
npm exec -- yskill run skills/review
Keep order, branches, commands, approvals, and finish rules in the program. Put deterministic answers and test-only effects in fixtures/. Keep judgment and reusable guidance in SKILL.md.
02 / Agents
Use with your coding agent.
yskill register detects verified agents in the project and writes the adapter path each host expects. The workflow and dependencies stay under skills/.
CURSOR
.cursor/skills
Verified with project-local discovery.
CODEX
.agents/skills
Verified with project-local discovery.
CLAUDE
.claude/skills
Verified with project-local discovery.
Run yskill agents with your package launcher to list every supported ID. Other hosts are registry-supported: adapter generation is tested, but Yield has not run every product end to end.
Keep every adapter in sync
register-all checks every workflow before it writes anything. Use --dry-run first. Add --prune only when you want to remove stale adapters generated from that workflow directory.
The new session can discover the registered builder and skill workflows. Ask in plain language. You do not need to paste setup instructions into the agent.
03 / Existing
Run an existing workflow.
Install its language package, register the local adapter, check it, and run it. You do not recreate or move the workflow when you switch agents.
Register and run · TypeScript
npm exec -- yskill doctor skills/review --test
npm exec -- yskill register skills/review
npm exec -- yskill run skills/review
04 / Optional
Accelerate the workflow after you understand it.
The developer helper teaches and applies the same manual path. Installing a package alone never creates the helper, a skill, or an adapter.
Install the helper explicitly, review its complete plan, approve any mutation, then restart your coding agent so it discovers skills/yield-workflow-builder.
Explain the smallest relevant concept and manual steps. Read-only.
create
Plan and create one tested workflow in a new destination.
convert
Project an existing skill into code without dropping its guidance.
check
Inspect one workflow without running its fixture or changing files. Read-only.
repair
Use doctor evidence, apply an approved repair, and verify again.
upgrade
Update one workflow to the installed Yield version.
register
Test, register selected agents, and verify their adapters.
Installer preview
Before approval, the installer shows resolved paths, dependency preparation, workflow testing, selected-agent registration, and final adapter verification.
One ordered plan.The preview and execution use the same operations in the same order.
Mutation approval
Every changing mode shows the summary, relevant primitives, exact files, and exact commands before asking to apply the plan.
Summary
Primitives
Files
Commands
Apply this plan?
Fail-closed safety
learn and check do not mutate files; static checks do not execute fixtures.
Verification may make at most two repair attempts before it stops.
The helper refuses path escapes, existing destinations, user-owned helper or adapter files, and unsupported version changes.
The helper cannot upgrade itself during an active run; exit and run yskill helper install instead.
Successful changing modes require doctor --test, registration for the selected agents, and adapter verification.
yskill bootstrap and npm create @operatorstack/yield@latest remain compatibility aliases only. New documentation and examples use yskill helper install.
Use your language for branches, loops, functions, and local types. Yield only owns the boundaries between the program, the agent, commands, and people.
Each response is bound to the pending step before the run advances. If the workflow changes, Yield stops instead of pairing an old answer with new code.