Entryplug — AI skill for Claude Code
Governance layer for AI coding agents (Claude Code, Codex): Git pre-commit + deny rules protect one person's rules and tools, a PreToolUse hook stops outbound commands, and a read-only MCP search serv.
How to install Entryplug
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Blacksun10282022/entryplug and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Entryplug does
Governance layer for AI coding agents (Claude Code, Codex): Git pre-commit + deny rules protect one person's rules and tools, a PreToolUse hook stops outbound commands, and a read-only MCP search server feeds the agent their notes. Recall@10 0.98 on a public 50-case gold set; 153 tests.
Alternatives in AI
- Dsh Auto Review — Second-model AI auto-review for DeepSeek Harness approval requests: a read-only reviewer subagent returns stru 155 ★
- Meta Kim — Governance layer for AI coding: meta agents, workflow contract, meta-theory; canonical in .claude/, with gener 106 ★
- Gary AI Link — AI link(原名借脑):把团队里 AI 用得最好的那个人的 AI,借给每个人 92 ★
README
English | [简体中文](README.zh-CN.md)
entryplug · Entry Plug
In plain words
EntryPlug is a governance layer for AI coding agents (Claude Code, Codex and Antigravity): a small CLI plus a read-only MCP server. One person writes down their rules, facts and past decisions; the agent searches them over MCP and works from them. EntryPlug's job is to keep the agent from changing them, and from sending anything out in that person's name without asking first.
Both limits are enforced in code, not in the prompt:
- Protected files. A Git pre-commit hook plus Claude Code deny rules refuse changes to the person's rules, facts and approved tools. The agent writes a change request instead; only the owner can apply it.
- Outbound actions. A PreToolUse hook refuses the common outbound write commands (
git push,gh, HTTP POST, mail, publish and send tools), verified live in Claude Code, Codex and Antigravity'sagyCLI. It is a tripwire, not a sandbox: code outside its list can still reach the network.
Measured (details in [How it is measured](#how-it-is-measured)): retrieval recall@10 is 0.98 on a public 50-case gold set; the locks pass an acceptance script (25 automated checks, 5 verified by hand in live sessions); 162 unit tests. In a private blind benchmark, answers with EntryPlug were preferred on all six situations for each of four agent models (one judge, situations chosen by the author; caveats below).
The rest of this README uses the project's own vocabulary: the agent is the **pilot**, the person's notes are the **Base**, their tools are **Equipment**, and the two limits are the **berserk lock** and the **sortie lock**.
entryplug is the plug that lets a coding agent work from one person's written judgment without ever rewriting it. Three file shapes, one read-only search interface, two machine-enforced locks, one self-check. It does not judge, it does not orchestrate, and it does not learn on its own. A Sunzi example equipment ships with it, so the
Related Skills
Agent Roast
Stops AI coding agents from making the build green by weakening tests, coverage gates or CI. Stop hook for Cla
One Fact One Place
A git pre-commit hook for repos AI agents write to: it stops an agent's commit when a line repeats a fact the
AI Coding Rules Scaffold
Two-layer enforcement (pre-commit hook + CI mirror) for small teams using AI agents. Catches debug leaks, file
Bleep
Stops AI coding agents (Claude Code, Codex, Copilot) from leaking private/company repository names onto public
Smart Context Delegation
Cut coding-agent token usage by ~90%: a PreToolUse hook blocks large file reads; bulk-read/code-write delegate
Agentic Dev Starter Kit
Multi-tier AI coding governance & Gemini-powered Git pre-commit reviewer with dependency-aware static analysis
Related Agents
Claude Code Specialist
Read-only Claude Code validation specialist auditing .claude/ compilation, PreToolUse deny contract, ClaudeCod
Hcs Hook Integrator
Wires Claude Code + Codex hooks to the HCS substrate without embedding policy in hook bodies. Maintains .claud
Ccreview Fixer
Fix agent for the ccreview workflow. Its Bash and edits are held to a per-run allowlist by the plugin's PreToo