vishnu-bhaga
À propos
La compétence vishnu-bhaga maintient un état de fonctionnement stable et impose la cohérence pour se prémunir contre l'expansion du périmètre ou la dérive du contexte. Elle ancre les connaissances vérifiées et assure la continuité, particulièrement après des changements perturbateurs ou lors de sessions longues. Utilisez-la pour stabiliser un système fonctionnel avant d'effectuer des modifications ou pour préserver les décisions clés de toute perte.
Installation rapide
Claude Code
Recommandénpx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/vishnu-bhagaCopiez et collez cette commande dans Claude Code pour installer cette compétence
Documentation
Vishnu Bhaga
Preserve, sustain what is working — anchor verified knowledge, maintain consistency under perturbation, protect functional patterns from unnecessary change.
When Use
- Working approach at risk of being disrupted by scope creep or premature optimization
- Context drift threatening to overwrite verified knowledge with stale assumptions
- Multiple parallel concerns creating pressure to change things that should remain stable
- After
shiva-bhagadissolution — what survives needs active protection during reconstruction - Long session risks losing earlier verified decisions through context compression
- Before making changes to system currently functioning correct
Inputs
- Required: Current working state or verified knowledge to preserve (available implicit)
- Optional: Specific threat to stability (e.g., "scope creep," "context compression approaching")
- Optional: MEMORY.md and project files for grounding (via
Read)
Steps
Step 1: Inventory What Works
Before protecting anything, identify what is currently functional and verified.
Preservation Inventory:
+---------------------+---------------------------+------------------------+
| Category | Verification Method | Anchoring Action |
+---------------------+---------------------------+------------------------+
| Verified Facts | Confirmed via tool use | Record source and |
| | (file reads, test runs, | timestamp; do not |
| | API responses) | re-derive |
+---------------------+---------------------------+------------------------+
| Working Code | Tests pass, behavior | Do not refactor unless |
| | confirmed, user approved | explicitly requested |
+---------------------+---------------------------+------------------------+
| User Requirements | Explicitly stated by | Quote directly; do not |
| | the user in this session | paraphrase or infer |
+---------------------+---------------------------+------------------------+
| Agreed Decisions | Decisions made and | Reference the decision |
| | confirmed during this | point; do not revisit |
| | session | without new evidence |
+---------------------+---------------------------+------------------------+
| Environmental State | File paths, configs, | Verify before assuming |
| | tool availability | unchanged |
+---------------------+---------------------------+------------------------+
- For each category, list specific items currently verified and working
- Note verification method — how do you know this is true?
- Items without verification not preserved — are assumptions (and may need
shiva-bhaga)
Got: Concrete inventory of verified, working elements with their evidence base.
If err: Inventory sparse — little is verified? Itself valuable information. Run heal to re-ground before attempting to preserve unverified assumptions.
Step 2: Identify Perturbation Sources
Name forces threatening stable state.
- Scope creep: Task expanding beyond what was agreed?
- Context drift: Earlier facts being overwritten by more recent (possibly incorrect) reasoning?
- Optimization pressure: Urge to improve something working adequate?
- External changes: Environment changed (files modified, tools unavailable)?
- Compression risk: Conversation approaching context limits where early decisions may be lost?
For each source, assess: real threat or anticipated one?
Got: Named perturbation sources with assessed severity (active threat vs. anticipated risk).
If err: No perturbation sources apparent? Preservation may not be needed — consider whether brahma-bhaga (creation) or continued execution more appropriate.
Step 3: Anchor Stable State
Apply specific techniques to protect what works from identified threats.
- Memory anchoring: For critical facts at risk of context drift, re-state explicitly:
- "Established fact: [X], verified by [method] at [point in conversation]"
- Persistent memory available? Write durable facts to MEMORY.md
- Scope boundary enforcement: For scope creep, re-state agreed scope:
- "Agreed scope: [original request]. Current work is within/outside this boundary."
- Change resistance: For working code under optimization pressure:
- "This component working and tested. No changes unless user requests them."
- State snapshot: For compression risk, create mental checkpoint:
- Summarize: what done, what remains, what key decisions made
- Environmental verification: For external changes, re-check before proceeding:
- Re-read critical files rather than relying on earlier reads
Got: Each identified threat has specific anchoring response. Stable state explicitly protected.
If err: Anchoring feels excessive — protecting everything equal? Prioritize. What is one thing that must not change? Protect that first.
Step 4: Sustain Through Action
Preservation not passive — needs ongoing attention during subsequent work.
- Before each action, check: "Does this threaten anything in preservation inventory?"
- Yes? Find alternative approach achieving goal without disturbing stable state
- Disturbance unavoidable? Acknowledge explicit and update inventory
- Periodically re-verify preserved items — especially after complex operations
- When task completes, confirm preserved items remain intact
Got: Working state survives current task intact. Changes made only where needed. Did not disrupt functioning components.
If err: Preserved item inadvertently changed? Assess damage immediate. Change broke something? Revert. Change neutral? Update inventory. Do not leave inventory stale.
Check
- Working state inventoried with verification evidence
- Perturbation sources identified and assessed
- Anchoring actions applied to each real threat
- Scope boundaries maintained throughout task
- Preserved items re-verified after completion
Pitfalls
- Preserve assumptions as facts: Only verified knowledge deserves protection. Unverified assumptions dressed as facts create false stability
- Over-preservation: Protecting everything equally prevents necessary change. Preservation must be selective — protect what works, release what does not
- Passive preservation: Assuming things will stay stable without active verification. Context drift constant. Preservation needs ongoing attention
- Resistance to legitimate change: Using preservation as excuse to avoid necessary modifications. User requests change to working component? Overrides preservation
- Stale inventory: Failing to update preservation inventory as new information arrives. Inventory must reflect current reality, not state at creation time
See Also
shiva-bhaga— destruction precedes preservation; what survives dissolution is what Vishnu sustainsbrahma-bhaga— creation builds on preserved foundation; new patterns emerge from stable groundheal— subsystem assessment reveals what is genuinely functional vs. superficially stableobserve— sustained neutral observation detects drift before it threatens stabilityawareness— situational awareness (Cooper color codes) maps direct to perturbation detection
Dépôt GitHub
Compétences associées
executing-plans
DesignUtilisez la compétence executing-plans lorsque vous disposez d'un plan de mise en œuvre complet à exécuter par lots contrôlés avec des points de contrôle de revue. Elle charge et examine le plan de manière critique, puis exécute les tâches par petits lots (3 tâches par défaut) tout en rapportant la progression entre chaque lot pour une revue par l'architecte. Cela garantit une mise en œuvre systématique avec des points de contrôle de qualité intégrés.
requesting-code-review
DesignCette compétence délègue un sous-agent réviseur de code pour analyser les modifications apportées au code par rapport aux exigences avant de poursuivre. Elle doit être utilisée après avoir terminé des tâches, implémenté des fonctionnalités majeures, ou avant une fusion vers la branche principale. La revue aide à détecter précocement les problèmes en comparant l'implémentation actuelle avec le plan initial.
connect-mcp-server
DesignCette compétence fournit un guide complet permettant aux développeurs de connecter des serveurs MCP à Claude Code via les transports HTTP, stdio ou SSE. Elle couvre l'installation, la configuration, l'authentification et la sécurité pour intégrer des services externes tels que GitHub, Notion et des API personnalisées. Utilisez-la lors de la configuration d'intégrations MCP, de la configuration d'outils externes ou du travail avec le Protocole de Contexte de Modèle de Claude.
web-cli-teleport
DesignCette compétence aide les développeurs à choisir entre les interfaces Web et CLI de Claude Code en fonction de l'analyse des tâches, puis permet une téléportation transparente des sessions entre ces environnements. Elle optimise le flux de travail en gérant l'état et le contexte de la session lors du passage entre le web, la CLI ou le mobile. Utilisez-la pour des projets complexes nécessitant différents outils à diverses étapes.
