vishnu-bhaga
À propos
La compétence vishnu-bhaga est utilisée pour préserver l'état d'un système fonctionnel et ancrer les connaissances vérifiées contre la dérive ou le changement. Elle impose la cohérence et fournit une stabilisation protectrice, en particulier lorsque la compression du contexte, l'expansion du périmètre ou les modifications menacent les fonctionnalités existantes. Utilisez-la pour maintenir la continuité d'une approche fonctionnelle avant d'apporter des changements ou après un processus perturbateur.
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 and sustain what is working — anchoring verified knowledge, maintaining consistency under perturbation, and protecting functional patterns from unnecessary change.
When to Use
- A working approach is at risk of being disrupted by scope creep or premature optimization
- Context drift is threatening to overwrite verified knowledge with stale assumptions
- Multiple parallel concerns are creating pressure to change things that should remain stable
- After
shiva-bhagadissolution — what survives needs active protection during reconstruction - When a long session risks losing earlier verified decisions through context compression
- Before making changes to a system that is currently functioning correctly
Inputs
- Required: Current working state or verified knowledge to preserve (available implicitly)
- Optional: Specific threat to stability (e.g., "scope creep," "context compression approaching")
- Optional: MEMORY.md and project files for grounding (via
Read)
Procedure
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 the specific items that are currently verified and working
- Note the verification method — how do you know this is true?
- Items without verification are not preserved — they are assumptions (and may need
shiva-bhaga)
Got: A concrete inventory of verified, working elements with their evidence base.
If fail: If the inventory is sparse — little is verified — that itself is valuable information. Run heal to re-ground before attempting to preserve unverified assumptions.
Step 2: Identify Perturbation Sources
Name the forces threatening the stable state.
- Scope creep: Is the task expanding beyond what was agreed?
- Context drift: Are earlier facts being overwritten by more recent (possibly incorrect) reasoning?
- Optimization pressure: Is there an urge to improve something that is working adequately?
- External changes: Has the environment changed (files modified, tools unavailable)?
- Compression risk: Is the conversation approaching context limits where early decisions may be lost?
For each source, assess: is this a real threat or an anticipated one?
Got: Named perturbation sources with assessed severity (active threat vs. anticipated risk).
If fail: If no perturbation sources are apparent, preservation may not be needed — consider whether brahma-bhaga (creation) or continued execution is more appropriate.
Step 3: Anchor the Stable State
Apply specific techniques to protect what works from identified threats.
- Memory anchoring: For critical facts at risk of context drift, re-state them explicitly:
- "Established fact: [X], verified by [method] at [point in conversation]"
- If persistent memory is available, write durable facts to MEMORY.md
- Scope boundary enforcement: For scope creep, re-state the agreed scope:
- "Agreed scope: [original request]. Current work is within/outside this boundary."
- Change resistance: For working code under optimization pressure:
- "This component is working and tested. No changes unless the user requests them."
- State snapshot: For compression risk, create a mental checkpoint:
- Summarize: what has been done, what remains, what key decisions were 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 a specific anchoring response. The stable state is explicitly protected.
If fail: If anchoring feels excessive — protecting everything equally — prioritize. What is the one thing that must not change? Protect that first.
Step 4: Sustain Through Action
Preservation is not passive — it requires ongoing attention during subsequent work.
- Before each action, check: "Does this threaten anything in the preservation inventory?"
- If yes, find an alternative approach that achieves the goal without disturbing the stable state
- If disturbance is unavoidable, acknowledge it explicitly and update the inventory
- Periodically re-verify preserved items — especially after complex operations
- When the task completes, confirm that preserved items remain intact
Got: The working state survives the current task intact. Changes were made only where needed and did not disrupt functioning components.
If fail: If a preserved item was inadvertently changed, assess the damage immediately. If the change broke something, revert. If the change was neutral, update the inventory. Do not leave the inventory stale.
Validation
- Working state was inventoried with verification evidence
- Perturbation sources were identified and assessed
- Anchoring actions were applied to each real threat
- Scope boundaries were maintained throughout the task
- Preserved items were re-verified after completion
Pitfalls
- Preserving 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 is constant; preservation requires ongoing attention
- Resistance to legitimate change: Using preservation as an excuse to avoid necessary modifications. If the user requests a change to a working component, that overrides preservation
- Stale inventory: Failing to update the preservation inventory as new information arrives. The inventory must reflect current reality, not the state at creation time
Related Skills
shiva-bhaga— destruction precedes preservation; what survives dissolution is what Vishnu sustainsbrahma-bhaga— creation builds on the 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 directly 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.
