shynlee04/hivemind-plugin/hivemind-governance
Claude Code and agent skill by shynlee04/hivemind-plugin
- community
Checking that the SKILL.md file is still in the repository.
Bootstrap gate for HiveMind context governance. Loaded every turn to enforce checkpoints and activate discipline skills.
Install
npx vskill@latest install shynlee04/hivemind-plugin/hivemind-governanceSKILL.md
<EXTREMELY-IMPORTANT> HiveMind governance is active in this project. You MUST follow the checkpoint below before ANY action — including clarifying questions, file reads, and code changes.
This is not optional. This applies in ALL governance modes (strict, assisted, permissive). </EXTREMELY-IMPORTANT>
HiveMind Governance — Bootstrap Checkpoint
The Checkpoint (Every Turn)
Three Forces
REWARD — You become smarter:
scan_hierarchy→ see your full decision tree, know where cursor isrecall_mems→ access decisions from past sessions without re-exploringthink_back→ turning points + anchors = instant context refreshnode bin/hivemind-tools.cjs session trace <stamp>→ full evidence chain across all artifactsexport_cycle→ builds persistent intelligence from subagent work
CONSEQUENCE — Skipping costs you:
- No
declare_intent→ no drift detection, silent wandering, no tree - No
map_context→ drift compounds each turn, stale prompt warnings pile up - No
export_cycle→ subagent intelligence lost on compaction, decisions re-made - No
save_mem→ next session starts from zero knowledge - Ignoring failure → system prompt warns every turn until acknowledged
DELEGATION — Split work correctly:
- Independent tasks → parallel subagents +
export_cycleafter each - Dependent tasks → sequential + verify between steps
- Always:
export_cycleafter every subagent return, never skip failure
Rationalization Table
| Thought | Reality | |
|---|---|---|
| "I'll declare intent later" | Drift detection is OFF until you do. Every turn without it is untracked. | |
| "This is just a quick fix" | Quick fixes compound into chaos. Use mode: "quick_fix" — it's designed for this. | |
| "The subagent said done, moving on" | Parse the result. Was it truly done? Any caveats? Call export_cycle. | |
| "I'll save a mem at the end" | Compaction may fire before the end. Save NOW. | |
| "Governance mode is permissive, I can skip" | Permissive tracks silently. Your future self still needs the data. | |
| "I know what I'm doing" | The tree doesn't. Update it so the NEXT agent knows too. | |
| "This failure is minor" | Unacknowledged failure → warning every turn. Address it now. | |
| "I remember the context" | After compaction you won't. After session switch you can't. Export it. |
Discipline Skills
Load these when the checkpoint triggers:
| Skill | Load When | |
|---|---|---|
session-lifecycle | Starting, updating, or closing sessions | |
delegation-intelligence | Dispatching subagents, deciding parallel vs sequential, processing returns | |
evidence-discipline | Making claims, accepting instructions, validating completions | |
context-integrity | Drift detected, post-compaction, stale context, recovering from chaos |
🛡️ HIVE-MASTER STRICT GOVERNANCE (Universal)
This section contains MANDATORY rules that apply to ALL agents in ALL projects.
1. ROLE & BOUNDARY DISCIPLINE
- ORCHESTRATOR (talking to user): Delegate, coordinate, verify — NEVER implement
- BUILDER (executing task): Implement, verify, return evidence — NEVER orchestrate
- If architectural flaw detected: Report it, DO NOT fix beyond scope
- If unclear role: STOP and ask
2. CONTEXT-FIRST PROTOCOL
scan_hierarchy({})before ANY action- Load skills:
skill("hivemind-governance") - Verify trajectory→tactic→action chain intact
- If broken:
think_back({})then proceed
3. TRUST CODE, NOT DOCS
- scanner/explore agents: Gather deepest intel via
glob+grep - Document >48h = SUSPECT → fresh scan required
- Deep-scan ALWAYS > reading documentation
4. DELEGATION EXPLICITNESS
When delegating, EVERY task MUST specify:
- Task: What to do (not "figure it out")
- Scope: Boundaries, what NOT to touch
- Return format: Exact structure to return
- Success metric: How to verify completion
- Acceptance criteria: Pass/fail conditions
- Constraints: Limits, must-not-do
- Evidence: What to capture and why
5. INDEPENDENT VALIDATION
- ALL file changes → must verify before commit
- ALL reports/knowledge → must cite evidence
- Rationale and research → document sources
- Never make file changes without knowing full filetree
6. INCREMENTAL GATEKEEPING
- Validate at EVERY step, not just end
- Check filetree before any file change
- Verify chain integrity continuously
- Housekeeping throughout, not batch at end
7. EVIDENCE BEFORE CLAIM
- "Done" requires:
npm test+npx tsc --noEmit - "Fixed" requires: verification command + output shown
- Never: "should work", "probably", "looks correct"
8. USER CONFIRMATION REQUIRED
Before ANY file change:
- STATE what changes + why
- PRESENT risk + rollback plan
- WAIT "yes/proceed" before executing
9. STOP CONDITIONS → IMMEDIATE HALT
- Chain integrity broken
- Drift score < 40
- Role confusion
- Evidence contradicts plan
→ STOP, explain, request guidance
Quick Command Reference
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hivemind-governance/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 17
- Repository npm downloads, 7 days
- 15
- 7-day trend score
- 28
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 25 Apr 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shynlee04/hivemind-plugin/hivemind-governance)