s-hiraoku avatar

Synapse Reinst

If you've run /clear in a Synapse A2A agent and suddenly your send/reply commands stop working, this skill restores your identity and communication protocol. It's a simple Python script that reads the environment variables Synapse sets at startup (which survive context resets) and reconstructs your full initial instructions from the agent registry and settings. The use case is narrow but critical: when you've wiped context and lost the instructions that make you a functioning A2A agent, run this to get them back. It's essentially a recovery tool for a specific architecture's specific failure mode, which makes it either essential or irrelevant depending on whether you're running Synapse.

skills.sh installs
233
GitHub stars
19
last updated
Aug 21, 2026

Install

$ npx -y skills add s-hiraoku/synapse-a2a --skill synapse-reinst --agent claude-code

Installs into .claude/skills of the current project.

Files

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

  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

Sponsors

Details

Repository
github.com/s-hiraoku/synapse-a2a
Category
AI & Agent Building
First seen
Jun 3, 2026

More from s-hiraoku/synapse-a2a

All 4
1yonatangross avatarperformanceyonatangross/orchestkitPerformance optimization patterns covering Core Web Vitals, React render optimization, lazy loading, image optimization, backend profiling, LLM inference, and s232skills.sh installs
2jzocb avatarmemory-managementjzocb/openclaw-memory-managementManage AI agent memory with P0/P1/P2 priority system and auto-archival. Use when: setting up memory management, cleaning up MEMORY.md, creating lessons files, c229skills.sh installs
3yonatangross avatarweb-research-workflowyonatangross/orchestkitUnified decision tree for web research and competitive monitoring. Auto-selects WebFetch, Tavily, or agent-browser based on target site characteristics and avai227skills.sh installs
4crossmint avatarlobstercashcrossmint/lobstercash-cli-skillsUse this skill when the user wants to spend money, make purchases, send crypto, pay for APIs, browse websites for shopping, complete checkout, or manage an AI a226skills.sh installs
5sanky369 avatarremotion-script-writersanky369/vibe-building-skillsWrite a complete, render-ready Remotion video script as structured JSON: analyze the user's codebase or product, break the video into timed scenes, specify ever224skills.sh installs
6resemble-ai avatarremotion-resemble-airesemble-ai/remotion-resemble-skillCreate professional AI-narrated videos with Remotion and Resemble.ai - from educational tutorials to product launches223skills.sh installs