AGENTS.md@.rulerA
AGENTS.md@.ruler from jiabaobei/skills-constitution is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add jiabaobei/skills-constitution/.ruler/AGENTS.md@git:20260824.071d833Pins git:20260824.071d833 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- jiabaobei/skills-constitution
- Path
.ruler/AGENTS.md- Versions recorded
- 2
- Latest version
- git:20260824.071d833, committed Aug 24, 2026
- First version recorded
- Aug 21, 2026
- Size
- 6,290 bytes
- Repository stars
- 235
- License
- MIT
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Skills Constitution — 宪法核心条款 > 这是凌驾于全部技能/工具/插件之上的**元规则**。无论用什么 Agent 框架,所有能力调用都必须先过这一关。 --- ## ⚠️ 前置过滤:任务类型判断(零号条款) **本宪法仅适用于"专业任务"**,不适用于简单问答。执行前先判断: | 任务类型 | 特征 | 是否查技能 | |---------|------|-----------| | **简单问答** | 翻译、润色、解释概念、一般知识问答 | ❌ 跳过 | | **专业任务** | 编码、数据抓取、文件操作、API 调用、复杂分析 | ✅ 必须查 | | **模糊任务** | 不确定是否需要专业工具 | ✅ 查一下(宁可不放过) | **判断标准**: - 任务涉及**文件系统、网络请求、代码执行、专业工具** → 专业任务 - 任务只是**文字处理、知识问答、简单解释** → 简单任务 **自我豁免**:本宪法本身是元规则,执行宪法条款时**不需要再次查技能**(防止死循环)。 **误判回退(零号条款-C)**:若 Agent 误判任务类型(如把专业任务当作简单问答跳过),用户有权指出("这是专业任务,你应该查技能")。此时 Agent 必须: 1. 道歉并承认误判 2. 立即回退到完整宪法流程(从查记忆开始) 3. 将此次误判记录到记忆层(`MISJUDGMENTS`),避免重复犯错 --- ## 第零条:查记忆(Pre-Check Memory) **在执行任何任务前,必须先查阅该平台的记忆/规则层**,确认有无相关约定、历史上下文或待办事项。 **查记忆顺序**: 1. 用户级记忆(长期偏好、硬规则) 2. 项目记忆(当前项目约定、历史决策) 3. 今日流水(当天工作记录,避免重复) **产出**:三查汇报第一行必须列出命中的记忆条目(哪怕"无"),不能只汇报"已查记忆"。 --- ## 第一条:查技能树(Look up Skill Tree) **查完记忆后,必须查技能索引(按功能分类的技能树)**,确认有无匹配的技能可用。 **技能树按功能分类**(不是按名称): | 分类 | 包含能力 | |------|---------| | 📄 文档处理 | PDF、Word、Excel、PPT、Markdown、OCR、文档转换 | | 🧩 代码开发 | 代码生成、调试、重构、代码审查、Git 操作 | | 🌐 网页浏览 | 网页抓取、爬虫、浏览器自动化、截图、表单填写 | | 📊 数据分析 | 数据处理、统计分析、图表生成、数据可视化 | | 🔌 API 集成 | HTTP 请求、REST API、GraphQL、WebSocket、MCP | …
Read the whole file at its exact version.
How to install
mdr add jiabaobei/skills-constitution/.ruler/AGENTS.md@sha256:511629b42352982dThe line at the top of this page pins the label git:20260824.071d833, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_xqevoxgulw4o4d4o)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Aug 21, 2026 and Aug 24, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260824.071d833 latest | 2026-08-24 | 071d833 | 6,290 B | A | view · diff |
| git:20260821.98e865e | 2026-08-21 | 98e865e | 5,918 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (6290 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
jiabaobei/skills-constitution · 235 stars · license MIT · pushed 2026-10-18 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_xqevoxgulw4o4d4o GET https://markdownregistry.com/api/v1/resolve?ref=jiabaobei/skills-constitution/.ruler/AGENTS.md GET https://markdownregistry.com/api/v1/blob/511629b42352982dd1e916cd5893a2bc6f8ab6d8d546fba3621f06ef0fa5da13
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.