AI agent skill
The mxr skill teaches an agent how to use the CLI that already exists.
That is the current agent surface. It is real today, and it is worth stating plainly that it is not the same thing as a first-party MCP server.
Before you install it
- Read For agents for the current boundaries
- Treat
--dry-runas the default for batch changes - Remember that read-only and draft-only agent modes are not shipped yet
Install the skill
Claude Code
mkdir -p ~/.claude/skills/mxrcurl -fsSL https://raw.githubusercontent.com/planetaryescape/mxr/main/.claude/skills/mxr/SKILL.md \ -o ~/.claude/skills/mxr/SKILL.mdOther agents
The skill is just a markdown file with the CLI surface documented in a form agents can use. If your agent supports custom instructions or tool descriptions, copy the contents of SKILL.md.
What the skill gives you
- search and read workflows
- draft and reply workflows
- export workflows
- batch mutations through
--search - safer mutation flows through
--dry-run
A good starting pattern
mxr search "is:unread" --format jsonmxr archive --search "label:notifications older:30d" --dry-runmxr history --category mutationThe useful thing about the skill is not magic. It is that the agent is using the same CLI surface a human would use, with the same output and the same guardrails.