synapse

Injects contextual rules into prompts via an 8-layer processing pipeline with bracket-aware filtering.

Updated May 13, 2026
One-click install
npx skills add https://github.com/MarcoBolsa/motor-cotacoes --skill synapse-marcobolsa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: synapse
Source: https://github.com/MarcoBolsa/motor-cotacoes/tree/main/.claude/skills/synapse
Command: npx skills add https://github.com/MarcoBolsa/motor-cotacoes --skill synapse-marcobolsa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve? Managing consistent AI behavior across agents, workflows, and long sessions is difficult when rules must adapt to context window usage. SYNAPSE centralizes rule injection so every prompt receives the right rules at the right time without manual repetition. ## Core Features & Use Cases - 8-Layer Rule Pipeline: Processes rules from L0 Constitution through L7 Star-Commands, with priority ordering and conflict resolution. - Context Bracket Adaptation: Adjusts injection volume across FRESH, MODERATE, DEPLETED, and CRITICAL brackets based on remaining context window. - Domain CRUD Management: Create, edit, toggle, and organize KEY=VALUE rule domains via star-commands like *synapse create and *synapse toggle. - Use Case: A team running multiple agents (dev, qa, architect) wants agent-specific coding rules injected automatically whenever each agent is active, plus mode commands like *brief or *review to switch response behavior on demand. ## Quick Start Ask the assistant to show the current SYNAPSE engine state by running the *synapse status command.

Frequently Asked Questions about synapse

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

FAQPage Schema
How do I create a custom SYNAPSE domain?▼

Run the *synapse create command, which prompts for a domain name, layer, and description, then scaffolds the domain file in .synapse/ and adds the manifest entry. Templates for domains and manifest entries are provided in the commands templates directory.

What are SYNAPSE context brackets and how do they work?▼

Context brackets control injection volume based on remaining context window: FRESH (60-100%), MODERATE (40-60%), DEPLETED (25-40%), and CRITICAL (<25%). Each bracket has a token budget from 800 to 2500 tokens, and lower-priority sections are truncated when budgets are exceeded.

How do I check if SYNAPSE is active and working?▼

Run *synapse status to see active domains, the current bracket, and session info. For deeper diagnostics, *synapse debug shows manifest parse results, domain load times, and rule counts.

Why is my SYNAPSE domain not loading?▼

Check that the domain's STATE key is set to active in .synapse/manifest and that the domain file exists in .synapse/. For agent or workflow domains, verify the AGENT_TRIGGER or WORKFLOW_TRIGGER matches the active session context, then run *synapse reload.

What is the difference between SYNAPSE layers L0 through L7?▼

L0 Constitution holds non-negotiable rules, L1 covers global and context rules, L2-L3 are agent and workflow scoped, L4-L5 handle task and squad context, L6 triggers on keywords, and L7 processes star-commands. Higher layers are more specific and can override lower ones, except L0.