开源MCP工具:The 7 Laws of AI Agent Discipline 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
使用开源MCP工具,遵循The 7 Laws of AI Agent Discipline,提高AI代理的自律性和可靠性,适用于Claude Code等场景。
开源MCP工具:The 7 Laws of AI Agent Discipline 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
使用开源MCP工具,遵循The 7 Laws of AI Agent Discipline,提高AI代理的自律性和可靠性,适用于Claude Code等场景。
开源MCP工具:The 7 Laws of AI Agent Discipline 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/naimkatiman/continuous-improvement
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp---the-7-laws-of-ai-agent-discipline": {
"command": "npx",
"args": ["-y", "continuous-improvement"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具:The 7 Laws of AI Agent Discipline 执行以下任务... Claude: [自动调用 开源MCP工具:The 7 Laws of AI Agent Discipline MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp___the_7_laws_of_ai_agent_discipline": {
"command": "npx",
"args": ["-y", "continuous-improvement"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="assets/combined.gif" alt="Before vs After — The 7 Laws of AI Agent Discipline" width="700" /> </p>
<p align="center"> <b>Research first. Edit safely. Verify before done. Remember what worked.</b> </p>
<p align="center"> <i>The 7 Laws of AI Agent Discipline — runtime hooks, enforcement skills, and project memory.</i> </p>
<p align="center"> <a href="https://www.npmjs.com/package/continuous-improvement"><img src="https://img.shields.io/npm/v/continuous-improvement" alt="npm"></a> <a href="https://docs.anthropic.com/en/docs/claude-code"><img src="https://img.shields.io/badge/Claude%20Code-skill-blueviolet" alt="Claude Code"></a> <a href="https://github.com/marketplace/actions/ai-agent-discipline-linter"><img src="https://img.shields.io/badge/GitHub%20Action-marketplace-blue" alt="GitHub Action"></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="license"></a> <a href="test/"><img src="https://img.shields.io/badge/tests-passing-brightgreen" alt="tests"></a> </p>
<p align="center"> <b>New here?</b> → <a href="QUICKSTART.md">QUICKSTART.md</a> (2 minutes) · <a href="https://naimkatiman.github.io/continuous-improvement">Landing page</a> </p>
**What this is not:** a prompt template, aCLAUDE.md, or a vibes-based reminder. It is a runtime hook (hooks/gateguard.mjs) plus a bundled skill set that physically blocksEdit/Write/ destructiveBashuntil the agent has done the work.
---
If you don't know which to pick, use Beginner. It is enough for ~90% of users and adds no Node or bash dependency.
npx continuous-improvement install --uninstall
Removes skill, hooks, commands, MCP server. Learned instincts in ~/.claude/instincts/ are preserved — delete manually for a clean slate.
---
You get the 7 Laws skill, the hooks that enforce it, and the slash commands. Nothing else to install.
```bash
Three failures account for nearly every install support thread. Try them in order:
| Symptom | Real cause | Fix |
|---|---|---|
/discipline says "command not recognized" right after /plugin install | Slash commands load on session start; the marketplace did pick the plugin up | Quit and reopen Claude Code, then run /discipline again |
| Expert mode hooks never fire on Windows | observe.sh is bash; PowerShell silently no-ops on it | Install Git Bash (or WSL) and re-run npx continuous-improvement install --mode expert |
/plugin marketplace add ... returned nothing visible | Marketplace add was silent; the plugin is not yet selected | Run /plugin install continuous-improvement@continuous-improvement to select and activate it |
If none of those apply, paste the output of npx continuous-improvement install into a GitHub issue — that surface logs every step.
该项目提供了一个开源的MCP工具,用于提高AI代理的自律性和可靠性,适用于Claude Code等场景,但需要进一步优化和测试。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,开源MCP工具:The 7 Laws of AI Agent Discipline 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | continuous-improvement |
| 原始描述 | 开源MCP工具:The 7 Laws of AI Agent Discipline for Claude Code. Stops your agent from skippin。⭐6 · JavaScript |
| Topics | mcpai-agentsai-discipline |
| GitHub | https://github.com/naimkatiman/continuous-improvement |
| License | MIT |
| 语言 | JavaScript |
收录时间:2026-06-03 · 更新时间:2026-06-03 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端