Agent skill

opencode-zen

Invoke the 'opencode' CLI in headless mode for AI-powered code analysis, reviews, and second opinions. Use when you need a different AI perspective, the user mentions opencode, or requests batch code analysis.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill opencode-zen --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Allowed tools: Bash(opencode:*)ReadWriteGrepGlob
Path: skills/ai-llm/opencode-zen/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Opencode CLI Skill ## Overview This skill enables invocation of the `opencode` CLI in headless mode for automated AI analysis, code reviews, and generating insights without launching the TUI. Use opencode for: - Second opinions on code or architecture - Batch analysis of multiple files - Alternative AI perspectives (different model families) - Scenarios where the user explicitly requests opencode ## Available Providers Check current providers with `opencode models`. Common options: | Provider | Models | Notes | |----|----|----| | `groq/*` | qwen-qwq-32b, llama-3.3-70b-versatile, deepseek-r1-distill-llama-70b | Fast inference via Groq | | `opencode/*` | big-pickle, gpt-5-nano, grok-code | Opencode's hosted models | **Note**: The `opencode-zen` alias referenced in examples is a custom provider configuration. Until configured, substitute with an available model (e.g., `groq/qwen-qwq-32b`). ## Instructions ### Basic Headless Invocation ```bash # Basic prompt (uses default model) opencode run "Your prompt here" # With specific model opencode run -m groq/qwen-qwq-32b "Your prompt here" # With file context opencode run -m groq/llama-3.3-70b-versatile "Analyze this file" -f src/main.rs #

What's inside
Steps it walks through
  1. Overview
  2. Available Providers
  3. Instructions
  4. Basic Headless Invocation
  5. Output Control
  6. Configuration Options
  7. Examples
  8. Example 1: Code Review
  9. Example 2: Batch Analysis
  10. Example 3: Tech Debt Report
  11. Example 4: Architecture Review
  12. Example 5: Multi-turn Session
  13. Best Practices
  14. Piping and Composition
Ships with 1 file
  • metadata.json
Commands it runs
Basic prompt (uses default model)
opencode run "Your prompt here"
With specific model
opencode run -m groq/qwen-qwq-32b "Your prompt here"
With file context
opencode run -m groq/llama-3.3-70b-versatile "Analyze this file" -f src/main.rs
Multiple files
opencode run "Compare these two implementations" -f src/v1.rs -f src/v2.rs
JSON output for parsing
opencode run "Your prompt" --format json
More from claude-skill-registry
All skills →
About this skill
What does the opencode-zen skill do?

Invoke the 'opencode' CLI in headless mode for AI-powered code analysis, reviews, and second opinions. Use when you need a different AI perspective, the user mentions opencode, or requests batch code analysis.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill opencode-zen --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going