From ai-agents-workflow
Format spec for per-agent telemetry lines and Context Manifest subsections in `<subtask_id>/summary.md`. Use when specifying agent output requirements and when validating dispatch returns against the expected schema. Task-level aggregation (writing the rolled-up `<task_id>/summary.md`) is delegated to telemetry-summary.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-agents-workflow:orchestrator-telemetryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Every agent MUST write one telemetry line to the subtask's `<subtask_id>/summary.md` (under the `## Telemetry` section):
Every agent MUST write one telemetry line to the subtask's <subtask_id>/summary.md (under the ## Telemetry section):
<role> | <model> | <turns_used>/<turns_budget> turns | tokens: ~<in>/~<out> | skills: <low|medium|high> | plugins: <low|medium|high> | <ok|OVER_BUDGET>
lead, executor, reviewer).claude-sonnet-4-6, claude-opus-4-6). Required for cost attribution by model.low | medium | high.low | medium | high.The orchestrator creates the summary.md skeleton (with diagnostic section placeholders) alongside the ai-work.md skeleton. Each agent appends its telemetry line. The Reviewer finalizes summary.md with verdict and notes.
The Chief Orchestrator maintains <artifact-root>/tasks/<task_id>/summary.md as the centralized rollup:
## Telemetry section from the subtask's <subtask_id>/summary.md.summary.md.telemetry-summary skill for the template and rules.Telemetry is collected forward-only — do not retroactively fill past artifacts.
Every agent MUST write a ### <role> subsection to the ## Context Manifest section in the subtask's <subtask_id>/summary.md. The manifest answers where an agent's input tokens came from.
Each agent appends a named subsection:
### <role>
| path | bucket | bytes |
| --------------------------------------- | ---------- | ----- |
| inline dispatch bundle | governance | 1240 |
| ai-work.md (section:spec) | artifact | 890 |
| apps/api/src/modules/bookings/svc.ts | source | 3244 |
Totals: governance 1240 | artifact 890 | source 3244 | schema 0 | docs 0
Read, filesystem MCP, or received inline via prompt excerpt. The inline dispatch bundle (delivered in the Task prompt, not a file) counts as one governance row labeled inline dispatch bundle.bytes = bytes the agent consumed, not total file size. Approximation is acceptable (lines × 80 is fine).governance — dispatch bundle, anything under ai/, plus files under docs/requirements/artifact — task-data.md, ai-work.md sections, summary.md files, prior handoff artifactssource — FE or BE application codeschema — SQL migrations, OpenAPI specs, type contracts, DB schema filesdocs — anything else (READMEs, ADRs, external notes)*(no files read; all context received via dispatch bundle)* and a totals line of zeros.After each subtask completes, the Chief Orchestrator extends <artifact-root>/tasks/<task_id>/summary.md with a Context Breakdown section by reading all ### <role> subsections from ## Context Manifest in each subtask's <subtask_id>/summary.md:
## Context Breakdown
| agent | governance | artifact | source | schema | docs | total |
| ----------- | ---------- | -------- | ------ | ------ | ---- | ----- |
| delivery-pm | 2000 | 1876 | 0 | 0 | 0 | 3876 |
| lead | 1800 | 890 | 3244 | 912 | 0 | 6846 |
Task totals: governance 3800 | artifact 2766 | source 3244 | schema 912 | docs 0
Repeat reads: none (dispatch bundles are pre-curated per role)
The Repeat reads line lists any source path appearing in ≥2 agents' manifests within the same task (governance repeats are expected to be minimal with dispatch bundles).
Observation is per-task; action waits for aggregate signal.
Per-task (observation, always on):
repeat_reads line on task-level summary.md noting any file read by ≥3 agents within the task.After any two completed tasks with manifests (action):
context_bundle is not carrying enough; fix the dispatch bundle content.npx claudepluginhub kingsharkg/ai-agents-workflow --plugin ai-agents-workflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.