# Install Opencode Plugin

> Compatibility shim for OpenCode installs. Use when a developer asks to install, update, enable, reinstall, remove, or verify Understudy in OpenCode - "install Understudy in OpenCode", "add the OpenCode skills", "make OpenCode see the skills". Route to install-agent-adapter with platform opencode.

- **Type:** Skill
- **Install:** `agentstack add skill-understudylabs-understudy-agent-tools-install-opencode-plugin`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [understudylabs](https://agentstack.voostack.com/s/understudylabs)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [understudylabs](https://github.com/understudylabs)
- **Source:** https://github.com/understudylabs/understudy-agent-tools/tree/main/skills/install-opencode-plugin

## Install

```sh
agentstack add skill-understudylabs-understudy-agent-tools-install-opencode-plugin
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Install the Understudy OpenCode skills

This skill is a compatibility shim. The consolidated setup surface is
[`install-agent-adapter`](../install-agent-adapter/SKILL.md).

The legacy skill name says "plugin" for compatibility with older prompts, but
the OpenCode implementation is not a JS/TS OpenCode plugin. It is a native
skills/commands adapter: symlink `SKILL.md` directories into OpenCode's global
skills directory and link the `/understudy-onboard` markdown command.

## Procedure

Load `install-agent-adapter` and run it with platform `opencode`.

Use its [`reference.md`](../install-agent-adapter/reference.md#opencode) for the
current native skill symlink install:

```bash
mkdir -p "$HOME/.config/opencode/skills" "$HOME/.config/opencode/commands"
```

The reference links each `skills//` directory into OpenCode's global skill
directory and links `.opencode/commands/understudy-onboard.md`.

Activation:

```text
Restart OpenCode or open a new TUI session.
/understudy-onboard
```

## Safety Gates

Local-first and free: installing the OpenCode adapter only links local skills. It
must not authenticate, upload data, inspect secret values, download model
weights, start hosted jobs, or make provider calls.

- Do not overwrite existing non-Understudy OpenCode skills or commands.
- Do not copy private traces, keys, or `.understudy/` state into OpenCode config.
- Use symlinks back to this repo's shared `skills/` tree.
- If OpenCode asks before reading symlinked external resources, let the user
  make that permission decision; do not copy skill content to bypass it.

## Resolve CLI

No Understudy CLI command is required. Use shell to create symlinks after
confirming the repo contains `skills/understudy/SKILL.md`.

## Output Standard

End with: that this routed through `install-agent-adapter`; whether OpenCode
skills were linked/refreshed/skipped due to conflicts; the restart/new-session
step; `/understudy-onboard`; and the uninstall command.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [understudylabs](https://github.com/understudylabs)
- **Source:** [understudylabs/understudy-agent-tools](https://github.com/understudylabs/understudy-agent-tools)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-understudylabs-understudy-agent-tools-install-opencode-plugin
- Seller: https://agentstack.voostack.com/s/understudylabs
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
