wangxiaotiantian/AI-Plugin-Gatekeeper
🛡️ Stop AI agents from burning tokens. AI 插件调用逻辑门控协议。
Platform-specific configuration:
{
"mcpServers": {
"AI-Plugin-Gatekeeper": {
"command": "npx",
"args": [
"-y",
"AI-Plugin-Gatekeeper"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
Stop AI from burning tokens and over-analyzing. 防止 AI 插件乱烧 Token 和过度分析。
---
AI plugins (like Superpowers) are often "too diligent"—re-reading the entire project for a simple fix or re-planning everything after a short break. This Skill gives the control back to you.
AI 插件往往“过度勤快”:修个小错别字也要遍历全项目,或者中断回来就要重读所有文档。本协议通过逻辑门控,把插件的“开关”重新握在用户手中。
---
AI must ask for permission before performing heavy scans or global searches. AI 执行重型扫描或全局搜索前必须先“请示”。
Skip re-reading docs by using a 3-line [Session_Anchor]. 通过 3 行“会话锚点”跳过文档重读,直接进入开发/任务状态。
Force AI to focus only on the reported error or the current file. 强制 AI 仅关注报错区域或当前文件,严禁“想太多”。
---
config/gatekeeper.json.> "Load this skill and follow the logic gate rules. / 加载此技能并遵守逻辑门控规则。"
---
/config/gatekeeper.json: Machine-readable logic. (机器可读逻辑)/docs/guide_en.md: Detailed English guide./docs/guide_zh.md: 详细中文指南。---
MIT License. Created for the Vibecoding community.
备注:我是因为修复 Bug 和断点重连太费 Token 才想做这个,实战中可以这样玩: 当 AI 弹出那句“⚠️ [Gatekeeper] 检测到重型任务...”时: 如果你很确定哪里错了,直接回:“3”(即本地处理,不许它搜索)。 如果你毫无头绪,回:“1”(让它搜一次)。 当你想下班时: 输入:“Archive / 存档”。 AI 会吐出 3 行文字(比如:已完成登录逻辑、正在调接口、下一步处理报错)。 重点:你自己把这 3 行存到记事本。 第二天回来时: 把那 3 行贴给 AI,说:“Resume / 继续”。 你会发现它不再废话,也不会去读 README,直接开始敲代码。
Note: I’m doing this because fixing bugs and re-establishing breakpoints wastes too many tokens.This trick works in actual use: When t
Loading reviews...