opencode-audit
2
总安装量
2
周安装量
#69206
全站排名
安装命令
npx skills add https://github.com/idokendo/opencode-audit --skill opencode-audit
Agent 安装分布
mcpjam
2
kiro-cli
2
gemini-cli
2
antigravity
2
windsurf
2
zencoder
2
Skill 文档
OpenCode Audit Skill
What this skill does
This skill runs a practical OpenCode audit and outputs:
- a 100-point score with grade
- category-by-category findings
- concrete, ready-to-use commands and config snippets
- a short remediation plan
When to use
Use this skill when the user asks to:
- audit OpenCode setup quality
- improve OpenCode safety and permissions
- review agents, commands, skills, MCP, or plugins
- prepare a hardening checklist before team rollout
Required inputs
- Target repo or config path
- Optional focus area (permissions, agents, skills, runtime checks)
Audit workflow
- Load
references/OPENCODE-AUDIT.md. - Discover project and global OpenCode files.
- Score all 8 rubric categories.
- Build prioritized findings with evidence paths.
- Produce copy-paste remediation snippets.
- Return total score, grade, and 7-day plan.
Discovery checklist
AGENTS.md,.opencode/AGENTS.md,~/.config/opencode/AGENTS.md.opencode/config.json,.opencode/opencode.json,.opencode/opencode.jsonc~/.config/opencode/config.json,~/.config/opencode/opencode.json,~/.config/opencode/opencode.jsonc.opencode/agents/*.md,~/.config/opencode/agents/*.md.opencode/commands/*.md,~/.config/opencode/commands/*.md.opencode/skills/*/SKILL.md,~/.config/opencode/skills/*/SKILL.md.claude/skills/*/SKILL.md,~/.claude/skills/*/SKILL.mdwhen present- MCP and plugin sections in config
Output contract
Return in this order:
- Total score and grade.
- Category scores.
- Top findings with severity.
- Ready-to-use fixes.
- 7-day action plan.
Guardrails
- Stay OpenCode-specific; do not use non-OpenCode terminology unless compatibility paths are relevant.
- Do not invent files; only cite discovered paths.
- Keep fixes actionable and minimal.
- Prefer least-privilege recommendations for permissions.