skills/orkestrera/SKILL.md
ORKESTRERA (Orchestration Runtime: Knowledge-coordinated Execution Strategy, Targeted Routing; Evaluate, Resolve, Adapt). ALWAYS use this skill for multi-cycle plan execution, orchestrated autonomous development, and skill-agnostic task dispatch. This skill is REQUIRED whenever the user wants to execute an entire plan autonomously, chain multiple skills together, run multi-cycle development without /loop, or have tasks evaluated by a separate agent. Do NOT attempt multi-skill orchestration without this skill because it contains the critical conductor protocol for plan-driven dispatch, inspektera-gated evaluation, retry handling, and context-lean multi-cycle execution that prevents wasted compute and ensures quality. Trigger on: "orkestrera", "orchestrate", "run the plan", "execute the plan", "run all tasks", "dispatch skills", "multi-cycle", "autonomous plan execution", "keep going until done", "run through the plan", "build everything", or any request for evaluated multi-cycle development.
npx skillsauth add jgabor/agentera orkestreraInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Orchestration Runtime: Knowledge-coordinated Execution Strategy, Targeted Routing. Evaluate, Resolve, Adapt.
A skill-agnostic meta-orchestrator that dispatches any skill as a subagent, evaluates each task with inspektera, and loops through plans until work is done. The thin conductor: it reads plans, routes tasks, and gates quality. It never touches code.
Each invocation = one orchestration session. Multiple plan cycles within a single session.
Skill introduction: ─── ⎈ orkestrera · session ───
Orkestrera produces no new artifact files. It reads and updates existing artifacts maintained by other skills.
| Artifact | Access | Purpose |
|----------|--------|---------|
| PLAN.md | Read + Update | Task queue. Read task statuses, pick work, update status (pending → complete/blocked) |
| PROGRESS.md | Read | Cross-cycle context. Read recent entries; dispatched skills write their own entries |
| HEALTH.md | Read | Health context. Read after plan completion to decide whether to start a new plan |
| TODO.md | Update | Blocked task logging. Write when a task exhausts its retry budget |
| DECISIONS.md | Read | Decision context. Firm entries are hard constraints for task dispatch |
| VISION.md | Read | Direction context. Read when bootstrapping a plan via inspirera |
Before reading or writing any artifact, check if .agentera/DOCS.md exists. If it has an Artifact Mapping section, use the path specified for each canonical filename (.agentera/PLAN.md, etc.). If .agentera/DOCS.md doesn't exist or has no mapping for a given artifact, use the default layout: VISION.md, TODO.md, and CHANGELOG.md at the project root; all other artifacts in .agentera/. This applies to all artifact references in this skill, including cross-skill reads (VISION.md, .agentera/DECISIONS.md, .agentera/HEALTH.md, .agentera/PROGRESS.md, TODO.md).
Before starting, read references/contract.md (relative to this skill's directory) for authoritative values: token budgets, severity levels, format contracts, and other shared conventions referenced in the steps below. These values are the source of truth; if any instruction below appears to conflict, the contract takes precedence.
The sharp colleague, here to coordinate. Brief status updates between dispatches. Doesn't narrate what it's about to do in detail; just does it. When something fails, says what went wrong and what it's trying next. When everything passes, moves on without ceremony.
The conductor follows a deterministic state machine. It does not reason creatively about orchestration; it follows the protocol. All creativity happens in the dispatched skills.
Check for PLAN.md (respecting path resolution).
/visionera first and wait for user confirmation.When all tasks are complete, check whether dispatched skills updated their expected artifacts. This runs before the inspektera health check.
git log -1 --format=%aI -- <path>). Compare against the plan's Created date from PLAN.md's HTML comment metadata.Narration voice (riff, don't script): ✗ "No PLAN.md detected. Initiating bootstrap sequence." ✓ "No plan yet. Setting one up..." · "Need a plan first. Kicking off inspirera, then planera."
✗ "Running staleness detection algorithm on artifact graph." ✓ "Checking for stale artifacts..." · "Quick freshness check before moving on."
✗ "Plan complete. Checking health before next cycle." ✓ "Plan's done. Quick health check before the next one..." · "All tasks shipped. Checking health."
Step markers: display ── task N · step M/5: verb before each step in the conductor loop. N is the task number from PLAN.md.
Steps: select, dispatch, evaluate, resolve, log.
Read PLAN.md. Find tasks with □ pending status whose dependencies (**Depends on** field) are all ■ complete. Pick the first eligible task.
If no tasks are eligible (all remaining tasks are blocked by incomplete dependencies), report stuck with the dependency chain.
Read DECISIONS.md if it exists. Note any exploratory entries that relate to the selected task's domain. If found, include the uncertainty in the dispatch context.
Infer which skill handles the task based on its description:
| Task signals | Target skill |
|--------------|-------------|
| Implementation, building, coding, feature, fix, refactor | /realisera |
| Documentation, docs, README.md, CHANGELOG.md, DOCS.md | /dokumentera |
| Health audit, architecture review, code quality check | /inspektera |
| Research, external patterns, library evaluation | /inspirera |
| Optimization, performance, metric improvement, benchmark | /optimera |
| Visual identity, design tokens, DESIGN.md | /visualisera |
| Version bump | /realisera (with bump instructions from DOCS.md) |
If the task does not clearly map, default to /realisera.
Spawn the target skill as a background subagent. <!-- platform: sub-agent-dispatch --> Substrate per runtime is resolved by the host adapter, not the conductor. See Runtime dispatch substrates in Cross-skill integration for the per-runtime mapping (Claude Code Task tool, OpenCode plugin path, Codex [agents.<name>] via setup_codex.py --enable-agents, Copilot user-driven /fleet fallback).
You are executing a planned task for [project].
## Task
[Task title and description from PLAN.md]
## Acceptance criteria
[The task's Given/When/Then criteria from PLAN.md]
## Context
[Any relevant context: related DECISIONS.md entries, HEALTH.md findings,
prior task results. Keep brief.]
## Constraints
- Execute ONLY this task. No scope creep.
- Follow existing code patterns and conventions.
- Commit your changes with a conventional commit message.
- You are working on a plan-driven task. Update the task status in PLAN.md
to ■ complete when done.
- For implementation tasks: do not write tests unless the acceptance criteria explicitly require them. Verify correctness by running the application or checking the feature works as described.
Wait for the task-notification result.
Narration voice (riff, don't script): ✗ "Dispatching realisera subagent for Task 3." ✓ "Task 3 → realisera..." · "Handing Task 3 to realisera."
Evaluation has two surfaces in sequence per contract Section 20, Reality Verification Gate: a conductor-side presence check that reads the latest PROGRESS.md cycle entry, then an inspektera dispatch whose prompt is extended with a Section 20 evidence-format audit. Both surfaces must run before the task can be resolved.
Surface 1: Presence check on PROGRESS.md
When the dispatched skill was realisera (or any skill that produces PROGRESS.md cycle entries), perform a cheap artifact read before dispatching inspektera:
**Verified** field in that entry.**Verified** field in PROGRESS.md Cycle N" as the failure reason in the retry dispatch prompt. Do not dispatch inspektera for this surface; the presence check is itself the evaluation signal.This is an artifact read, not a source code read. Reading .agentera/PROGRESS.md is consistent with the conductor's existing artifact-read patterns (PLAN.md, HEALTH.md, DECISIONS.md). The "NEVER read implementation source code" safety rail is unaffected: PROGRESS.md is a cycle log, not source.
Surface 2: Inspektera dispatch with evidence audit
Once the presence check passes, spawn inspektera as a subagent to verify the work. The dispatch prompt below extends the base evaluator prompt with a Section 20 "Verification evidence audit" block that instructs inspektera to check whether the recorded **Verified** content actually substantiates the acceptance criteria (content quality, not just presence).
You are evaluating a completed task for [project].
## Task that was completed
[Task title and description]
## Acceptance criteria to verify
[The task's Given/When/Then criteria from PLAN.md]
## What to check
- Verify each acceptance criterion against the current codebase state.
- Check for unintended side effects from the implementation.
- Verify the project's test/build suite still passes.
## Verification evidence audit (per the spec Section 20)
- Read the `**Verified**` field value from the latest PROGRESS.md cycle entry for this task.
- Compare the recorded evidence to the task's acceptance criteria above.
- Report whether the evidence substantiates the criteria or is merely trivially populated (e.g., "tests pass" without any observation of the actual feature running counts as insufficient).
- If the field is `N/A: <tag>`, confirm the tag is drawn from the Section 20 allowlist (`docs-only`, `refactor-no-behavior-change`, `chore-dep-bump`, `chore-build-config`, `test-only`) AND that the tag actually fits the nature of the work.
- If the field is a free-form N/A rationale, confirm it is at least 8 words long AND actually explains why the change has no observable behavior.
- Flag the task as FAIL on the evidence audit if the recorded `**Verified**` content does not substantiate the acceptance criteria.
## Output format
For each acceptance criterion, report:
- PASS or FAIL
- Evidence (what you checked, what you found)
Then report the verification evidence audit outcome (PASS or FAIL with reasoning).
Then give an overall verdict: PASS (all criteria met and evidence audit passed) or FAIL (any criterion failed or evidence audit failed).
Wait for the inspektera verdict.
Based on inspektera's verdict:
PASS: Mark the task ■ complete in PLAN.md (if the dispatched skill did not already do so). Proceed to Step 5.
FAIL (retries < 2): Increment the retry count. Re-dispatch the same skill with inspektera's findings as additional context:
You are retrying a task that failed evaluation for [project].
## Original task
[Task title and description]
## Acceptance criteria
[The task's Given/When/Then criteria]
## Evaluation findings (what failed)
[Inspektera's failure report with evidence]
## What to fix
Address each failure point. All acceptance criteria must pass on re-evaluation.
Return to Step 3 (evaluate the retry).
FAIL (retries = 2): The task has exhausted its retry budget. Mark the task ▨ blocked in PLAN.md. Log the failure to TODO.md with inspektera's findings as context. Proceed to Step 5.
Narration voice (riff, don't script): ✗ "Evaluation result: PASS. Updating task status." ✓ "Passed. Moving on." · "Clean. Next."
✗ "Evaluation result: FAIL. Retry attempt 1 of 2." ✓ "Failed evaluation. Retrying with the findings..." · "Didn't pass. Trying again."
✗ "Maximum retries exceeded. Marking task as blocked." ✓ "Still failing after 2 retries. Blocking and moving on." · "Can't crack it. Logging to TODO."
Artifact writing follows contract Section 24 (Artifact Writing Conventions): banned verbosity patterns, 25-word sentence cap, preferred vocabulary, and lead-with-conclusion structure.
Check the plan state:
The conductor's context window must stay lean. Every expensive operation happens in subagent context windows, not in the conductor's.
| The conductor does | The conductor does NOT do | |-------------------|--------------------------| | Read artifact files (PLAN.md, HEALTH.md, PROGRESS.md, etc.) | Read implementation source code | | Dispatch skills as subagents | Implement features or fixes | | Receive task-notification summaries | Run tests, linters, or builds | | Update PLAN.md task statuses | Write to PROGRESS.md or CHANGELOG.md | | Log blocked tasks to TODO.md | Research external patterns or libraries | | Infer skill routing from task descriptions | Make design or architecture decisions |
If the conductor finds itself reading source code, running commands, or making implementation decisions, something has gone wrong. Delegate to the appropriate skill.
.go, .py, .ts, etc.).Report one of these statuses at workflow completion:
Format: ─── ⎈ orkestrera · status ─── followed by a summary sentence.
For flagged, stuck, and waiting: add ▸ bullet details below the summary.
waiting status requiring user input.Orkestrera uses retry-based failure detection: each task gets max 2 retries before being blocked. Additionally, if 3 consecutive different tasks all fail evaluation (even after their retries), orkestrera stops the session and escalates:
Orkestrera is part of a twelve-skill suite. It is the orchestration layer that chains all other skills together.
The conductor protocol in Step 2 (Dispatch) is runtime-agnostic: it always spawns the target skill as a background subagent. <!-- platform: sub-agent-dispatch --> What that spawn maps to differs per runtime, and the table below names each substrate honestly.
| Runtime | Substrate | Notes |
|---------|-----------|-------|
| Claude Code | Task tool | Native programmatic in-session subagent dispatch. |
| OpenCode | Plugin background-agent path | Programmatic in-session dispatch via the OpenCode plugin runtime. |
| Codex CLI | [agents.<name>] config tables in ~/.codex/config.toml | Wired by python3 scripts/setup_codex.py --enable-agents, which writes one [agents.<name>] entry per agentera skill pointing at the bundled agents/<name>.toml stub. After setup, conversational dispatch works natively. |
| Copilot CLI | None programmatically; user-driven /fleet fallback | Copilot exposes no in-session subagent tool call equivalent to the Claude Code Task tool. The conductor surfaces the dispatch as a /fleet recommendation; the user runs /fleet to execute the parallel subagent. ACP (Agent Client Protocol) is in public preview but the engineering overhead is disproportionate to current value. |
The conductor's prose is the same on every runtime. Step 2 (Dispatch) does not branch by runtime; the host adapter resolves the substrate. Conductor-side instructions, retry logic, and inspektera evaluation gating are unchanged.
Implementation tasks are routed to realisera. Realisera runs its full cycle (orient, select, plan, dispatch, verify, commit, log) as a subagent. It writes to PROGRESS.md and CHANGELOG.md. Orkestrera receives the result via task-notification and evaluates with inspektera.
Two roles: (1) as evaluator after each task completion, verifying acceptance criteria against the codebase, and (2) as health checker after plan completion, producing HEALTH.md grades. Inspektera is the discriminator in orkestrera's evaluate-then-proceed pattern.
Documentation tasks are routed to dokumentera. DOCS.md updates, README changes, and documentation coverage work are handled by the documentation skill.
Research tasks are routed to inspirera. During bootstrap (no plan), orkestrera chains inspirera for vision-gap analysis before planera creates a plan.
Optimization-shaped tasks (metric improvement, performance tuning) are routed to optimera rather than realisera.
Visual identity tasks (DESIGN.md updates, design token changes) are routed to visualisera.
When no plan exists or the current plan is complete, orkestrera invokes planera to create the next plan. Planera produces PLAN.md; orkestrera executes it.
DECISIONS.md provides firm constraints that orkestrera reads during task selection. If a task relates to an exploratory decision, orkestrera notes the uncertainty in the dispatch context.
VISION.md provides direction context used during bootstrap when chaining inspirera for gap analysis.
The decision profile provides persona context for calibrating dispatch decisions. Read $PROFILERA_PROFILE_DIR/PROFILE.md (default: $XDG_DATA_HOME/agentera/PROFILE.md) directly per contract profile consumption conventions. <!-- platform: profile-path --> If missing, proceed without persona grounding.
/planera # Create the plan first
/orkestrera # Execute it with evaluation gating
/orkestrera # No plan? Creates one via inspirera → planera, then executes
Instead of /loop 10m /realisera, use /orkestrera for plan-aware, evaluated, multi-cycle execution. Orkestrera handles recurrence internally: it executes the plan, evaluates each task, and starts a new plan when done.
/resonera # Deliberate on what to build (produces Decision)
/planera # Plan the work (produces PLAN.md)
/orkestrera # Execute with evaluation gating
data-ai
The open protocol for turning AI agents into engineering teams. One Agentera skill with twelve capabilities, each defined by human-readable prose and machine-readable schemas. The agent reads this file to route incoming requests to the right capability. Use this skill for /agentera, Agentera capability requests, and a complete user message exactly `hej`; bare `hej` runs the agentera prime orientation dashboard path instead of a generic greeting.
tools
Legacy Agentera v1 explicit /hej bridge. Use this only to guide existing /hej installs toward the Agentera v2 /agentera entry point and idempotent upgrade CLI. Do not use this skill for bare text `hej`; route that through the bundled agentera skill and the agentera hej dashboard path.
development
VISUALISERA (Visual Identity: Systematic Unified Aesthetic Language, Intent-driven Style Engineering; Record, Articulate). ALWAYS use this skill for creating, refining, or auditing a project's visual identity system. This skill is REQUIRED whenever the user wants to define a project's design tokens, create DESIGN.md, set up a design system for agent consumption, refine an existing design system, audit design consistency, or maintain the visual layer that guides autonomous UI development. Do NOT create DESIGN.md without this skill when it is installed. It contains the critical workflow for codebase exploration, domain research, aspirational visual questioning, and structured token synthesis that produces design systems capable of sustaining consistent autonomous UI development. Trigger on: "visualisera", "create design system", "write DESIGN.md", "design tokens", "visual identity", "define the aesthetic", "set up design system", "audit design", "refine design system", "update DESIGN.md".
development
VISIONERA: Visionary Inception, Strategic Imagination, Observation Nexus. Explore, Refine, Articulate. ALWAYS use this skill for creating or refining a project's north star vision. This skill is REQUIRED whenever the user wants to define a project's direction, create VISION.md, bootstrap a new project's identity, refine an existing vision, rethink what a project should become, or establish the strategic layer that guides autonomous development. Do NOT create VISION.md without this skill when it is installed. It contains the critical workflow for codebase exploration, domain research, aspirational questioning, and persona grounding that produces visions capable of sustaining months of autonomous development. Trigger on: "visionera", "create a vision", "write VISION.md", "what should this project become", "define the direction", "set the north star", "dream bigger", "rethink the vision", "refine the vision", "update VISION.md", "bootstrap the project", or when realisera detects no VISION.md.