Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,5 @@ The [Monthly PR Clusters workflow](.github/workflows/monthly-pr-clusters.md) run
- [Skill guide](skills/rig/SKILL.md) — the canonical program and construction rules.
- [Agent API](skills/rig/agent-api.md) and [prompt intents](skills/rig/prompt-intents.md) — schemas, inputs, and workspace context.
- [Dynamic workflows](skills/rig/dynamic-workflows.md) — deterministic orchestration.
- [Claude dynamic-workflow conversion](skills/rig/claude-workflow-conversion.md) — map `meta`, `args`, `agent`, `parallel`, `pipeline`, `budget`, and model selection (Sonnet on the Anthropic engine) onto Rig.
- [Sample catalog](skills/rig/samples.md) — agent and workflow patterns bucketed by API, topic, and task family.
1 change: 1 addition & 0 deletions skills/rig/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ the import syntax and Copilot SDK configuration.
| Deterministic TypeScript fan-out | `workflow({ meta, input?, body })` + `export default`; use `call`, `pipeline`, `parallel`, `until` inside `body` |
| One-off prompt inside a workflow | `call.text(prompt)` for a string, `call.json(prompt, schema)` for structured output |
| Reusable workflow step | Define an `agent({ input, output })` and `call(worker, input, { label, phase })` |
| Porting a Claude dynamic workflow (`meta`, `args`, `agent(prompt, { schema })`, `budget`, `{ model: "sonnet" }`) | Read [Claude workflow conversion](./claude-workflow-conversion.md): `args`→`input`, `agent`→`call.text`/`call.json`, `{ model }`→ full Claude id with `anthropicEngine()` |
| Phase or log from an agent program | Import `phase` / `log` from `rig` and call them at top level; the launcher runs every program inside a workflow |
| Ambient `call` outside `body` | Import `call` from `"rig/globals"`; it routes through the active workflow context automatically. Do not import from `"rig/globals"` unless you need it — this avoids polluting non-workflow code. |
| Custom model-callable operation | `defineTool(name, { description, parameters, handler })` |
Expand Down