/yana-ai:yana-ai yana-ai status | yana-ai audit | yana-ai hooks | yana-ai memoryfrom yana-ai
Agent safety OS that blocks dangerous commands (rm -rf, force push, pipe-to-shell) and enforces rules via 60+ hooks. Provides 2,036 skills and persistent memory for Claude Code.
Ships in yana-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Yana AI is an agent operating system layered on top of Claude Code (and other AI coding agents). It intercepts dangerous commands, enforces safety rules, manages persistent memory, and provides 2,025+ reusable skills.
When loaded, Yana AI automatically:
rm -rf, force push, pipe-to-shell, path traversal, supply chain attacks, and more# Install via skills CLI
npx skills add yanacuti1121/yana-ai
# Or install directly into .claude/
curl -L https://github.com/yanacuti1121/yana-ai/releases/latest/download/yana-ai-latest.zip -o yana-ai.zip
unzip yana-ai.zip -d .claude/
| Command | What it does |
|---|---|
/status | Show hooks, memory, and gate status |
/audit | Run full security audit on repo |
/quick-commit | Safe commit with gate checks |
/session-wrap | Persist session state to L1 memory |
/smart-fix | Auto-fix with feedback loop |
/code-review | Multi-agent code review |
Yana AI hooks fire on every tool call:
PreToolUse:
- safe-run.sh — blocks 40+ dangerous command patterns
- scope-guard.sh — enforces declared file scope
- risk-scorer.sh — rates action risk 0–100
- token-budget-guard — prevents runaway token usage
PostToolUse:
- session-checkpoint — saves state every 5 tool calls
- audit-logger — appends to Merkle hash-chain log
Stop:
- truth-gate.sh — warns on completion claims without evidence
# Save a fact to L1 (persists across sessions)
bash core/scripts/add-fact.sh "tag" "fact content" "high"
# Search L1 memory
bash core/scripts/search-facts.sh "tag"
# View session memory
bash core/scripts/list-session-facts.sh
Yana AI will always block these regardless of context:
rm -rf git push --force eval "$user_input"
curl ... | bash DROP TABLE chmod 777 core/
Yana AI enforces safety on all AI coding agents via a shared safe-run.sh proxy:
CODEX_SHELL_EXEC_HOOK → safe-run.sh.cursor/rules/ enforcement--before-exec hookWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub horonomos-laps/yana-ai --plugin yana-aiOther plugins' skills for the same job