{
  "schema_version": "0.2",
  "policy": {
    "repo_local_path": ".agents/skills",
    "opencode_target": ".opencode/skill",
    "claude_target": ".claude/skills",
    "install_repo_local_by_default": true,
    "install_opencode_by_default": true,
    "install_claude_by_default": true,
    "description": "PRD Plugin installs repo-local skills into .agents/skills for Codex/OpenAI and .opencode/skill for opencode when those host-agent options are enabled. Claude Code is plugin-primary by default; .claude/skills is the explicit --claude-skills escape-hatch target. Plugin-development skills stay in the PRD Plugin hub/plugin bundle.",
    "options": {
      "codex": "Codex host agent skill discovery (.agents/skills/).",
      "opencode": "opencode host agent skill discovery (.opencode/skill/).",
      "claude": "Claude Code plugin-primary support; optional repo-local skill discovery uses .claude/skills/ via --claude-skills.",
      "opencode-skill-inject": "Add opencode-agent-skills plugin and prd-plugin skill permission to opencode.json."
    },
    "option_defaults": {
      "codex": true,
      "opencode": true,
      "claude": true,
      "opencode-skill-inject": true
    },
    "matrix_doc": "docs/INSTALL-MATRIX.md"
  },
  "skills": {
    "project-architecture": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Architecture planning and review workflow."
    },
    "project-blocker-resolution": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Escalation discipline for stops that require external authority, human input, or out-of-scope boundaries."
    },
    "project-brainstorm": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Brainstorm capture workflow for project ideas."
    },
    "project-change-request": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Mid-development change orchestrator: classifies add/change/remove/defer and cascades it through brainstorm, PRD, architecture, and the implementation plan."
    },
    "project-code-review": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Self-review and external feedback handling before merge or completion claims."
    },
    "project-decision-ledger": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Decision ledger workflow."
    },
    "project-decision-policy": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Router and autonomy authority: which workflow to use when, the tiered autonomy model, and the decision-quality bar."
    },
    "project-deterministic-workflows": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Deterministic workflow planning, execution, judgment-boundary, receipt, retry, and audit method."
    },
    "project-document-branch": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Document branch workflow for proposed or experimental project truth."
    },
    "project-evidence": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Evidence capture and review workflow."
    },
    "project-evidence-ledger": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Evidence ledger maintenance workflow."
    },
    "project-fold-it-in": {
      "install_scope": "plugin_development",
      "installed_by_default": false,
      "requires_options": [],
      "description": "PRD Plugin hub/development integration workflow. Never installed in downstream."
    },
    "project-git-workflow": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Git isolation, commit discipline, branch finish, and merge/PR/keep/discard workflow."
    },
    "project-health": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Project health finding workflow."
    },
    "project-implementation-plan": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Implementation planning workflow with durable IMP-* IDs, adapted from Superpowers."
    },
    "project-local-integration": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Downstream-safe local integration workflow for folding changes into current-repo project truth."
    },
    "project-memory": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Agent memory and tracking workflow."
    },
    "project-planning-lifecycle": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "End-to-end brainstorm to PRD to architecture to plan workflow."
    },
    "project-prd": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "PRD creation and review workflow."
    },
    "project-prd-plugin-setup": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "First-use onboarding for the PRD Plugin method in a downstream repo."
    },
    "project-request-intake": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Downstream request, issue, bug, and compatibility intake workflow."
    },
    "project-self-audit": {
      "install_scope": "downstream_optional",
      "installed_by_default": false,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Optional repo self-audit. Mines AGENTS.md / CLAUDE.md rules and source-code debt markers, produces a rule-vs-reality gap report, and optionally persists REQ-* and HLT-* records for high-leverage rules."
    },
    "project-session-close": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Session close, changelog, tracking, and memory promotion workflow."
    },
    "project-systematic-debugging": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Superpowers-adapted PRD Plugin root-cause debugging discipline with request, health, and evidence hooks."
    },
    "project-test-driven-implementation": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Superpowers-adapted PRD Plugin TDD discipline with IMP, REQ, EV, and CHG hooks."
    },
    "project-traceability-review": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Traceability review workflow."
    },
    "project-traceability-sync": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Traceability synchronization workflow."
    },
    "project-verification-before-completion": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Superpowers-adapted PRD Plugin verification discipline before completion claims."
    },
    "project-llm-wiki": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode",
        "claude"
      ],
      "description": "Karpathy LLM-wiki (MIT, Yuhan Lei): ingest/query/lint a compounding raw/+wiki/ knowledge base of durable domain and codebase knowledge; queried before re-deriving and ingested as work closes."
    },
    "source-command-prd-autonomy": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-autonomy administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-close": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-close administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-config": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-config administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-drift": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-drift administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-graph": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-graph administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-hooks": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-hooks administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-new": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-new administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-reflections": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-reflections administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-report": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-report administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-status": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-status administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-track": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-track administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-version": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-version administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-workflow": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-workflow administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-off": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-off administration command for hosts that load skills instead of Claude command files."
    },
    "source-command-prd-on": {
      "install_scope": "downstream_runtime",
      "installed_by_default": true,
      "requires_options": [
        "codex",
        "opencode"
      ],
      "description": "Host-native /prd-on administration command for hosts that load skills instead of Claude command files."
    }
  }
}
