GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - shahboura/agents-opencode: OpenCode-native agent and skill pack for planning, implementation, review, documentation, and CI/CD automation across multiple stacks.

BranchesTags
Open more actions menu

Latest commit

 

History

335 Commits
335 Commits

Folders and files

NameName
Last commit message
Last commit date
.githooks
.githooks
 
 
.github
.github
 
 
.opencode
.opencode
 
 
adapters
adapters
 
 
assets
assets
 
 
evals
evals
 
 
handoff
handoff
 
 
scripts
scripts
 
 
site
site
 
 
state
state
 
 
templates
templates
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitleaks.toml
.gitleaks.toml
 
 
.markdownlint.json
.markdownlint.json
 
 
.markdownlintignore
.markdownlintignore
 
 
.release-please-manifest.json
.release-please-manifest.json
 
 
AGENTS.md
AGENTS.md
 
 
BACKLOG.md
BACKLOG.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
DEPRECATIONS.md
DEPRECATIONS.md
 
 
DESIGN.md
DESIGN.md
 
 
LEARNINGS.md
LEARNINGS.md
 
 
LICENSE
LICENSE
 
 
MILESTONES.md
MILESTONES.md
 
 
PLAN.md
PLAN.md
 
 
README.md
README.md
 
 
THIRD_PARTY_NOTICES.md
THIRD_PARTY_NOTICES.md
 
 
install.js
install.js
 
 
opencode.json
opencode.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
release-please-config.json
release-please-config.json
 
 

Repository files navigation

OpenCode Agents

Ten agents. 28 on-demand skills. 18 commands. One install.

Validate npm version Documentation License: MIT Socket SkillSpector

An agent pack for OpenCode: @orchestrator plans, @codebase builds, @review checks, @docs records — one session.

Already on Claude Code? The same 28 skills ship as a plugin.

Quick Start

