Skip to content
    ↑↓ select↵ openesc close
    andresnator

    Skill Registry

    opencode-skill-registry·v0.2.1·Tools & Commands

    OpenCode plugin that generates a lightweight per-project index of skills and convention files.

    GitHub stars

    0

    Monthly installs

    129

    24 in 7 days

    Composite score

    31.9

    Multi-signal model

    Last commit

    26 days ago

    2026-09-09

    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-skill-registry@0.2.1"]
    }

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

    npm version

    Automatically generate a lightweight index of the skills active in an OpenCode project.

    When OpenCode opens or restarts in a project, the plugin creates or updates:

    <project>/.ai/atl/skill-registry.md
    <project>/.ai/atl/skill-registry.hash
    

    There is no manual generation step and no /skill step for users. The plugin queries OpenCode's resolved skill list internally.

    Install

    Requires OpenCode >=1.17.15 <2.

    opencode plugin opencode-skill-registry --global
    

    Restart OpenCode and open a project. The files appear automatically.

    Use

    Consumers match a description in skill-registry.md, then load that skill through OpenCode's native skill tool. Filesystem entries can also be read at their listed location. The registry is an index, not a copy of skill bodies.

    Sources

    OpenCode decides which skills are active. The registry groups that resolved list in this display order:

    Source Includes
    OpenCode Built-in skills, .opencode/{skill,skills}, global config, skills.paths, and skills.urls
    Agents Project and global .agents/skills
    Claude Project and global .claude/skills

    OpenCode resolves duplicate names before the plugin sees them. The registry records the same winner instead of imposing separate precedence. Each entry includes the name, description, and location returned by OpenCode.

    Convention references

    Files such as AGENTS.md, CLAUDE.md, .cursorrules, and GEMINI.md appear in a separate reference section. They are not presented as active skills or as OpenCode's active instruction set.

    The plugin does not enable sources or inspect a Claude executable. OpenCode's OPENCODE_DISABLE_CLAUDE_CODE_SKILLS and OPENCODE_DISABLE_EXTERNAL_SKILLS flags are reflected unchanged. A project-level skills/ directory appears only when OpenCode resolves it, for example through skills.paths.

    Automatic cycle

    flowchart TD
        A[OpenCode opens a directory] --> B[config hook starts the plugin once]
        B --> C[OpenCode resolves skills for that directory]
        C --> D[Plugin renders the registry at the project root]
        D --> E{Content and hash match?}
        E -- Match --> F[Keep both files unchanged]
        E -- Missing or changed --> G[Write the registry and hash]
        F --> H[Snapshot stays fixed until restart]
        G --> H
    

    In Git, the project root is the root of the current worktree. Outside Git, it is the directory opened in OpenCode.

    Startup failures may retry up to three times during the same session. Retries recover a failed generation; they do not refresh a successful snapshot.

    Storage details

    • Store generated state under project-local .ai/atl/.
    • Hash the exact rendered Markdown and repair a missing or corrupted registry.
    • Publish the registry and hash through same-directory temporary files.
    • Leave Git exclusion of .ai/ to the surrounding harness or installer.
    • Keep a stable startup snapshot; restart OpenCode to include skills added during a session.
    • Query only the local OpenCode client; do not fetch configured skill URLs independently.

    The package has no runtime npm dependencies. Its root and ./server entrypoints load the same server plugin.

    Update or remove

    A bare opencode-skill-registry entry follows npm latest. To pin a release:

    opencode plugin opencode-skill-registry@<version> --global --force
    

    To remove the plugin, delete only its matching string or tuple from the global opencode.jsonc or opencode.json, preserve every other entry, and restart OpenCode. There is no global npm installation to uninstall. Generated .ai/atl/ files remain until removed separately.

    Develop

    pnpm install --frozen-lockfile
    pnpm run check
    pnpm run security:check
    

    See Contributing for local loading and review rules.

    Help

    Similar plugins