Repository navigation
feat: distribute Macuse as an agent plugin for Claude Code and Codex - #2
Merged
Merged
Conversation
Package the Macuse MCP server as an agent plugin alongside three skills, so agents get the workflows, parameter shapes, and permission-error recovery paths up front instead of discovering them by trial and error. Skills: - macuse-setup: three-layer top-down diagnosis (app, client, permissions) driven by a read-only KEY=VALUE probe - macuse-apps: Calendar, Mail, Reminders, Notes, Messages, Location, with per-domain detail deferred to references/ - macuse-computer-use: Accessibility-based GUI automation Claude Code and Codex read the same skills/ directory, so only the manifests differ. The MCP server is resolved through a shell launcher rather than a hardcoded path in .mcp.json, since the binary ships with the macOS app and may live outside /Applications (override with MACUSE_BINARY). Both marketplace catalogs point at plugins/macuse in this repo, so a single push updates every distribution channel.
…ndle Claude Code and Codex only offer users an update when the plugin version string changes, so a manifest left behind at release time silently pins everyone to the skills they first installed with. Extend the version sync to cover both plugin manifests and fail loudly if one goes missing, and add them to the semantic-release git assets. The plugin files are dead weight inside the .mcpb bundle, which Claude Desktop loads without ever reading them; excluding them drops the archive from 24 to 9 files. Also ignore .impeccable/, an agent tooling cache that was failing lint and would otherwise be committed.
The repo now ships two artifacts rather than one, so lead with a table routing each client to its install path and describe what the plugin adds over the bundle. Document the Codex consent limitation up front (openai/codex#18896) so users hit it knowingly rather than as a bug.
Verified the install path end-to-end against codex-cli 0.144.0 instead of
trusting the docs, which surfaced four defects:
- `ON_FIRST_USE` is not a valid authentication policy; the enum is
`ON_INSTALL` | `ON_USE`. The marketplace file failed to parse outright,
so the entire Codex channel was dead on arrival.
- The install command is `codex plugin add`, not `codex plugin install`.
- Codex does not substitute `${CLAUDE_PLUGIN_ROOT}` in .mcp.json. Its own
bundled plugins use a relative command with `"cwd": "."`, so Codex now
gets .mcp.codex.json in that form while Claude Code keeps the placeholder.
- The same non-substitution applies to skill text, so macuse-setup now
spells out both ways to reach check.sh rather than assuming expansion.
Also rename the marketplace to `macuse-plugins`, avoiding the doubled
`macuse@macuse` selector in every install command.
github-actions Bot
pushed a commit
that referenced
this pull request
Aug 3, 2026
# [1.3.0](v1.2.0...v1.3.0) (2026-08-03) ### Features * distribute Macuse as an agent plugin for Claude Code and Codex ([#2](#2)) ([a57d01e](a57d01e)), closes [openai/codex#18896](openai/codex#18896)
|
🎉 This PR is included in version 1.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Packages Macuse as an installable agent plugin for Claude Code and Codex, alongside the existing
.mcpbbundle. The plugin ships the MCP server together with three skills, so agents get the workflows and parameter shapes up front instead of discovering them by trial and error.Both catalogs point at
plugins/macusein this repo, so one push updates every channel.Skills
macuse-setupmacuse-appsreferences/macuse-computer-useVerified against the real CLIs
Rather than trusting the docs, the install path was run end-to-end against
codex-cli 0.144.0andclaude plugin validate --strict. That surfaced four defects, all fixed inea5a703:ON_FIRST_USEis not a valid enum value (ON_INSTALL|ON_USE). The Codex marketplace file failed to parse outright — the channel was dead on arrival.codex plugin add, notcodex plugin install.${CLAUDE_PLUGIN_ROOT}in.mcp.json. Its own bundled plugins use a relativecommand+"cwd": ".", so Codex gets.mcp.codex.jsonin that form while Claude Code keeps the placeholder.macuse-setupspells out both routes tocheck.sh.Confirmed working: marketplace parse, plugin install, version resolution (
1.2.0read from the manifest), skill/launcher layout in the install cache, and all three launcher branches (relative-path resolution,MACUSE_BINARYoverride, missing-binary exit 1). Codex config was restored byte-identical afterwards.Release impact
The
feat:commit bumps the release to 1.3.0 on merge.scripts/sync-manifest-version.jsnow propagates the version into both plugin manifests — clients only offer an update when that string changes, so a stale manifest would silently strand users on old skills.Plugin files are excluded from the
.mcpbbundle (24 → 9 files, 159kB → 141kB); Claude Desktop never reads them.Known limitation
Write operations fail on Codex because it auto-declines consent prompts from third-party MCP servers (openai/codex#18896). Reads work normally. This is documented up front in both READMEs and the plugin description so users hit it knowingly. It also makes the Codex official directory a non-starter for now — that flow additionally requires a public production MCP URL and domain verification, which a
127.0.0.1stdio server cannot satisfy.