Bootstrap or align a source-first Agent Skills repository with root `skills/`, repo-local discovery mirrors, maintainer docs, and clear Codex plugin-boundary wording. Use when creating a new skills repo or structurally aligning an existing one. Do not use this for narrow README-only, roadmap-only, or host-adapter design work.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-portability-skills:bootstrap-skills-plugin-repoThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Bootstrap or align a source-first Agent Skills repository.
Bootstrap or align a source-first Agent Skills repository.
This is the Codex-ready bootstrap workflow inside Agent Portability Skills. Use it for the shared skills repository shape first, then hand off to future host-adapter workflows when a target such as Zed Agent, Xcode, OpenCode, or Claude Code needs additional package or config decisions.
State plainly that OpenAI's documented Codex plugin system exposes repo-visible plugins through marketplace catalogs and does not document a richer repo-private scoping model beyond that. This repository pattern allows root .codex-plugin packaging. Do not normalize nested staged plugin directories or installer-era helper workflows for this repo family.
Before adding detailed guidance about Codex Plugins, Skills, MCP, Hooks, marketplaces, or subagents, refresh the relevant OpenAI Codex docs. Keep generated repo guidance focused on durable local policy and link to the official docs for details that can drift.
When bootstrapping or aligning a plugin repo, follow the current OpenAI plugin structure:
.codex-plugin/plugin.jsonplugin.json belongs in .codex-plugin/skills/, .app.json, .mcp.json, hooks/, and assets/ belong at the plugin root"skills": "./skills/""hooks": "./hooks/hooks.json"; if hooks live at ./hooks/hooks.json, Codex checks that default path automaticallysource.path should point at the plugin root directoryWhen creating or aligning AGENTS.md, include strict dependency guidance:
For existing repositories that need broad guidance drift discovery before edits, prefer sync-skills-repo-guidance and its skills-repo-guidance-sync custom-agent role. For Socket-wide docs, marketplace, or proposal planning, run Socket Steward first when its deterministic audits fit the question. Use this bootstrap skill for new repository structure or structural alignment after the main thread has reviewed any audit or subagent findings.
When creating or aligning skills that can benefit from parallel support work, add optional Codex Subagent Fit guidance that matches OpenAI's current Codex subagent docs:
default, worker, and explorer; mention project-scoped custom agents under .codex/agents/ only when the repo intentionally owns agent configuration.Do not add subagent guidance to every skill by default. Use docs/maintainers/codex-subagent-skill-guidance.md to decide whether the target skill has real parallelizable support work.
Bootstrap docs should make the Git-backed marketplace path the default user install/update story:
codex plugin marketplace add <owner>/<repo>
codex plugin marketplace upgrade <marketplace-name>
Use explicit refs such as <owner>/<repo>@vX.Y.Z only for pinned reproducible installs. Use manual local marketplace or copied-payload instructions only for local development, unpublished testing, or fallback cases.
Keep discovery mirrors, plugin packaging, marketplace catalogs, plugin payload directories, installed cache paths, and config-state separate. Do not blur "where Codex can see a plugin", "where the plugin payload lives", "how Codex updates the marketplace", and "whether the plugin is enabled" into one sentence.
If you mention project-scoped .codex/config.toml, describe it as a general Codex config surface from the config reference, not as a separate documented plugin install surface.
When the bootstrapped repository has a GitHub remote, use
productivity-skills:maintain-github-repository to audit or apply the current
recommended GitHub repository settings. Keep local structure bootstrap separate
from server-side settings mutation, keep visibility changes approval-gated, and
preserve any documented maintainer direct-push workflow.
The GitHub settings pass should cover repository features, merge modes, Dependabot and security settings, private vulnerability reporting for public repos, web commit sign-off when DCO applies, and branch protection that requires the actual CI check context without requiring unavailable reviewers.
npx claudepluginhub gaelic-ghost/socket --plugin agent-portability-skillsCreates, edits, and verifies skills using a test-driven development approach with pressure scenarios and subagents.