skills/opencode-utility/SKILL.md
Use OpenCode as a coding utility for authorized work. Use when: building scripts, refactoring helpers, planning or implementing reusable coding utilities, converting one-off commands into maintainable tools, or offloading scripting-heavy work during an engagement. NOT for: reasoning-only tasks, trivial shell use, non-coding pentest decisions, or unsafe/unauthorized offensive tooling such as malware, phishing kits, or credential theft tools.
npx skillsauth add duriandurino/openclawrino opencode-utilityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use OpenCode to offload scripting and coding work while keeping assessment logic, prioritization, and decision-making in the main agent.
✅ USE this skill when:
❌ DON'T use this skill when:
Keep OpenCode in a support role.
The operator or phase agent decides:
OpenCode handles the coding-heavy part.
Use OpenCode only in support of authorized, legal work such as:
Refuse unsafe or unauthorized requests. Stay inside approved scope.
Prefer a MiniMax model in OpenCode when available and working well.
If MiniMax is unavailable or repeatedly produces weak output:
Choose the mode before invoking OpenCode.
Use plan mode when the code shape is still unclear.
Examples:
Plan-mode objective:
Use build mode when the coding target is already clear.
Examples:
Build-mode objective:
For medium or large coding tasks:
Prefer reusable scripts when the pattern is likely to recur.
Use these buckets:
Bias toward reusable utility for most scripting work, but do not overengineer tiny tasks.
Reusable upgrades can include:
Save outputs in the workspace so they are part of repo history.
Preferred locations:
scripts/opencode/throwaway/
scripts/opencode/session/
scripts/opencode/reusable/
Use these rules:
scripts/opencode/throwaway/scripts/opencode/session/scripts/opencode/reusable/Use OpenCode only when code writing is the bottleneck.
Do not invoke it for:
Choose one:
Default to reusable utility when the same pattern will likely recur.
Choose:
Default to the watcher-backed wrapper instead of raw opencode run when the task is more than trivial.
Preferred path:
python3 scripts/opencode/reusable/opencode_task.py \
--mode plan|build \
--utility-class throwaway|session|reusable \
--task "..."
Why:
Use raw opencode run only for tiny manual checks or when you explicitly do not need supervision.
Prefer prompts that are narrow, explicit, and dependency-light.
Plan prompt shape:
Analyze this coding task for an authorized security workflow. Prefer MiniMax. Do not build yet unless absolutely necessary. Propose the smallest useful utility design, suggested language, structure, inputs, outputs, reusability level, and any risks or assumptions.
Build prompt shape:
Build this coding utility for an authorized security workflow. Prefer MiniMax. Make it minimal but practical, preserve simplicity, avoid unnecessary dependencies, and provide a concise summary of what was created, expected inputs, outputs, and how it can be reused.
Before adopting the output:
scripts/opencode/ bucketPhase agents should use this skill only when the phase requires coding or scripting support.
Good fits:
Bad fits:
After using OpenCode, report briefly:
For CLI verification and OpenCode workspace assumptions, see references/opencode-cli-notes.md.
testing
Vulnerability analysis and CVE matching for penetration testing. Use when: user asks to check for vulnerabilities, match CVEs against service versions, analyze scan results for weaknesses, research exploitability, assess risk of discovered services, or identify known vulnerabilities. This is the analysis phase — no exploitation yet. NOT for: active scanning (use enum skill), exploitation (use exploit skill), or post-exploitation (use post skill).
development
Methodology and decision framework for the penetration testing vulnerability phase. Use when: validating scanner output, distinguishing confirmed vulnerabilities from hypotheses, explaining CVE/CWE/CVSS, prioritizing findings with KEV/EPSS/business context, guiding vuln-analysis workflow, or reinforcing evidence-backed reporting during the vulnerability phase. NOT for: initial recon or active enumeration, hands-on exploitation, post-exploitation, or replacing the specialized vuln skill's concrete checks.
development
Great slides need two things: content worth presenting and design worth looking at. #1 on DeepResearch Bench (Feb 2026) — CellCog researches and fills content mindfully from minimal prompts, no filler. State-of-the-art PDF generation for presentations, pitch decks, keynotes, and slideshows you can present as-is. Requires cellcog skill for SDK. If cellcog is unavailable, use gog slides as fallback (Google Workspace).
development
Methodology and quality framework for the penetration testing report phase. Use when: writing or QA-ing pentest reports, improving executive and technical readability, enforcing evidence completeness, adding remediation and retest guidance, including cleanup/restoration and residual risk, or securing report packaging and delivery. NOT for: running phase-specific testing tasks or replacing the specialized reporting implementation/publishing workflow.