opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: Skill Registry + Installer for Awesome-Claude-Skills (Make OpenCode the One Tool)

Open super-unique-ai opened this issue 10 months ago β€’ 8 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

TL;DR: Add a Skill Registry plus Skills Manager to OpenCode so we can browse, install, pin, update, and remove skills from curated sources, starting with ComposioHQ/awesome-claude-skills.


πŸ”— Links


🧠 Motivation

OpenCode already supports Agent Skills via SKILL.md discovery. What’s missing is a distribution and management layer that makes skills easy to find, install, trust, and keep updated.

awesome-claude-skills is a large catalog of practical, repeatable workflows. Integrating it would expand OpenCode beyond coding into standardized workflows for docs, spreadsheets, research, automation, and more.


❗ Problem

Current state

  • Skills are manual to install (copy folders around).
  • No built-in way to:
    • πŸ”Ž search a catalog
    • πŸ“₯ install and remove cleanly
    • πŸ“Œ pin versions
    • πŸ” update safely
    • 🧾 show provenance and licensing

Result

  • Skills are powerful but not discoverable.
  • Keeping skills updated is annoying and error-prone.
  • Duplication increases because reuse is hard.

βœ… Proposal

1) Add a Skill Registry concept

A registry is a source of skills that OpenCode can index.

Default registry (MVP):

Future optional registries:

  • Any public Git repo
  • Private repos via auth
  • npm packages (later)

Registry metadata should include:

  • skill name
  • short description
  • category tags
  • license info plus warnings
  • version info (tag or commit SHA)
  • optional trust signals (verified registry, signed tags, etc.)

2) Add a Skills Manager (CLI and TUI first)

Ship core functionality behind commands first (UI can come later after design review).

Suggested commands

/skills search <query>
/skills info <skill>
/skills install <skill> [--version <sha|tag>] [--scope user|project]
/skills update [<skill>]
/skills remove <skill>
/skills list

Install scopes

  • User scope (global)
    ~/.config/opencode/skills/<skill>/SKILL.md

  • Project scope (local, preferred default)
    .opencode/skills/<skill>/SKILL.md

This complements the existing Agent Skills discovery model.


🎯 MVP Deliverables

πŸ“š Registry indexing

  • [ ] Fetch registry source (git clone or pull)
  • [ ] Detect skill folders containing SKILL.md
  • [ ] Build an index (name, description, tags)

πŸ“₯ Install plus provenance

  • [ ] Install copies skill folder into chosen scope
  • [ ] Write a manifest file recording provenance:
    • registry source URL
    • commit SHA or tag installed
    • installed timestamp
    • installed files list (optional but ideal)

Example manifest:

{
  "source": "https://github.com/ComposioHQ/awesome-claude-skills",
  "skill": "pdf",
  "version": "a1b2c3d4",
  "installedAt": "2026-01-13T00:00:00Z",
  "scope": "project"
}

πŸ” Updates

  • [ ] skills update pulls latest registry changes
  • [ ] Update re-syncs installed skills (preferably with diff preview or confirmation)
  • [ ] Preserve user edits if skills are modified locally (either warn, or require --force)

🧾 Licensing

  • [ ] Display repo license (Apache-2.0) and warn that individual skills may differ
  • [ ] Warn (or optionally block) installs when license data is missing or unclear
  • [ ] Surface license info in /skills info <skill>

πŸ›‘οΈ Security and Safety Considerations

Third-party skills should be treated as untrusted content by default.

Install-time confirmation should show:

  • registry source plus URL
  • pinned version (SHA or tag)
  • files to be installed
  • best-effort risk hints (heuristics):
    • filesystem access
    • shell invocation
    • network calls
    • integrations and automation

Recommended defaults

  • Prefer project scope installs to reduce unexpected global changes
  • Default to pinned installs (commit SHA) for reproducibility
  • Provide a --verify mode to show exactly what will be written before installing

🌟 Why awesome-claude-skills first

  • Large catalog, actively maintained
  • Consistent SKILL.md pattern
  • Covers high-value workflows (docs, data, automation, productivity)

Source:


βœ… Acceptance Criteria

  • [ ] /skills search pdf shows results from awesome-claude-skills
  • [ ] /skills info pdf shows description, tags, license, source URL, and available versions (tag or SHA)
  • [ ] /skills install pdf --scope project installs into .opencode/skills/pdf/
  • [ ] Installed skills are discoverable and usable via OpenCode Agent Skills behavior
  • [ ] /skills install ... --version <sha|tag> pins to a deterministic version
  • [ ] /skills update updates safely and preserves provenance
  • [ ] Each installed skill includes a manifest with source plus version
  • [ ] Clear provenance plus license warnings on install

