auditlisted
Install: claude install-skill amauryconstant/openspec-extended
# User-invocation note
OpenCode has no native `disable-model-invocation` flag for skills; unknown frontmatter fields are silently ignored. The description above is narrow on purpose so the agent does not auto-fire on natural language. Reach the skill through the `/audit` slash command.
## Targets
The two targets and their roots are declared in `references/targets.toml`. Edit that file when targets or roots change. Default:
- **Upstream** — `OpenSpec Core`, rooted at `openspec-core/`, HEAD tracked via `openspec-core/source/package.json`.
- **Local** — `OpenSpec Extended`, rooted at `source/`, HEAD tracked via `source/__init__.py`, resources at `resources/`, manifest at `resources/opencode/manifest.toml`.
## Scopes
| Scope | Phases | When to use |
|-------|--------|-------------|
| `full` (default) | Capture + A + B + (C ∥ D) + E | Periodic review, pre-release |
| `upstream` | Capture + A | Quick inventory of the upstream target |
| `local` | Capture + B | Quick inventory of the local target |
| `integration` | Capture + C | Diff-only, after a library or wrapper change (assumes recent A/B maps) |
| `skills` | Capture + B (skill/agent/command subset) + D (subset) + E | Skill/agent/command review |
| `docs` | Capture + C (doc subset) + E | Documentation drift sweep |
Pass `--refresh` to force re-dispatch of A/B even when a cached map exists.
## Tools
Read-only filesystem analysis.
- **Bash**, limited to: `git log -1`, `git diff --stat`, `wc -l`, `mkdir -p`, `date -u`.
-