Pan skill installer

From eltmon/overdeck · View interactive version

Pan skill installer is an AI agent skill from the GitHub repository eltmon/overdeck. Install an external skill or Claude Code plugin into Overdeck's bundled distribution so pan sync ships it to every Overdeck user

How to use this skill

Skill file

Installing Skills and Plugins into Overdeck's Distribution

This skill is for Overdeck developers only. It covers taking an external

artifact — a skill directory, a GitHub repo, or a Claude Code plugin — and

wiring it into the overdeck repo so pan sync distributes it to every

Overdeck user (or to Overdeck dev machines only).

Step 1 — Identify what you're installing

To use a third-party skill repository on your own machine, without shipping

it to every Overdeck user, register it as a skill pack instead:

pan skills pack add <id> <url> --ref <ref>. Packs are pinned to a commit

and are off until you turn them on. See features/skill-packs.mdx and

guides/skill-pack-authoring.mdx.

Fetch or inspect the source first. The artifact type determines the mechanism:

| Artifact | How to recognize it | Distribution mechanism |

|---|---|---|

| Plain skill | A directory with SKILL.md (plus optional scripts/references) | Copy into sync-sources/skills/<name>/ |

| Dev-only skill | Same shape, but only useful on an overdeck source checkout | Copy into sync-sources/dev-skills/<name>/ |

| Claude Code plugin | A repo with .claude-plugin/marketplace.json, installed via /plugin install — often has its own runtime (TypeScript, MCP servers, commands) | Add an entry to sync-sources/plugins.json |

| Third-party skill repo, for use rather than distribution | A skill repository you want on your own machine only, not shipped to every user | pan skills pack add |

A plugin can NOT be flattened into a skill: it carries slash commands and a

runtime that only Claude Code's plugin system can load. Conversely, a plain

skill should NOT go through the plugin manifest.

Step 2a — Bundled skill (`sync-sources/skills/`)

  1. Copy the skill directory (the folder containing SKILL.md) into

sync-sources/skills/<kebab-name>/. Vendor the whole directory —

scripts, references, templates.

  1. Ensure the frontmatter has name, description, and triggers. Match

the style of two neighbors before editing.

  1. Skills here reach all users on every machine and cost catalog space in

every session — keep the description tight.

Dev-only skills follow the same shape under sync-sources/dev-skills/; they

sync only when running from an overdeck source checkout (isDevMode()).

Step 2b — Claude Code plugin (`sync-sources/plugins.json`)

  1. Find the marketplace name and plugin name in the repo's

.claude-plugin/marketplace.json (name at the top level is the

marketplace; each plugins[].name is a plugin).

  1. Append an entry to sync-sources/plugins.json:

```json

{

"plugin": "<pluginName>@<marketplaceName>",

"marketplace": "<owner>/<repo>"

}

```

Example — the OpenAI Codex plugin (openai/codex-plugin-cc declares

marketplace openai-codex with plugin codex):

```json

{ "plugin": "codex@openai-codex", "marketplace": "openai/codex-plugin-cc" }

```

  1. Provisioning is implemented in src/lib/claude-plugins-provision.ts and

runs as a pan sync step: for each manifest entry it checks

claude plugin list --json, adds the marketplace if missing

(claude plugin marketplace add <source>), then installs at user scope

(claude plugin install <plugin> --scope user). It is idempotent and

degrades to a warning when claude is missing or the network install

fails — it never fails the sync.

  1. Plugins install for all users on machines with the claude CLI. There

is no dev-only plugin tier; if one is ever needed, that's a code change in

the provisioning module, not a manifest convention.

Step 3 — Sync, verify, commit

npm run build          # provisioning runs from dist via the pan CLI
pan sync               # look for the "Provisioning Claude Code plugins" /
                       # skills sync lines in the output
claude plugin list     # plugin installs only: confirm the id appears

For skills, confirm the copy landed in ~/.claude/skills/<name>/ and

~/.agents/skills/<name>/.

Then commit and push — bundled content ships with the package, so an

uncommitted skill or manifest entry exists only on your machine. Other users

receive it on their next pan install / pan sync after release.

Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.