agent-environment-retr…
Use when a completed session needs an agent-environment retrospective. Not for an engineering retrospective from telemetry: use engineering-retrospective.
Use when the user asks to fix P0s, address critical issues, or work on priorities from the weekly product briefing. Don''t use for non-P0 issues or local bug fixes.
$ npx -y skills add OutlineDriven/odin-claude-plugin --skill fix-p0-issues --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/fix-p0-issuesContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when the user asks to fix P0s, address critical issues, or work on priorities from the weekly product briefing. Don''t use for non-P0 issues or local bug fixes.
name: fix-p0-issues description: 'Use when the user asks to fix P0s, address critical issues, or work on priorities from the weekly product briefing. Don''t use for non-P0 issues or local bug fixes.' disable-model-invocation: true
| Field | Bound contract | |---|---| | Trigger | User asks to fix P0s, address critical issues, or work on priorities from the weekly product briefing. | | Authority | Remote: spawns ODIN cloud coding agents for triaged, actionable P0s; requires explicit human invocation. No agent is spawned without explicit user confirmation. | | Side effect | Triages P0s, spawns high-confidence agents, and reports run IDs and monitoring commands. | | Done | Actionable P0s have run IDs; skipped items are documented; no agent runs without user confirmation. |
1. Resolve the repository root. Find the most recent briefing by sorting filenames, which contain `YYYY-MM-DD` dates. Do not use `ls -t` because filesystem modification times are unreliable in freshly cloned repos.
REPO_ROOT=$(git rev-parse --show-toplevel) ls "$REPO_ROOT/reports/weekly_product_briefings/"*.md 2>/dev/null | sort | tail -1
Done when: the most recent briefing is identified by path. 2. Parse the briefing for sections starting with `#### P0:`. For each P0, extract the title (text after `#### P0:`), GitHub issue numbers (`#NNNN` patterns), the problem description paragraph(s), and any engineering-alignment notes. Done when: every P0 section is parsed with title, issue numbers, description, and alignment notes. 3. When a P0 includes issue numbers, fetch the GitHub issue details (`gh issue view <issue_number> --repo <org>/<repo>`). Then search the codebase using keywords from the issue. Document relevant file paths, related code or tests, and dependencies. Done when: every P0 with issue numbers has its issue fetched and codebase searched. 4. Triage each P0 into one category and record the decision:
Skip any P0 the briefing notes is already being addressed on an active branch. Do not spawn more than 3 agents at once. Done when: every P0 has a category and decision recorded. 5. For each P0 marked Spawn Agent, construct a prompt containing the issue number and title, problem description, fetched issue details, relevant file paths, and task (investigate, implement fix, add or update tests, create a PR with a clear description). Present the full spawn plan to the user, including P0 titles, issue numbers, categories, confidence, decisions, and constructed prompts. Obtain explicit confirmation before proceeding. Do not spawn any agent without confirmation. Done when: the spawn plan is presented and explicit confirmation is obtained or refused. 6. For each confirmed P0, spawn an ODIN cloud coding agent:
odin agent run-cloud \
--environment <ODIN_ENVIRONMENT_ID> \
--prompt "<constructed prompt>"Use exactly `odin` to spawn cloud agents. If `odin` is not available, stop and report the error rather than substituting another binary. Done when: every confirmed P0 has a cloud agent spawned (or `odin` is unavailable and the skill stops). 7. Record each spawned agent's run ID and emit the report described in Output. Done when: every spawned agent's run ID is recorded and the report is emitted.
Use this report form:
=== P0 Fix Agents Spawned === P0: <Title> - GitHub Issues: #NNNN, #NNNN - Category: <Bug Fix | Feature Request | Inactionable Complaint> - Confidence: <1-5> (Feature Requests only) - Decision: <Spawn Agent | Skip> - Run ID: <run-id> - Monitor: odin run get <run-id> ... Skipped: - <Title>: <reason> To check all runs: odin run list --output-format text
Skipped P0s (inactionable, low-confidence, or already addressed) are listed with their reason. No agent runs without user confirmation.
Formerly the ODIN Claude Plugin. The repository URL is unchanged. Outline-Driven Development, nicknamed ODIN, is a highly opinionated code-agent skill library: principles-first engineering, surgical editing, and workflow automation, published as installable
Repo: OutlineDriven/odin-claude-plugin
Use when a completed session needs an agent-environment retrospective. Not for an engineering retrospective from telemetry: use engineering-retrospective.
Use when a repo needs agent setup, AGENTS.md added or made lean, CLAUDE.md audited, or agent instructions scored or pruned. Not for remote, credential,…
Use when a human explicitly asks for a full repository agent-compatibility pass returning a scored report with prioritized fixes. Not for tasks that require…
Use when setting up a project, auditing agent command permissions, or asking which read-only bash commands and domains to allow. Not for remote, credential,…
Use when asked to build or review a CLI intended for coding agents and return flag-driven, pipeline-safe, idempotent design advice. Not for running or…
Use when the user asks to make the skills framework work in a new harness, IDE, or CLI. Not for remote, credential, publish, deploy, or irreversible changes.