Requires: Node.js 24 or newer (the package's engines field) and the OpenCode CLI.

npx agents-opencode --global      # install into your global OpenCode config
opencode                          # start the TUI
/init                             # initialize a new session
@orchestrator Build a REST API with JWT auth

That last line triggers the orchestrator: it plans the work, delegates implementation to @codebase, quality checks to @review, and documentation to @docs — all in one session.

What it writes: the pack's .opencode/ tree (agents, commands, skills, instructions, plugin helpers) into the OpenCode config dir — $XDG_CONFIG_HOME/opencode/ or ~/.config/opencode/ for --global, .opencode/ for a project — plus only the opencode.json keys it manages (permission defaults; $schema when it creates the file). Other keys are never touched, and previous versions are backed up to .backups/ inside the install directory.

npx agents-opencode --status              # show detected install scopes
npx agents-opencode --uninstall --global  # remove a global install
More options (language filter, update, config target)
# Lighter install: keep only selected language skills
npx agents-opencode --global --languages python,typescript

# Update an existing install (auto-detects scope; --all, --global, or --project [dir] to be explicit)
npx agents-opencode --update

# Choose an OpenCode config target (default: auto)
npx agents-opencode --global --target v2    # emit v2 keys ('permissions'; 'plugins' only if a plugin entry exists)
npx agents-opencode --global --target auto  # detect the installed OpenCode version (v2 if major >= 2, else v1)

--languages prunes non-requested language skill directories only — shared workflow skills always stay.

Install: npm package and installer command: agents-opencode. OpenCode runtime command: opencode. Uninstall: targets the current project by default; timestamped backups are created before removal. Config: the installer only manages a small, target-specific key set in opencode.json: $schema, the plugin key when a plugin entry exists (plugin on v1 / plugins on v2), and permission defaults (permission on v1 / permissions on v2). It never writes both key sets, and it never rewrites your provider, model, instructions, share, or session compaction settings. Targets: --target v1|v2|auto (default auto). See OpenCode v1/v2 support.

Why this pack is different

  • One prompt, four disciplines. @orchestrator scopes the work, then hands off to @codebase for implementation, @review for quality, and @docs for documentation — in one session.
  • Skills that don't tax context. All 28 skills load only when invoked, so an idle skill costs nothing.
  • Least-privilege tools, host-compatible skills. Tools start at "*": "deny" with narrow allows; skills are allowed by default so host and plugin skills keep working.
  • Verified, not vibes. Agent contracts, command matrices, docs links, and plugin guards are checked in CI on every change.

Built with this pack

  • sha2lato — self-hosted coding-agent box: Discord is the control surface for OpenCode 2; every channel is a project, every thread a session.
  • stackr — pick self-hosted services, get a docker-compose file with a working .env, generated in your browser.
  • agnts — the docs and workflow reference for this pack, including the review gate and skills matrix.

A session, end to end

@orchestrator coordinates instead of just answering:

  1. Plan — breaks the request into phases and surfaces risks.
  2. Implement — delegates build work to @codebase, which follows your repo's conventions.
  3. Review — @review checks for bugs, security holes, and performance regressions before you ship.
  4. Document — @docs writes the README, API reference, and ADRs to match.

You approve the checkpoints; the specialists handle the handoffs.

Agents

Ten agents ship in the pack: seven delegation targets that the orchestrator calls, and three primary agents you run directly.

Agent Type Best for
@orchestrator Primary End-to-end features: plans, delegates to specialists, validates results
@codebase Delegation target Code across 10+ languages with auto-detected project conventions
@planner Delegation target Architecture reviews, risk assessment, step-by-step plans
@review Delegation target Bugs, security holes, and perf issues before they ship
@researcher Delegation target Grounding high-stakes decisions in current best practice
@docs Delegation target READMEs, API docs, ADRs, wiki pages
@brutal-critic Delegation target Ruthless content QA scored against a rubric, with line-cited fixes
@legal-advisor Delegation target License auditing, compliance checks, IP review, export controls
@blogger Primary (Tab switch / @mention) Blog posts, YouTube scripts, podcast outlines, resumes, LinkedIn profiles
@em-advisor Primary (Tab switch / @mention) 1-on-1 prep, team strategy, roadmap planning

@blogger and @em-advisor are primary agents — switch to them with Tab or mention them directly. They are not subagents (callable via the Task tool), so the orchestrator will not delegate to them.

Canonical source for skill triggers and the host-skill policy: Skills Matrix.

Commands

Type /command-name in the TUI to run:

Command Description
/code-review Comprehensive code review
/security-audit Security audit
/generate-tests Unit test generation
/refactor-plan Refactoring plan
/architecture-review Architecture review
/architecture-decision ADR creation
/design-audit Design reference audit (max 3 sourced proposals)
/api-docs Generate API documentation
/create-readme Generate README
/blog-post Blog post creation
/content-review Content quality scoring
/plan-project Multi-phase project planning
/execution-loop Bounded iterative execution workflow
/stop-loop Stop loop and summarize state
/checkpoint Phase-boundary checkpoint for human decision
/retro One durable check, standard, or drill from the last task
/1-on-1-prep Meeting preparation
/legal-review License, compliance, and data-privacy review

Command surface: the pack registers 56 catalog entries (10 agents + 18 commands + 28 skills). Kimaki/Discord caps the combined surface (agents + commands + skills + host skills) at 100 slash commands; if you hit the cap, trim low-value commands first.

Skills

28 skills live under .opencode/skills/, each defined in a SKILL.md:

  • 11 language skills — .NET, Flutter, Go, Java/Spring, Node/Express, Python, React/Next.js, Ruby/Rails, Rust, SQL migrations, TypeScript.
  • 17 workflow skills — API docs, ADRs, project bootstrap, refactoring, security audit, code-change impact, codebase discovery, UX/responsive, decision grounding, systematic debugging, test-driven development, verification before completion, blogging, brutal critique, legal compliance, alignment, writing for agents.

Docs and agent-config validation are commands, not skills: npm run validate:docs, npm run doctor, node scripts/validate-agents.js.

Skills load on demand via the skill tool. Coding standards and language guidance live in these skills — not in a sprawling instruction directory. A small set of shared reference instructions stays in .opencode/instructions/.

Scope is core-only: additions pass demand, clear-gap, ownership, and licensing/provenance checks.

Permission configuration (host-friendly defaults)

Skills are allowed by default. Nine of the ten agents can load any skill the host exposes (pack, plugin, or project) so host and plugin skills keep working; researcher is intentionally skill-free (read-only, deny-by-default baseline). To restrict skills, edit permission.skill in the installed agent file, or add a v2 hard-deny policy ({ "action": "integration.use", "resource": "skill:<id>", "effect": "deny" }). A global permission.skill rule does not restrict pack agents: agent rules are appended last and win. Treat project skills in untrusted clones as untrusted content.

Shell allowlist (codebase / orchestrator / em-advisor only). These three auto-approve content-free diagnostics (git status, ls, docker ps, kimaki session list — Kimaki is the Discord front end, inert when absent), kimaki buttons, and common test runners (npm/pnpm/yarn/bun test and run, pytest, go test, cargo test, dotnet test, flutter test, mvn test, rails test). Content readers (git diff/log/show, docker logs, kimaki session read) and every other command still ask; redirection and git --output force an ask; rm -rf and force-pushes stay denied. Playwright tests are allowed in the official forms (npx playwright test, pnpm exec playwright test, yarn playwright test) and from the installed binary (./node_modules/.bin/playwright test); browser installs and commands with a VAR=value prefix still ask. npx resolves the local package when installed and fetches an unpinned copy when it is missing, so install dependencies first. If the binary is not on that path (monorepo root, Yarn PnP), run the project's test script — npm test/pnpm test/yarn test are already allowed and resolve the binary wherever the package manager puts it. Put non-secret env vars in the host environment (shell profile or CI) or the project's test script; keep credentials in .env or CI secrets. PLAYWRIGHT_BROWSERS_PATH must point at a private, user-owned cache — Playwright executes the browser binaries it finds there. Test runners execute repo code — a deliberate trust decision. The other seven agents deny shell entirely; built-in agents (build) are unaffected by pack agent rules.

Subagent invocation (task) remains deny-by-default with explicit per-agent allowlists.

Real-world efficiency

Metrics from production usage (May–July 2026) on the deepseek-v4-pro model. Persistent context reuse keeps the bulk of input tokens cached across agent sessions.

Metric May 2026 June 2026 July 2026 Combined
Cache Hit Tokens 263.3M 21.9M 145.0M 430.2M
Cache Miss Tokens 7.9M 1.3M 2.7M 11.9M
Output Tokens 0.8M 0.2M 0.5M 1.5M
Total Requests 1,407 380 1,016 2,803
Cache Hit Rate 97.1% 94.4% 98.2% 97.3%
Avg Tokens/Request 193K 62K 146K 158K

Across 2,803 requests, 97.3% of input tokens were served from cache — less re-processing and faster session starts. That is the practical payoff of an on-demand skill model.

Installation

npx (recommended)

npx agents-opencode --global

Use --project (defaults to the current directory) for a project install.

Install mode

Mode What you get Pick this if…
File install (default) Agents, commands, skills, secret-read guard, context block You want the full pack — start here
Plugin spec (retired) Secret-read guard and context block only; no agents, commands, or skills Legacy 4.x entries — run the installer
Claude Code adapter Skills only — no agents or commands You use Claude Code

OpenCode v1 and v2 use different config keys, so the installer emits per-target output and never mixes the two. Select a target with --target v1|v2|auto (default auto detects the installed OpenCode version — v2 when the major is >= 2, else v1; it falls back to v1 when OpenCode is not detected). The installer records the target so uninstall reverts the right keys.

A file install adds no plugin entry: OpenCode auto-loads the bundled plugin from .opencode/plugins/, which ships only the secret-read guard and a two-line context block (the untrusted-memory rule, plus a state pointer when state/session-state.json exists). Agents, commands, skills, and config come from the installer; the file install is the supported path.

Plugin-spec installs are retired. An existing "plugin": ["agents-opencode"] (v1) or "plugins": ["agents-opencode"] (v2) entry still resolves in 4.x, loads the guard and the context block, and logs a warning, but delivers no agents, commands, or skills. Run npx agents-opencode --global (or --project .) to migrate; the installer strips the entry and the copied plugin keeps the guard. Version 5.0 removes the package entrypoint.

On OpenCode 2.0.30 the pack's 10 agents were discovered from v1-shaped frontmatter; 2.0.32 confirmed the resolved permission rules with opencode debug agents (bash→shell, task→subagent, skill→skill); on 2.2.5 the secret-read guard blocked a .pem read and the context block was re-injected after a 578k-token compaction. Session-error logging, context-budget bands, shell-env version injection, and plugin-spec skill delivery were removed rather than left unverified.

See OpenCode v1/v2 support.

Claude Code plugin

# Add marketplace (one-time)
/plugin marketplace add shahboura/agents-opencode-claude

# Install
/plugin install agents-opencode@shahboura

# Update
/plugin update agents-opencode@shahboura

This gives Claude Code access to the same 28 on-demand skills — skills only, no agents or slash commands — which load only when invoked, with no context cost until you use them. See adapters/claude-code/ for the plugin manifest and generator script.

Validation

Run npm run doctor for the complete local validation suite (agent contracts, markdown linting, docs links, session state, eval trends, and more). For the full check mapping (local commands ↔ CI gates), see Compatibility.

Scanned by NVIDIA SkillSpector. It runs on every push to main and every pull request targeting main; the score is pinned at 0/100 and CI fails if it moves. Latest report.

Agent evals: npm run eval:agents runs deterministic contract checks for agent and command metadata. npm run eval:agents:json writes machine-readable output.

Docs

  • Getting Started
  • Commands
  • Approval Gates
  • Review Gate
  • Compatibility
  • Deprecation & Migration Policy
  • Removed skills (4.0.0)
  • State Management
  • Skills Matrix
  • Decision Grounding
  • OpenCode v1/v2 Support
  • Full Documentation

Roadmap: a future major will standardize on OpenCode v2. Status: OpenCode v1/v2 support.

License

MIT © 2025–2026 Shehab Elhadidy. Portions adapted from third-party projects — see THIRD_PARTY_NOTICES.md.

If this pack saves you time, star the repo so others can find it.

About

OpenCode-native agent and skill pack for planning, implementation, review, documentation, and CI/CD automation across multiple stacks.

agnts.elkodr.com/

Topics

aiai-agentsautomationopencode-ai

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.