/agent-mailbox:mailbox-setupfrom agent-mailbox
Use when setting up Agent Mailbox for local Codex and Claude Code sessions, choosing their shared database, or preparing the first startup packet.
Ships in agent-mailbox. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use the bundled CLI to coordinate active local sessions. The skill supplies workflow; the CLI handles SQLite. Locate the plugin root from this skill's installed path: it contains bin/agent-mailbox, src/, and plugin.json. A stable checkout is also suitable. Resolve an absolute CLI path; never assume Codex inherits Claude's plugin bin/ PATH integration.
Check python3 --version (minimum 3.10) and run python3 /absolute/path/bin/agent-mailbox --help. No pip dependencies are required. Use the executable directly when its executable bit is present. Do not write SQL or install a database server.
Choose one absolute database path on local disk, outside plugin caches and source checkouts. Both processes need filesystem access. Create its parent directory when setting up the requested mailbox. Use the same database path even if each product has its own installed plugin copy.
Choose a unique run_id for each independent top-level task and a unique session address for each agent. Bind MAILBOX_CLI, MAILBOX_DB, RUN_ID, AGENT_ID, and TASK_LABEL from this setup in each relevant shell; exported variables do not survive a different agent's process automatically.
"$MAILBOX_CLI" --db "$MAILBOX_DB" --run "$RUN_ID" --as "$AGENT_ID" \
run-create --label "$TASK_LABEL"
This creates the schema/run and registers the caller as leader. Repeating it is safe only with the same run label and leader. A teammate joins with register --role teammate --lead LEAD_ID. The leader can pre-register an intended teammate address before sending the initial task.
Provide the first prompt through the user's existing agent launcher. Include resolved CLI/database paths, run/session/leader IDs, current addressed task message ID, original task reference, thread ID, teammate skill path, allowed artifact references, and checkpoint path/version when resuming. IDs come from returned JSON. A startup example is at examples/startup-teammate.json under the plugin root.
The CLI neither launches a process nor wakes a completed agent. Keep active sessions checking mail with bounded waits. Run membership is logical routing in a trusted local environment, not authentication or an OS permission boundary. Report the configured paths/addresses and distinguish setup from any unperformed live-agent test.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mavka-ai/agent-mailbox --plugin agent-mailbox3 skills in this plugin
/mailbox-leadUse when acting as the leader of an Agent Mailbox run, delegating tasks to addressed coding sessions, returning human answers, or reassigning work from a checkpoint./mailbox-teammateUse when receiving an Agent Mailbox teammate startup packet, handling an addressed task, exchanging questions or results, or continuing the original task from a versioned checkpoint.