DCGP
Description
Context governance kernel for LLM agents. Predicts entropy, blocks hallucinations. Pairs with opencode-dcp. llm, llm-agents, opencode, opencode-plugin, context-governance, anti-hallucination, claude-code, cursor, typescript.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
DCGP - Dynamic Context Guidance Paths
**The Semantic Operating System for LLM Agents** · v1.0.0-rc · MIT
[](./DCGP-SPEC.md) [](./COMPLIANCE) [](./LICENSE) [](./packages/core/package.json)
DCGP is a closed-loop governance layer that eliminates context decay and hallucinations in long-running LLM sessions. It monitors context health per turn and orchestrates interventions, predicting degradation before the model begins to hallucinate.
DCGP also ships **`@dcgp/vibe-audit`** for static analysis of AI-coded ("vibe-coded") repositories - 8 rules that catch the artifacts AI-assisted code commonly leaves behind (stub markers, hardcoded credentials, type-safety bypasses, command injection, test theater, predictable randomness, ReDoS risk, comment-density imbalance). Runtime governance via the 7-step loop; static governance via `dcgp audit`. Same severity tier system, same `Finding` shape, same JSON / SARIF / Markdown formatters.
**Live state of this repo is defined by `./scripts/verify-dcgp.sh`.** It is the single source of truth for what is implemented. The prose below describes intent; the script enforces reality.
**Relationship to DCP ([@tarquinen/opencode-dcp](https://github.com/Opencode-DCP/opencode-dynamic-context-pruning)):** DCP manages context *quantity* (token budget, rule-based pruning of stale outputs). DCGP manages context *quality* (domain grounding, entropy prediction, hallucination blocking). Run both, they are orthogonal and additive.
DCGP does not reimplement DCP's pruning. DCGP emits a `RetentionDirective` on every entropy-level transition (see [Pruning Nexus](#the-pruning-nexus)); `@dcgp/opencode` translates each directive into a DCP-shaped config patch (`turnProtection`,
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI