harnesstap

Opencode Agent Plugin Support — Development skill for Claude Code

Development community

OpenCode plugin to load Claude Code plugins (skills, MCP, commands, instructions, agents, hooks).

How to install Opencode Agent Plugin Support

This entry records only its repository, not the path inside it, so there is no exact command to give. Open harnesstap/opencode-agent-plugin-support and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Opencode Agent Plugin Support does

OpenCode plugin to load Claude Code plugins (skills, MCP, commands, instructions, agents, hooks).

Alternatives in Development

README

@harnesstap/opencode-agent-plugin-support

[![CI](https://github.com/harnesstap/opencode-agent-plugin-support/actions/workflows/ci.yml/badge.svg)](https://github.com/harnesstap/opencode-agent-plugin-support/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/@harnesstap/opencode-agent-plugin-support.svg)](https://www.npmjs.com/package/@harnesstap/opencode-agent-plugin-support) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/harnesstap/opencode-agent-plugin-support/blob/main/LICENSE) [![OpenCode](https://img.shields.io/badge/OpenCode-v2%20%7C%20v1%20%E2%89%A51.18.29-0ea5e9)](#compatibility) [![Claude Code](https://img.shields.io/badge/Claude%20Code-plugins%20compatible-7c3aed)](#compatibility) [![TypeScript](https://img.shields.io/badge/TypeScript-5.x-3178C6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)

Loads **Claude Code plugins** and **[Agent Plugins](https://agent-plugins.org)** packages into OpenCode as native skills, slash commands, subagents, MCP servers, instructions, and lifecycle hooks. Plugin files stay where they are; nothing is copied into `.opencode/` or `~/.agents/skills`.

Unrelated to the former unscoped npm package `opencode-claude-plugins`.

Quickstart

  1. **Tell it where your plugins are.** Either:

    **a. Config file** (recommended). Point straight at Claude's plugin directory, no symlink:

    mkdir -p ~/.agents
    cat > ~/.agents/agent-plugin-support.json <<'JSON'
    {
      "$schema": "https://raw.githubusercontent.com/harnesstap/opencode-agent-plugin-support/main/schema/agent-plugin-support.schema.json",
      "sources": [
        { "path": "~/.claude/plugins", "format": "claude" }
      ]
    }
    JSON

    **b. Zero config.** With no config file, plugins are read from `~/.agents/plugins`, same layout as `~/.claude/plugins`. Symlink it:

    mkdir -p ~/.agents
    ln -s ~/.claude/plugins ~/.agents/plugins

    Codex also uses `~/.agents