Skip to content
Agentmart
Submit a tool

hm-l3-opencode-project-audit

Audit OpenCode projects across skills, commands, tools, permissions, agents, and subagents.

Skill by shynlee04

IndexedMIT★ 51
Write a review

Chalk Labs

Need help deploying hm-l3-opencode-project-audit?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/shynlee04-hm-l3-opencode-project-audit

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Audit OpenCode projects across skills, commands, tools, permissions, agents, and subagents. Use when checking boundaries, verifying architecture, mapping ecosystem structure, or auditing setup. NOT for code review or direct implementation.

Use cases: security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/hm-l3-opencode-project-audit

What's inside

Skill name
hm-l3-opencode-project-audit
Description
Audit OpenCode projects across skills, commands, tools, permissions, agents, and subagents. Use when checking boundaries, verifying architecture, mapping ecosystem structure, or auditing setup. NOT for code review or direct implementation.
License
MIT
Metadata
role: auditor · layer: 1 · pattern: P3 · version: 3.0.0
Instructions
194 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (20)

  • phase-1-skills.md · .harness-audit/compiled/
  • phase-2-commands.md · .harness-audit/compiled/
  • phase-3-tools.md · .harness-audit/compiled/
  • phase-4-permissions.md · .harness-audit/compiled/
  • phase-5-agents.md · .harness-audit/compiled/
  • phase-6-subagents.md · .harness-audit/compiled/
  • phase-7-synthesis.md · .harness-audit/compiled/
  • SKILL.md
  • phase-1-skills.md · assets/profiles/
  • phase-2-commands.md · assets/profiles/
  • phase-3-tools.md · assets/profiles/
  • phase-4-permissions.md · assets/profiles/
  • phase-5-agents.md · assets/profiles/
  • phase-6-subagents.md · assets/profiles/
  • phase-7-synthesis.md · assets/profiles/
  • evals.json · evals/
  • rich-gate-scorecard.md · metrics/
  • pointers.md · references/
  • compile-bundle.sh · scripts/
  • validate-skill.sh · scripts/

SKILL.md (first lines)

## Overview

Comprehensive audit of OpenCode project configuration across skills, agents, commands, tools, and permissions. Use when onboarding to a new project, after structural changes, or when verifying ecosystem integrity. Produces a fact-based audit report covering boundaries, governance, and configuration health.

## The Iron Law

```
AUDIT REPORTS FACTS. NEVER BLOCKS. NEVER FIXES. NEVER DOES THE WORK ITSELF.
```

<files_to_read>
.opencode/skills/harness-audit/references/pointers.md
.opencode/skills/harness-audit/scripts/compile-bundle.sh
.opencode/skills/harness-audit/scripts/validate-skill.sh
</files_to_read>

# harness-audit

Comprehensive audit orchestrator for ANY OpenCode project. Reports facts, leaves judgment to the agent.
## Architecture

```
harness-audit/
├── SKILL.md                    # Thin orchestrator (this file) — no YAML agent config
├── assets/
│   └── profiles/               # 7 subagent profile templates
│       ├── phase-1-skills.md
│       ├── phase-2-commands.md
│       ├── phase-3-tools.md
│       ├── phase-4-permissions.md
│       ├── phase-5-agents.md
│       ├── phase-6-subagents.md
│       └── phase-7-synthesis.md
├── references/                 # Skill pointers for execution_context
│   └── pointers.md
└── scripts/
    ├── compile-bundle.sh
    └── validate-skill.sh
```

## On Load

1. Run `bash scripts/compile-bundle.sh` — compiles all 7 subagent profiles
2. Run `bash scripts/validate-skill.sh` — validates structure before dispatch
3. Read project context: `opencode.json`, `AGENTS.md`
4. Apply the official OpenCode scope matrix before deciding what exists or is missing: agents in `.opencode/agents` or `opencode.json.agent`, commands in `.opencode/commands` or `opencode.json.command`, config overrides from `OPENCODE_CONFIG`/`OPENCODE_CONFIG_DIR`, and rules precedence from `AGENTS.md`/`CLAUDE.md` plus configured instructions.

## Execution Flow

### Phase 0: Bootstrap (FIRST RUN ONLY)
If `assets/profiles/` is empty, inform user:
> "Subagent bundle compiled. Please restart session and re-run audit."

### Phases 1-6: Parallel Dispatch (run simultaneously)

| Phase | Target | Profile | Execution Context |
|-------|--------|---------|-------------------|
| 1 | Skills | `assets/profiles/phase-1-skills.md` | `use-authoring-skills` |
| 2 | Commands | `assets/profiles/phase-2-commands.md` | `command-dev` |
| 3 | Tools | `assets/profiles/phase-3-tools.md` | `custom-tools-dev` |
| 4 | Permissions | `assets/profiles/phase-4-permissions.md` | `opencode-platform-reference` |
| 5 | Agents | `assets/profiles/phase-5-agents.md` | `agents-and-subagents-dev` |
| 6 | Subagents | `assets/profiles/phase-6-subagents.md` | `agents-and-subagents-dev` |
| 7 | Verification | spec-verifier agent | Independent validation pass |

Dispatch each via Task tool with `run_in_background: true`.

### Phase 7: Sequential Synthesis (after 1-6 complete)

| Profile | Focus |
|---------|-------|
| `assets/profiles/phase-7-synthesis.md` | Aggregate all findings, write audit-report-YYYY-MM-DD.md |

## Subagent Profile Envelope

Each profile contains:

```
role: <specialist-auditor>
core_principle: <audit focus>
verification_dimensions:
  - <dimension-name>: <what to verify>
templates:
  - name: <template-name>
    description: <what-to-check>
    command: <bash-command-if-applicable>
forbidden_files:
  - <paths-to-avoid>
critical_rules:
  - <rule-1>
  - <rule-2>
structured_returns:
  findings: <json-schema>
  evidence: <file-references>
  risk_level: <none|low|medium|high|critical>
success_criteria:
  - <criterion-1>
  - <criterion-2>
```

## Dispatch Protocol

```
delegate-task (run_in_background: true)
  └── spawns: 6 parallel subagents (Phases 1-6)
      └── each MAY spawn multiple children for deep investigation
  └── after all complete → Phase 7 (sequential)
```

- NO YAML agent configuration files
- All routing controlled via this SKILL.md
- One subagent can spawn multiple children
- Parallel: 4-6 simultaneous subagents maximum

## Inputs

| Input | Description | Required |
|-------|-------------|----------|
| `target_repo` | Path to OpenCode project | Yes (defaults to cwd) |

From shynlee04/hivemind-plugin, MIT.

More from shynlee04/hivemind-plugin

Signals

Stars
51
Forks
16
Open issues
21
Last commit (this folder)
May 7, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
3.0.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from shynlee04

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get hm-l3-opencode-project-audit running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying hm-l3-opencode-project-audit?

CallGet help
Cite this page

hm-l3-opencode-project-audit skill. Agent Mart. https://agentmart.dev/skills/shynlee04-hm-l3-opencode-project-audit (last updated 2026-10-24)