shiva-bhaga
About
The Shiva Bhaga skill helps developers clear context by identifying and intentionally dismantling stale patterns, outdated assumptions, and dead-code noise. It is designed for use when accumulated context has become cluttered or a major pivot requires a clean slate. This controlled dissolution creates space for new, more effective approaches.
Quick Install
Claude Code
Recommendednpx 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/shiva-bhagaCopy and paste this command in Claude Code to install this skill
Documentation
Shiva Bhaga
Controlled destruction + dissolution → stale patterns, outdated assumptions, accumulated noise. Clears ground for new growth.
Use When
- Ctx accumulated stale assumptions silently distorting reasoning
- Prev approach failed → temptation = patch not discard
- Conv long → earlier decisions don't serve current goal
- Dead code, abandoned plans, zombie tasks → noise + confusion
- Before major pivot → clearing precedes creation
- Attachment to approach blocks alternatives
In
- Required: Current conv state | proj ctx (implicit)
- Optional: Specific dissolution target (e.g., "this approach not working", "clear all DB layer assumptions")
- Optional: Scope boundary — what survives destruction
Do
Step 1: ID What Must End
Survey current state, mark stale, broken, no longer serving.
Dissolution Triage:
+---------------------+---------------------------+------------------------+
| Category | Symptoms | Action |
+---------------------+---------------------------+------------------------+
| Stale Assumptions | Decisions made early that | List and re-evaluate |
| | no longer match current | each against current |
| | understanding | reality |
+---------------------+---------------------------+------------------------+
| Failed Approaches | Approaches attempted and | Acknowledge failure |
| | abandoned but still | explicitly; release |
| | influencing thinking | the sunk cost |
+---------------------+---------------------------+------------------------+
| Accumulated Noise | Context, variables, or | Identify and mark for |
| | plans that are no longer | removal |
| | referenced or relevant | |
+---------------------+---------------------------+------------------------+
| Attachment Points | "We already decided..." | Question whether the |
| | beliefs that resist | decision still holds |
| | re-examination | |
+---------------------+---------------------------+------------------------+
| Zombie Artifacts | Code, tasks, or plans | Delete or archive; |
| | that exist but serve no | do not leave in limbo |
| | current purpose | |
+---------------------+---------------------------+------------------------+
- Scan each category honest — resistance to examining = signal
- Each item: "If starting fresh now, would I create this?"
- No → mark for dissolution
Got: Clear inventory of release targets, specific items per category.
If err: Nothing stale → assess too shallow. Pick oldest decision, justify from scratch — forced justification = dissolution candidate.
Step 2: Preservation Boundary
Not everything destroyed. ID what survives.
- Core reqs: What user actually asked → survives.
- Verified knowledge: Facts confirmed via tools (file reads, test results) → survives.
- User prefs: Explicit prefs + constraints → survive.
- Working components: Demonstrably functioning code/approaches → survive.
Draw boundary: inside = preserved, outside = subject to dissolution.
Got: Clear distinction kept vs released.
If err: Boundary unclear → "What would I need to reconstruct if starting from scratch?" → answer = boundary.
Step 3: Dissolve w/ Intention
Execute dissolution → not abandonment, intentional clearing.
- Each marked item, release explicit:
- Stale assumption: "I assumed X, current evidence shows Y. Releasing X."
- Failed approach: "Approach A attempted, didn't work because Z. Releasing attachment to A."
- Noise: "Variable/plan/ctx Q no longer relevant. Removing."
- Don't justify/defend dissolved → point = release, not analysis
- Large body dissolved → summarize what + why in one sentence
- Clear workspace: close abandoned files, reset mental model, acknowledge clean slate
Got: Lighter, cleaner ctx, stale removed. Remaining feels accurate + current.
If err: Incomplete (released items still influence) → name explicit again. "I notice I'm still reasoning as if X true. X dissolved. Proceeding without X."
Step 4: Sit in Void
After destruction, resist immediate rebuild. Space between destruction + creation has value.
- Acknowledge cleared space: "Following dissolved: [list]"
- Note remains: "Surviving: [list]"
- Resist premature reconstruction → don't immediately propose replacement
- Let cleared space inform what comes next
- Void ≠ emptiness → potential. Next step (creation via
brahma-bhaga| preservation viavishnu-bhaga) emerges.
Got: Moment of clarity old → new. Next direction apparent from what remains, not forced.
If err: Void uncomfortable, strong pull to rebuild → urgency = signal of attachment to dissolved. Sit longer. Right next step emerges.
Check
- Stale assumptions ID'd + explicit released
- Failed approaches acknowledged no defensiveness
- Accumulated noise cleared
- Preservation boundary set before dissolution
- Core reqs + user prefs preserved
- Cleared space acknowledged before creation
Traps
- Destroy too much: No boundary → destroys working w/ stale. Boundary first.
- Destroy too little: Polite "release" while still influencing reasoning. True dissolution = actual letting go.
- Skip void: Rush destruction → creation w/o sitting → recreation of old w/ superficial changes.
- Performing destruction: Going through motions w/o updating internal model. Same assumptions next response = performative.
- Destruction as avoidance: Escape difficulty vs clear staleness. Problem persists after clearing → wasn't stale ctx, was problem itself.
→
brahma-bhaga— creation follows destructionvishnu-bhaga— preservation complements; what survives dissolution sustainedheal— subsystem assess may reveal dissolution needed before healingmeditate— clear ctx noise before → prevents reactive over-destructiondissolve-form— morphic equivalent for architectural dismantling w/ imaginal disc preservation
GitHub Repository
Related Skills
content-collections
MetaThis skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.
polymarket
MetaThis skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.
creating-opencode-plugins
MetaThis skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.
sglang
MetaSGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
