synapse

Inject contextual rules into prompts via an 8-layer pipeline.

Updated May 25, 2026
One-click install
npx skills add https://github.com/FelipeMaines/ProjetoWeb --skill synapse-felipemaines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: synapse
Source: https://github.com/FelipeMaines/ProjetoWeb/tree/main/.claude/skills/synapse
Command: npx skills add https://github.com/FelipeMaines/ProjetoWeb --skill synapse-felipemaines

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

SYNAPSE helps you consistently inject the right contextual rules into every prompt so your agent follows architecture, domains, and workflows without manual repetition.

Core Features & Use Cases

  • 8-layer context injection pipeline: Enforces a structured rule flow from Constitution (L0) through Star-Commands (L7), producing a <synapse-rules> XML block appended to each prompt.
  • Domain and manifest-based management: Lets you manage context domains (L0–L7) via *synapse sub-commands, including creating custom domains and CRUD rule operations.
  • Bracket-aware token budgeting: Automatically adapts injection volume based on context brackets (FRESH, MODERATE, DEPLETED, CRITICAL) to avoid overrunning the context window.
  • Scope-aware rules: Supports agent-scoped, workflow-scoped, task context, squad discovery, and keyword-triggered recall (plus explicit star-commands).
  • Troubleshooting and debugging: Provides *synapse status and *synapse debug to inspect loaded domains, bracket state, and rule counts.

Quick Start

Ask the AI to run *synapse status to see the current SYNAPSE engine state, active domains, and the current context bracket.

Frequently Asked Questions about synapse

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

FAQPage Schema
How do I inject contextual rules into every prompt without manual repetition?

You can inject contextual rules automatically by using a context engine that appends an XML block to each prompt. This ensures consistent rule application across agent, workflow, task, and squad scenarios without manual repetition.

How does token budgeting work for prompt context injection?

Token budgeting adapts injection volume based on context brackets like FRESH, MODERATE, DEPLETED, and CRITICAL. This bracket-aware approach automatically scales the injected rules to avoid overrunning the available context window.

What is the best way to manage context domains for agent workflows?

The best way to manage context domains is through dedicated sub-commands that support CRUD operations and custom domain creation. This allows you to structure rule flows across multiple layers, from Constitution to Star-Commands.

How do I debug rule injection when my agent ignores context rules?

You can debug rule injection by running status and debug commands to inspect loaded domains, bracket states, and rule counts. This helps identify whether rules are properly loaded or if token budgeting is limiting injection.

Can I scope prompt rules to specific tasks and keywords?

Yes, prompt rules can be scoped to specific tasks, agents, workflows, and squads. The context engine also supports keyword-triggered recall and explicit star-commands to activate rules only when relevant.

What format does the rule pipeline output for each prompt?

The 8-layer rule pipeline outputs a structured XML block appended to each prompt. This format ensures the injected rules are clearly delimited and machine-readable for the agent's context window.