pluginstaller
Installation
SKILL.md
Pluginstaller
Use when the user gives a GitHub repo for a Codex plugin and wants it available in Codex.
Follow the current Codex plugin docs. Do not invent alternate install flows.
Inputs
- GitHub repo URL or
owner/repo - Install scope:
repoorpersonal - If the repo contains more than one plugin root, ask which plugin folder to install.
Workflow
- If the user does not specify whether the plugin should be repo-scoped or personal, stop and ask.
- Fetch the repo and locate the plugin root by finding
.codex-plugin/plugin.json. - Read
.codex-plugin/plugin.jsonand validate the canonical structure:name,version, anddescriptionshould exist.- Bundled paths such as
skills,apps, andmcpServersshould be relative to the plugin root and start with./. - Only
plugin.jsonshould live inside.codex-plugin/.
- Prefer the built-in
@plugin-creatorskill when the task is to scaffold a new local plugin or add an existing local plugin to a marketplace. Use the manual path below when you are wiring up a repo the user already provided. - Copy the entire plugin directory, not just
SKILL.md, into a marketplace-visible location. Default to the documented standard locations unless the repo already uses a different valid marketplace-relative path:repo:$CWD/plugins/<plugin-name>and$CWD/.agents/plugins/marketplace.jsonpersonal:~/.codex/plugins/<plugin-name>and~/.agents/plugins/marketplace.json
- Preserve the full bundle at the plugin root, including sibling
skills/,.app.json,.mcp.json,assets/, and any other plugin files. Do not move those files under.codex-plugin/. - Create or update the marketplace file with the documented schema:
- top-level marketplace
name - optional
interface.displayName - plugin entry
name source.source = "local"source.pathrelative to the marketplace root:repo:./plugins/<plugin-name>personal:./.codex/plugins/<plugin-name>
policy.installationpolicy.authenticationcategory
- top-level marketplace
- Use marketplace values that match the docs unless the user says otherwise:
policy.installation = "AVAILABLE"policy.authentication = "ON_INSTALL"categoryfrominterface.categorywhen present, otherwiseProductivity
- Merge into any existing marketplace file instead of replacing it.
- Restart Codex and verify the plugin appears in
/plugins. - Report the runtime behavior accurately:
- The marketplace entry points to the source plugin directory.
- Codex installs the plugin into
~/.codex/plugins/cache/<marketplace>/<plugin>/<version>/. - For local plugins, the installed cache version is
local. - Plugin enabled or disabled state is stored in
~/.codex/config.toml.
Rules
- Prefer the terms
repo marketplaceandpersonal marketplaceoverworkspaceandglobal. - Do not present copying into
plugins/as the complete install. The marketplace entry is what makes the plugin discoverable in Codex. - Do not flatten or rename the plugin bundle.
- Keep the plugin
namestable and consistent across folder, manifest, and marketplace entry. - Keep manifest and marketplace paths relative and
./-prefixed where the docs require it. - Treat the documented repo and personal plugin directories as defaults, not absolute requirements, as long as the marketplace
source.pathremains valid and stays inside the marketplace root. - If the repo already ships a marketplace file, prefer it as the source of truth for marketplace ordering and metadata, and only add or update the plugin entry that is needed.
- If the manifest is missing required basics or uses invalid root-relative paths, fix the plugin structure before claiming installation is complete.
Scope guide
Use repo when the plugin should live with one repo or be shared through that repo's marketplace. Use personal when the plugin should be available from the user's own Codex setup across projects.
Weekly Installs
3
Repository
am-will/codex-skillsGitHub Stars
855
First Seen
11 days ago
Security Audits
Installed on
codex3
opencode2
gemini-cli2
deepagents2
antigravity2
github-copilot2