Opencode Integrity — Development skill for Claude Code
Lock what your OpenCode agent can load: plugin content, MCP tool definitions and skills.
How to install Opencode Integrity
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Hamza-Abili/opencode-integrity and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Opencode Integrity does
Lock what your OpenCode agent can load: plugin content, MCP tool definitions and skills. Detect drift at runtime. V1+V2, zero dependencies.
Alternatives in Development
- Sanitize — Detect and redact PII from text files — 15 categories (SSNs, credit cards, API keys, etc.), zero dependencies 3.1k ★
- 01 Install Bun And Deps — Prompt 01: Install Bun Runtime & Dependencies 2.3k ★
- Content Shipped — Proactively detect and log shipped content when user mentions publishing, launching, or completing work 1k ★
README
opencode-integrity
[](https://github.com/Hamza-Abili/opencode-integrity/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@hamzaabili/opencode-integrity) [](https://www.npmjs.com/package/@hamzaabili/opencode-integrity) [](https://github.com/Hamza-Abili/opencode-integrity/stargazers) [](LICENSE)
**The tool you approved is not the tool you are running.**
`opencode-integrity` locks what OpenCode can load — plugin content, MCP tool descriptions and schemas, and skill files — and detects when any of them change. No proxy, no config rewrite, no cloud. Local, zero runtime dependencies, OpenCode V1 and V2.
audit → see plugins, MCP tools and skills with capabilities and hashes
lock → write opencode.lock.json (commit it)
check → fail CI when anything drifts
runtime→ warn or deny changed MCP tools and skills during a session
Why
An MCP tool description is not inert data: it is instructions the model reads. A server can serve one toolset today and a different one tomorrow. Skills are Markdown files that can be edited after review. Plugins are npm/Git code that runs in the OpenCode server with the agent's privileges. OpenCode policies (`plugin.use`, `mcp.use`, `skill.use`) only match names; they do not verify content.
Existing MCP scanners are on-demand CLIs, and the strongest pinning tool (`mcp-pin`) is a stdio proxy for other clients. This is the OpenCode-native layer: it sees what OpenCode actually loaded, including remote MCP servers and Code Mode, and covers plugins and skills too.
Install (OpenCode V2)
{
"$schema": "https://opencod
Related Skills
Verfy
Verfy CLI (MIT): lock MCP tool definitions and block tools that change after you approved them, guard every Cl
Continuity Core
Provider-neutral bones of a multi-agent session-continuity system: a lock-file transactional checkpoint store,
Clens
Claude Code session capture and analysis. Trace tool calls, detect backtracks, analyze decisions, track edit c
Agent Bloom
Animated terminal themes for Claude Code and Codex CLI — Huawei & Apple, selectable intros and idle effects, z
Agent River
Drive Codex & Claude coding agents from Telegram — approval-gated, human-in-the-loop, with zero runtime depend
Joinery
The linker for agent skill stacks: extract each skill's implicit CLI/MCP/client-feature dependencies, dry-fit
Related Agents
Arch Purist
The iron-fisted enforcer of DDD layer boundaries and architectural integrity. Use this agent to audit import g
ProvenanceAuditor
Provenance and deployment integrity auditor -- validates SLSA sidecars, manifests, and drift across providers.
Contract Integrity Auditor
Detect and resolve drift between implementation, API contracts, and documentation.