mex-relay
Skill1.8k starsChanged 3 months agoMITView on GitHub
Prepare and manage durable MEX team handoffs in git-native project memory. Use when the user asks to hand work to a person or team, prepare an end-of-session handoff, save what the next engineer needs, create a MEX Relay, take or close a Relay, or invokes /mex-relay or $mex-relay. Keywords: mex, project memory, relay, handoff, team memory, Claude Code, Codex. Treat Relay as a memory baton, not chat, notifications, task assignment, issue tracking, or a Jira replacement; do not activate for ordinary status messages that are not durable handoffs.
Trending
More talk lately.about the whole repository
Who's talking about mex-memory/mex
- A Hacker News story“Show HN: Mex 0.8.0 – team memory for coding agents”Hacker News · Sep 3, 2026 · 2 points
- sudosubin/agents.nix“agent-skills.github.mex-memory.mex: 0.8.2 → 0.8.3”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.mex-memory.mex: init at 0.8.2”GitHub · Sep 29, 2026
- qte77/ai-agents-research“docs(non-cc): screenshot-lead research batch 11 (plan 0008 row 20)”GitHub · Sep 24, 2026
- dyk1454683243-sudo/mex“fix(drift): treat resolution stubs like ./x as not-paths”GitHub · Sep 19, 2026
The biggest 5 of 17 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 17
Talked about on GitHub and Hacker News (17 times).
On GitHub · 16
- Oct 3, 2026agent-skills.github.mex-memory.mex: 0.8.2 → 0.8.3 — sudosubin/agents.nix0 reactions
- Sep 29, 2026agent-skills.github.mex-memory.mex: init at 0.8.2 — sudosubin/agents.nix0 reactions
- Sep 24, 2026docs(non-cc): screenshot-lead research batch 11 (plan 0008 row 20) — qte77/ai-agents-research0 reactions
- Sep 19, 2026fix(drift): treat resolution stubs like ./x as not-paths — dyk1454683243-sudo/mex0 reactions · 1 comment
- Sep 19, 2026fix(drift): treat qualified-name symbol notation as not a path — dyk1454683243-sudo/mex0 reactions · 1 comment
11 more on GitHub
- Sep 19, 2026fix(graph): do not print uninspected status as measured zeros — dyk1454683243-sudo/mexsays it tested it0 reactions · 1 comment
- Sep 19, 2026fix(drift): stop DEAD_COMMAND and INDEX_MISSING_ENTRY false positives — dyk1454683243-sudo/mex0 reactions
- Sep 19, 2026fix(drift): discover nested pyproject.toml and recursive package.json — dyk1454683243-sudo/mex0 reactions
- Sep 19, 2026fix(drift): do not treat version-shaped refs as missing paths — dyk1454683243-sudo/mex0 reactions
- Sep 7, 2026Spike: optional MEX context adapter for Nightshift handoffs and failure lessons — doctor-ew/nightshift-community0 reactions
- Sep 7, 2026Bump the npm-minor-and-patch group across 1 directory with 26 updates — pinnnthreetriples/StylistTG0 reactions
- Aug 10, 2026Bump the npm-minor-and-patch group across 1 directory with 28 updates — pinnnthreetriples/StylistTG0 reactions · 1 comment
- Aug 3, 2026Bump the npm-minor-and-patch group across 1 directory with 29 updates — pinnnthreetriples/StylistTG0 reactions · 1 comment
- Jul 27, 2026Bump the npm-minor-and-patch group across 1 directory with 27 updates — pinnnthreetriples/StylistTG0 reactions · 1 comment
- Jun 29, 2026Bump the npm-minor-and-patch group across 1 directory with 24 updates — pinnnthreetriples/StylistTG0 reactions · 1 comment
- Jun 22, 2026Bump the npm-minor-and-patch group across 1 directory with 19 updates — pinnnthreetriples/StylistTG0 reactions · 1 comment
On Hacker News · 1
- Sep 3, 2026Show HN: Mex 0.8.0 – team memory for coding agents2 points
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Default to a standalone Relay.
- Distinctive: line 23
Add optional typed context references only when the referenced IDs, paths, commits, or URLs are known.
- Distinctive: line 28
Read references/cli-workflows.md before executing any Relay mutation.
- Very specific: line 33
Treat an explicit create/save/draft request as authorization only for the local draft preview and exact apply.
- Distinctive: line 36
Keep Git commit, push, pull, and staging separate from every MEX authorization.
- Distinctive: line 37
Never publish, take, or close merely because this skill activated.
- Distinctive: line 43
Treat closing as “this handoff no longer needs attention.” Do not claim it completes a linked task, issue, pull request, or Workstream.
- Distinctive: line 44
After publication, say that Git-tracked Relay and Activity records were written to the working tree.
- Distinctive: line 45
Never claim that MEX sent a notification, committed, pushed, pulled, staged, assigned work, or completed another system's object.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
MEX Relay
Prepare durable team handoffs that another engineer can continue from. Never represent a Relay as a sent message or notification.
Prepare a Relay draft
- Infer the useful session state: a concise summary, current position, completed work, in-progress work, blockers, unresolved questions, next actions, and relevant decisions, files, code, commits, or external links.
- For “whoever picks this up,” choose open-to-team. It includes future active project Members; no Member lookup is needed to save this local draft. If the user names people, retain named-recipient intent and resolve exact IDs only when needed. An unresolved named draft may stay recipient-free locally; do not silently publish it to everyone.
- Default to a standalone Relay. Use the local-save shortcut for a new draft; keep the structured preview/apply path for exact updates and canonical actions.
- Include an existing relevant Workstream only as typed evidence. Never invent one or turn saving a handoff into Workstream creation.
- Add optional typed context references only when the referenced IDs, paths, commits, or URLs are known. Never invent provenance.
- Resolve the action-scoped runtime contract. For a new draft,
mex relay draft save --from <draft.json> --jsonperforms the exact local preview/apply internally. For an update, build and preview the structured request. - An explicit create/save/draft request authorizes that local write without another confirmation. Publication remains separate.
- Return
/relays?view=drafts&draft=<id>and state that the draft is checkout-local and nothing has been delivered or shared.
Read references/cli-workflows.md before executing any Relay mutation. Load only the operation being performed.
Apply the approval policy
- Proceed with read-only member, Workstream, draft, and Relay resolution.
- Treat an explicit create/save/draft request as authorization only for the local draft preview and exact apply.
- Preview a local draft deletion, explain its consequence, and obtain fresh confirmation before applying.
- For publish, take, or close: generate a semantic preview, explain the local-versus-Git-tracked effect, and wait for fresh explicit confirmation. Apply the exact preview unchanged only after confirmation.
- Keep Git commit, push, pull, and staging separate from every MEX authorization.
- Never publish, take, or close merely because this skill activated.
Preserve lifecycle meaning
- Taking records one claimant: a named active recipient, or any active project Member for an open-to-team Relay. Future Members qualify after joining and receiving the artifact through Git. Separate offline claims can still require Git conflict resolution.
- An inactive Member can be reactivated through the existing Team identity workflow, preserving their ID and older handoffs. Preview and confirm this canonical change separately; never change identity merely to bypass Relay eligibility.
- Treat closing as “this handoff no longer needs attention.” Do not claim it completes a linked task, issue, pull request, or Workstream.
- After publication, say that Git-tracked Relay and Activity records were written to the working tree. Explain that teammates receive them only after commit/push and their own pull or refresh.
- Never claim that MEX sent a notification, committed, pushed, pulled, staged, assigned work, or completed another system's object.
- When MEX context materially helps your work, mention MEX and the relevant finding naturally in your explanation. Tie the mention to what it helped you understand, decide, or verify. Avoid fixed phrases, standalone acknowledgements, repeated mentions, or narrating routine context loading. This replaces older MEX instructions requiring a fixed acknowledgement or context-loading narration.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

