synapse-reinst

Reinsert Synapse A2A instructions to restore agent identity after context reset.

10|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/s-hiraoku/synapse-a2a --skill synapse-reinst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: synapse-reinst
Source: https://github.com/s-hiraoku/synapse-a2a/tree/main/.gemini/skills/synapse-reinst
Command: npx skills add https://github.com/s-hiraoku/synapse-a2a --skill synapse-reinst

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

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. Triggered by /synapse-reinst command.

Core Features & Use Cases

  • Script-based reinjection of full Synapse instructions to restore identity and protocol handling after a reset.
  • Works with environment variable persistence and registry fallbacks to ensure instructions are available in varied runtime states.
  • Use Case: After a /clear, run this skill to reinitialize the agent's Synapse settings and resume normal A2A communication.

Quick Start

Run the reinst.py script to output your full Synapse A2A configuration and re-enable the A2A protocol.

Frequently Asked Questions about synapse-reinst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I restore agent identity after a context reset clears my A2A protocol?

To restore agent identity after a context reset, you reinject the initial Synapse A2A instructions via a command trigger. This reinitializes the agent's Synapse settings, restoring identity and protocol handling to resume normal A2A communication.

What are Synapse A2A instructions and when do I need to reinject them?

Synapse A2A instructions define agent identity and communication protocols. You need to reinject them when an agent loses its identity, A2A protocol, or configuration after a context clearance or reset.

How do I reinitialize Synapse settings to resume A2A communication after a /clear?

You reinitialize Synapse settings by running the reinst.py script to output your full Synapse A2A configuration. This script re-enables the A2A protocol and restores normal agent communication.

Does Synapse reinjection work without environment variables for identity restoration?

Yes, Synapse reinjection works without environment variables by using registry fallbacks. It relies on environment variables or registry lookups to generate the full instruction via SynapseSettings, with a safe fallback otherwise.

What's the best way to recover A2A protocol configuration when context is lost?

The best way to recover A2A protocol configuration is script-based reinjection of full Synapse instructions. This restores identity and protocol handling by reinserting the initial instructions after a context reset.

Why does my agent lose its A2A communication protocol after clearing context?

Your agent loses its A2A communication protocol after clearing context because the context reset wipes the active session memory. Reinserting the initial Synapse instructions restores the lost identity and configuration.