Skip to content
    ↑↓ select↵ openesc close
    Expert-Vision-Software

    Architect

    opencode-architect·v0.9.2·MCP Integrations

    OpenCode plugin and CLI with ten specialist agents for agent skills, slash commands, custom tools, plugins, and MCP server integration

    GitHub stars

    0

    Monthly installs

    1,431

    391 in 7 days

    Composite score

    39.4

    Multi-signal model

    Last commit

    7 hours ago

    2026-10-05

    Install and configure

    opencode.json

    Writes to this project's opencode.json — applies to this repository only.

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-architect@0.9.2"]
    }

    OpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.

    npm version Bun License: MIT Platforms OpenCode plugin

    Ten specialist agents that design, build, and package OpenCode extensions — agent skills, slash commands, custom tools, plugins, and MCP server integrations — right inside your AI coding assistant.

    opencode-architect is an OpenCode plugin and CLI that ships a suite of AI agent experts for OpenCode work: designing agents, creating skills and slash commands, building plugins and custom tools, integrating MCP servers, and packaging extensions for npm. Install it once and every specialist agent is available in your coding sessions.

    Quick start: install the OpenCode plugin suite

    Option 1 — Install as an OpenCode plugin

    Add the package to the plugin array in your OpenCode config — .opencode/opencode.json in your project, or ~/.config/opencode/opencode.json for all projects:

    {
      "plugin": ["opencode-architect@latest"]
    }
    

    The plugin registers the full agent suite at startup, with self-contained bundled references — no network sync.

    Option 2 — Install with the CLI (bunx or npx)

    The CLI registers the package as a plugin: it adds opencode-architect@latest to the plugin array of your OpenCode config with surgical text editing (comments and formatting elsewhere in the file are preserved), then records the registration in an opencode-architect.manifest.json manifest at the scope base. Nothing is copied — the agents, references, and templates all load from the package at startup.

    # Project scope (default): edits the ./.opencode/ or repo-root config
    bunx opencode-architect install
    
    # Global scope: edits the XDG/home config, creating opencode.jsonc if absent
    bunx opencode-architect install --scope global
    

    npx opencode-architect install works the same way if you prefer npm's runner.

    Useful flags and commands:

    bunx opencode-architect status                  # show mode, version, and the config file holding the entry
    bunx opencode-architect uninstall               # remove the plugin entry, the manifest, and any residual payload
    bunx opencode-architect clear-cache             # remove cached copies of this package from OpenCode's package cache
    bunx opencode-architect clear-cache --all --yes # remove the whole OpenCode cache directory (destructive)
    bunx opencode-architect clear-cache --dry-run   # preview what clear-cache would remove without deleting
    bunx opencode-architect install --force         # re-register and rewrite the manifest even when up to date
    bunx opencode-architect --help                  # full usage
    

    Re-running install when the manifest matches reality is a zero-write no-op. --mode copy is refused with an explanatory error: this package is code-backed (it ships agents), and copying cannot express plugin registration.

    Every install — including a no-op — also clears this package's stale copies from OpenCode's package cache ($XDG_CACHE_HOME/opencode/packages, falling back to ~/.cache/opencode/packages): opencode-architect, opencode-architect@latest, and opencode-architect@<installed version>. Pinned copies like opencode-architect@0.6.0 and other packages' cache dirs are left untouched. This makes OpenCode re-fetch the just-installed version on next start instead of reusing a stale or partial extraction. Removal is best-effort: a failure prints a warning but the install still succeeds.

    Upgrading from a copy install (pre-0.8): if a previous version copied agents into your scope base, install detects the old manifest, removes exactly the files it lists, prints a notice, and switches the scope to plugin registration in one step. Locally modified files are tracked by hash; uninstall and migration only remove what the manifest recorded.

    clear-cache is a manual-only command (never invoked at load time) for removing cached copies from OpenCode's package cache ($XDG_CACHE_HOME/opencode/packages, falling back to ~/.cache/opencode/packages). With no flags it removes opencode-architect and every opencode-architect@* copy. --package <name> removes <name> and every <name>@*; --all removes the whole OpenCode cache directory ($XDG_CACHE_HOME/opencode, falling back to ~/.cache/opencode). --dry-run lists what any mode would remove without deleting anything, and previews broad modes without --yes. Both broad modes require --yes to confirm, are mutually exclusive, and package names containing path separators or .. are rejected. The command is idempotent — running with nothing cached succeeds — and removal failures warn without changing the exit code.

    What you get: ten specialist OpenCode agents

    Ten specialist agents, one router:

    Agent What it does
    opencode-architect Routes OpenCode meta tasks to the right specialist — agents, skills, commands, tools, plugins, MCP setup, packaging, publishing
    opencode-agent-designer Designs OpenCode agents and orchestrator subagents — roles, constraints, tools, permissions
    opencode-skill-creator Creates OpenCode skills in .opencode/skills — SKILL.md, frontmatter, progressive disclosure
    opencode-command-crafter Creates OpenCode slash commands in .opencode/commands — prompt templates, $ARGUMENTS, frontmatter
    opencode-tool-builder Creates OpenCode custom tools in .opencode/tools — Zod schemas and execute logic
    opencode-plugin-engineer Builds OpenCode plugins in .opencode/plugins — event hooks, custom tools, TypeScript
    opencode-mcp-integrator Configures MCP servers and tool scoping in opencode.json — local/remote servers, permissions
    opencode-packager Packages OpenCode extensions for local sharing across projects — file:/// plugin packages
    opencode-publisher Publishes OpenCode extensions to npm — transforms local packages into distributable ones
    opencode-extension-auditor Analyzes .opencode/ contents and reports packaging readiness — inventory, dependencies, complications

    Also bundled and installed with the agents:

    • References — self-contained docs covering stable OpenCode fundamentals: agents, commands, config, MCP servers, plugins, prompt engineering, skills, tools, plus worked one-shot examples
    • Templates — starter files for new skills, plugins, package manifests, and TypeScript configs

    When to use these OpenCode agents

    Reach for opencode-architect whenever you want to:

    • Spin up new OpenCode agents with consistent frontmatter and tool permissions
    • Create agent skills and slash commands with solid prompt engineering
    • Build OpenCode plugins and custom tools in TypeScript
    • Integrate MCP servers into your OpenCode setup with confidence
    • Package and publish your extensions so other developers can install them

    Requirements

    • OpenCode — the AI coding assistant the plugin extends
    • Bun — runs the plugin and the CLI (bunx); if you use npx, Bun must still be on your PATH because the CLI ships as TypeScript

    Development

    Install dependencies:

    bun install
    

    Type check:

    bun run check
    

    Run the test suite:

    bun test
    

    Acknowledgements

    • OpenCode - The AI coding assistant that makes this plugin possible
    • Bun - The fast all-in-one JavaScript runtime
    • qforge - Original developer of this project

    Similar plugins