Skip to content

feat(codex): install AgentBox as a Codex plugin straight from this repo#81

Merged
madarco merged 1 commit into
mainfrom
codex-self-marketplace
Jun 7, 2026
Merged

feat(codex): install AgentBox as a Codex plugin straight from this repo#81
madarco merged 1 commit into
mainfrom
codex-self-marketplace

Conversation

@madarco
Copy link
Copy Markdown
Owner

@madarco madarco commented Jun 7, 2026

What

Makes this repo a single-plugin Codex marketplace so AgentBox installs directly from source — no dependency on any "awesome" list:

codex plugin marketplace add madarco/agentbox
codex plugin add agentbox@agentbox

Why the layout changed

Codex's marketplace requires the bundle under plugins/<name>/, and resolves skills/composerIcon relative to the plugin root (the dir containing .codex-plugin/) — verified against the working AgiFlow/ai-plugin and GanyuanRan/Aegis plugins and reproduced locally with codex-cli 0.134.0.

The previous repo-root .codex-plugin/ didn't satisfy this:

  • composerIcon: ./assets/icon.svg resolved to a non-existent repo-root assets/ (icon was nested inside .codex-plugin/assets/) → broken icon.
  • skills was an array ["./skills/"]; Codex and the marketplace generators only honor the string form → silently skipped.
  • the skill was a symlink pointing outside the bundle; Codex copies the bundle on install and doesn't follow it → empty skill.

Changes

  • Move bundle: repo-root .codex-plugin/plugins/agentbox/ (.codex-plugin/plugin.json + assets/icon.svg + skills/agentbox-info/).
  • Add .agents/plugins/marketplace.jsonsource.path: ./plugins/agentbox.
  • Manifest: skills is now "./skills/"; composerIcon resolves (icon sits beside the bundle).
  • Ship the skill as a real copy of the canonical apps/cli/share/host-skills/agentbox-info/SKILL.md.
  • Add drift guard scripts/check-plugin-skill-sync.mjs + pnpm check:plugin-skill, wired into CI; --fix resyncs after editing the canonical skill.
  • The Claude plugin (.claude-plugin/ + root skills/) is untouched.

Verified

codex plugin marketplace addcodex plugin add agentbox@agentbox installs with .codex-plugin/plugin.json, assets/icon.svg, and skills/agentbox-info/SKILL.md all present in the plugin cache. Drift guard passes in-sync, fails on drift (exit 1), and --fix restores.


Note

Low Risk
Packaging and CI-only checks; no changes to CLI runtime, relay, or auth flows.

Overview
Turns the repo into a single-plugin Codex marketplace so users can codex plugin marketplace add madarco/agentbox and install AgentBox from this source.

The Codex bundle now lives under plugins/agentbox/ (manifest, icon, skills) instead of a repo-root layout that broke composerIcon paths and skills loading (array vs string). The agentbox-info skill is shipped as a byte-for-byte copy of apps/cli/share/host-skills/agentbox-info/SKILL.md because Codex copies the bundle and does not follow external symlinks — the old .codex-plugin/skills/agentbox-info symlink is removed.

.agents/plugins/marketplace.json registers the local plugin path. scripts/check-plugin-skill-sync.mjs plus pnpm check:plugin-skill (wired into CI) fail if the bundle copy drifts from canonical; --fix resyncs after editing the CLI skill.

Reviewed by Cursor Bugbot for commit 7421628. Configure here.

Ship a single-plugin Codex marketplace so the agentbox plugin installs
straight from the source repo:

    codex plugin marketplace add madarco/agentbox
    codex plugin add agentbox@agentbox

Codex requires the bundle under plugins/<name>/, with skills/ and assets/
resolved relative to the plugin root (the dir containing .codex-plugin/) —
verified against the working AgiFlow/Aegis plugins and the codex CLI. So:

- Move the bundle from the repo-root .codex-plugin/ to plugins/agentbox/.
- Add .agents/plugins/marketplace.json pointing at ./plugins/agentbox.
- Fix the manifest: composerIcon now resolves (icon sits beside the bundle),
  and skills is the string "./skills/" (Codex + the awesome-list generator
  only honor the string form; the array was silently skipped).

The skill ships as a real copy of the canonical
apps/cli/share/host-skills/agentbox-info/SKILL.md — Codex copies the bundle on
install and does not follow a symlink pointing outside it, so the old symlink
shipped an empty skill. CI guard 'pnpm check:plugin-skill' fails on drift;
scripts/check-plugin-skill-sync.mjs --fix resyncs.
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentbox-web Ready Ready Preview, Comment Jun 7, 2026 5:43pm

Request Review

@madarco madarco merged commit d2470b3 into main Jun 7, 2026
4 checks passed
madarco added a commit to madarco/awesome-codex-plugins that referenced this pull request Jun 7, 2026
…ins/agentbox/

madarco/agentbox#81 relocated the Codex plugin from the repo root .codex-plugin/
to plugins/agentbox/ (self-marketplace). Update the mirror + install_url to match:

- install_url -> HEAD/plugins/agentbox/.codex-plugin/plugin.json
- ship the real skills/agentbox-info/SKILL.md (was a placeholder skills/agentbox/)
- refresh plugin.json (skills is now the string "./skills/") + README from upstream
- drop LICENSE/SECURITY.md/.codexignore (not present at the new plugin root, so the
  generator would not mirror them)
madarco added a commit that referenced this pull request Jun 7, 2026
…ntbox-info skill

Brings in the codex-self-marketplace work (PR #81). nightly updated the
canonical apps/cli/share/host-skills/agentbox-info/SKILL.md with the Notion +
Linear integration sections, so the merge runs check-plugin-skill-sync --fix to
bring plugins/agentbox/skills/agentbox-info/SKILL.md back in sync.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant