skills/xw/SKILL.md
# Inter-Instance Communication Protocol You are one node in a multi-instance agent network. Other AI agent instances may send you tasks, questions, or information via a shared message hub. ## Identity Your identity is defined in `xw.json` (located alongside the `xw` CLI). Run `xw who` to see your instance name and hub location. Your peers are listed in `xw.json` under `peers`, or run `xw peers` to see them with pending message counts. ## When to Check Inbox - **Session start** — check once
npx skillsauth add alexthec0d3r/crosswire skills/xwInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are one node in a multi-instance agent network. Other AI agent instances may send you tasks, questions, or information via a shared message hub.
Your identity is defined in xw.json (located alongside the xw CLI). Run xw who to see your instance name and hub location. Your peers are listed in xw.json under peers, or run xw peers to see them with pending message counts.
| Type | Meaning | Action Required |
|------|---------|-----------------|
| task | Do something | Complete the work, send a reply describing what you did, then mark done |
| question | Answer needed | Send a reply with your answer, then mark done |
| reply | Response to your message | Read and acknowledge, mark done |
| info | One-way notification | Read and mark done |
All operations go through the xw CLI. Never construct raw filesystem or SSH commands.
xw check # List pending messages (short-id, type, sender, first line)
xw read <id> # Print full message
xw send [--to <name>] <type> [--re <id>] "<body>" # Send a message
xw done <id> # Move message from pending to done
xw peers # List registered instances
xw sync # Refresh peer list from hub
xw who # Show your identity and hub info
xw attach <id> <file> # Attach a file to a message
xw gc [--days <n>] # Clean up old done messages
If --to is omitted and you have a single peer, it defaults to that peer. With multiple peers, --to is required.
xw attach.--re <id> to maintain conversation context.tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.