s-hiraoku/synapse-a2a

synapse-reinst

>- Re-inject Synapse A2A initial instructions after context has been cleared. Use this skill when the agent has lost its identity, A2A communication protocol, or configuration after /clear or context reset, when synapse send/reply commands stop working, or when the agent no longer recognizes its SYNAPSE_AGENT_ID. Triggered by /synapse-reinst command.

First seen Feb 9, 2026

Installation

$ npx skills add s-hiraoku/synapse-a2a --skill synapse-reinst

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from s-hiraoku/synapse-a2a · top by installs.

npx skills add s-hiraoku/synapse-a2a

Browse all from s-hiraoku/synapse-a2a

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 13
License MIT
Default branch main
Open issues 22
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,740 B
  • docs SUMMARY.md 371 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 233 installs

SKILL.md

Synapse Re-Instruction

Restore Synapse A2A agent identity and instructions after /clear or context reset.

When to Use

  • After running /clear (or equivalent context reset)
  • When the agent no longer recognizes Synapse commands
  • When A2A communication has stopped working
  • After any event that clears the agent's initial instructions

Usage

Run the reinst script to output your full Synapse instructions:

# From the source tree
python plugins/synapse-a2a/skills/synapse-reinst/scripts/reinst.py

# From a synced or installed skill copy
cd .claude/skills/synapse-reinst && python scripts/reinst.py

The script reads environment variables set by Synapse at startup (SYNAPSEAGENTID, SYNAPSEAGENTTYPE, SYNAPSE_PORT) which persist even after /clear.

Instructions

  1. Run the script above
  2. Read the output carefully — it contains your full Synapse A2A configuration
  3. Follow the instructions as if they were just sent to you
  4. Resume normal operation with A2A communication enabled

How It Works

The script:

  1. Reads Synapse environment variables (set at agent startup, survives /clear)
  2. Looks up your name/role from the agent registry
  3. Loads your instruction template from .synapse/settings.json
  4. Outputs the complete instruction with all placeholders replaced