🧱 Implementation Strategy (Incremental)

  1. Registry fetch plus index
  2. Install plus manifest
  3. List and remove
  4. Update
  5. Trust model plus warnings
  6. Optional: UI layer after design review

πŸ” Alternatives Considered

Manual installs (copy folders, submodules)

βœ… Works for power users
❌ Not discoverable
❌ No update UX
❌ No provenance or pinning

One big bundled pack

❌ Hard to update selectively
❌ Poor provenance and attribution
❌ Doesn’t scale


πŸš€ Optional Path: Start as an Official Plugin

If maintainers prefer keeping core small initially, ship this as an official plugin that:

  • indexes registries
  • manages install, update, remove
  • writes into existing skills discovery paths

Then graduate parts into core once validated.


πŸ™Œ Notes for Maintainers

  • This issue is intentionally scoped to be incremental and reviewable.
  • UI can be deferred; the CLI and TUI commands provide immediate value.
  • Registry schema can start minimal and evolve (name, description, tags, license, version).

super-unique-ai avatar Jan 14 '26 07:01 super-unique-ai

This issue might be a duplicate of or closely related to existing issues. Please check:

  • #8292: [FEATURE]: A TUI management interface similar to Neovim Mason - requests a unified management dashboard for plugins, skills, agents, and LSPs
  • #7846: [FEATURE]: Add /skills command to list and quick-invoke skills - requests ability to list and quickly invoke skills via CLI
  • #7467: [FEATURE]: GitHub-based Agent Marketplace for Sharing and Discovering Agents - similar concept for agent discovery and distribution
  • #8304: [FEATURE]: plugin support skills - requests that plugins can support skills like agents
  • #7716: [FEATURE]: add "/plugins" commands to discover Plugins, MCPs, and Skills - similar discovery mechanism (now closed)

This feature request goes beyond these issues by proposing a complete registry system with install, update, and version management capabilities. However, understanding these related issues may help inform implementation and prevent duplicating efforts in the UI/discovery layer.

github-actions[bot] avatar Jan 14 '26 07:01 github-actions[bot]

This issue might be a duplicate of or closely related to existing issues. Please check:

This feature request goes beyond these issues by proposing a complete registry system with install, update, and version management capabilities. However, understanding these related issues may help inform implementation and prevent duplicating efforts in the UI/discovery layer.

No, This is a new feature request.

super-unique-ai avatar Jan 14 '26 07:01 super-unique-ai

Looking forward to this feature

n-pll avatar Jan 14 '26 07:01 n-pll

I think we're overcomplicating this. OpenCode already has a distribution mechanism that works: plugins via npm.

Before creating a parallel Skill Registry system, we should consider that this problem has already been raised in:

  • #6013 - Add Skill Configuration to Config Type
  • #6347 - Plugin Hook for Registering Additional Config Directories

The simpler solution: let plugins export skills the same way they already export tools.

import { type Plugin } from "@opencode-ai/plugin"

export const MyPlugin: Plugin = async (ctx) => {
  return {
    // This already works
    tool: {
      myTool: tool({ ... }),
    },
    
    // This should also work
    skill: {
      "pdf": skill({ ... }),
    },
  }
}

Benefits over a separate Skill Registry:

  • No new infrastructure - npm IS the registry
  • Consistent model - one mechanism for all extensions
  • Composability - a plugin can bundle skills + complementary tools + hooks together
  • Already familiar - developers know npm, no new commands to learn

The /skills install UX is nice, but it's essentially duplicating what "plugin": ["package-name"] in opencode.json already does.

I'd suggest focusing effort on #6013 and #6347 first, which would solve this problem without adding a parallel system.

kvnwolf avatar Jan 16 '26 21:01 kvnwolf

As an alternative to a full Skill Registry system, I've opened a PR that extends the existing plugin mechanism: #9010

Plugins can now bundle skills:

export const MyPlugin: Plugin = async () => ({
  skill: ['./skills/pdf', './skills/docs/*']
})

This keeps npm as the distribution mechanism and allows plugins to package skills + tools + hooks together. It's a simpler foundation that could later support a discovery layer like the one proposed here.

Would appreciate feedback from the community!

kvnwolf avatar Jan 17 '26 02:01 kvnwolf

How many registries are there on GitHub for Claude Code? Seems like there are at least a dozen that are used by many?

TomLucidor avatar Jan 20 '26 07:01 TomLucidor

How about reuse claude plugin marketplaces? Plugins Document for Claude

wang-silas avatar Jan 21 '26 04:01 wang-silas

To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

github-actions[bot] avatar Mar 28 '26 03:03 github-actions[bot]