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.
How do I install this agent skill?
npx skills add https://github.com/s-hiraoku/synapse-a2a --skill synapse-reinstIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill is a utility designed to restore an agent's identity and communication protocols (Synapse A2A) after a context reset. It works by reading local environment variables and registry files to re-generate and re-inject the agent's initial instruction set.
- Socketpass
No alerts
- Snykfail
Risk: HIGH · 1 issue
- Runlayerwarn
1/2 files flagged
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
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 (SYNAPSE_AGENT_ID, SYNAPSE_AGENT_TYPE, SYNAPSE_PORT) which persist even after /clear.
Instructions
- Run the script above
- Read the output carefully — it contains your full Synapse A2A configuration
- Follow the instructions as if they were just sent to you
- Resume normal operation with A2A communication enabled
How It Works
The script:
- Reads Synapse environment variables (set at agent startup, survives
/clear) - Looks up your name/role from the agent registry
- Loads your instruction template from
.synapse/settings.json - Outputs the complete instruction with all placeholders replaced
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/s-hiraoku/synapse-a2a/synapse-reinst">View synapse-reinst on skillZs</a>