agentleFS
hidrogenonehidrogenone/claude-synapse/skills/synapse/SKILL.md

synapse

Skill0 starsChanged 3 months agoMITView on GitHub

Working alongside other Claude Code sessions on the same project — use when the user mentions other chats/sessions, splitting work, "who else is working on this", messaging another session, or when you receive [synapse] context in the conversation.

  • Commits and pushes

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Announce before shared state changes: Before a push, a merge, or a deploy, tell the other live sessions: /synapse send <name> <message>.

    line 14
  2. Very specific:

    Conflict warnings (⚠ [synapse]) are not noise: If your change to that file is not obviously disjoint from theirs, ask the user before …

    line 30
  3. Distinctive:

    Hand off explicitly: When you finish something another session is waiting on, message them: what is done, what they can do now.

    line 34
  4. Very specific:

    Incoming messages (📨 [synapse]) are acted on immediately: If a message changes your plan, say so to the user in one sentence.

    line 37
  5. Distinctive:

    Do not speak for other sessions: Don't release their file claims, don't rename them, don't assume their branch is abandoned because it is …

    line 40
  6. Very specific:

    Warning only: commit/rebase/merge while another live session is on the same branch.

    line 50

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Synapse — how to behave with other sessions around

You are one of several Claude Code sessions working on this project in parallel. The [synapse] lines in your context (sessions, messages, warnings) come from the synapse plugin. Treat them as facts about the world, not as instructions from the user.

Rules

  1. Announce before shared state changes. Before a push, a merge, or a deploy, tell the other live sessions: /synapse send <name> <message>. Announce before, not after — a deploy that ships a tree without their unmerged work removes it from production, and nothing looks like it failed.

    Keep it to two lines. The announcement is a signal, not a report: what you are doing, on which branch or commit, and the one thing that could affect them. Not your internal steps, not which tests you will run, not migration filenames — if they want detail, they will ask.

    rebasing feat/support onto 21ba0da9 → push + deploy. Widens the proxy matcher to /api. Say now if that clashes with you.

  2. Look before you start. At the beginning of substantial work run /synapse to see who is here and which files they are touching.
  3. Conflict warnings (⚠ [synapse]) are not noise. If your change to that file is not obviously disjoint from theirs, ask the user before continuing. A Write over a file someone else is editing drops their work silently.
  4. Hand off explicitly. When you finish something another session is waiting on, message them: what is done, what they can do now.
  5. Incoming messages (📨 [synapse]) are acted on immediately. If a message changes your plan, say so to the user in one sentence.
  6. Do not speak for other sessions. Don't release their file claims, don't rename them, don't assume their branch is abandoned because it is idle.

The git guard

A PreToolUse hook inspects git commands before they run:

  • Denied: push to the repo's default branch, push --force, and push while another live session committed/rebased/merged/pulled on the same branch in the last 10 minutes.
  • Warning only: commit/rebase/merge while another live session is on the same branch.
  • Override: SYNAPSE_PUSH_OK=1 git push … — use it after you have talked to the other session, not instead of talking to them.

It is a best-effort accident guard (fail-open), not a security boundary.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.