agent-skills
AGENTS.md0 starsChanged 4 months agoMITView on GitHub
本仓库用于存放可复用的 Agent Skills。修改时优先保持 skill 规范正确、结构简单清晰,并尊重这个仓库的个人工作流定位:先对齐意图,再决定是否写计划,然后执行、交接、评审或生成 git 元数据。 Active bucket 必须有 bucket-level README.md。只在 bucket 实际存在时创建它。 Active skill 至少包含: Per-skill README.md 是可选的。只有当它能补充安装、使用、依赖、示例或人类阅读材料,并且这些内容不适合放进 SKILL.md 时才添加。 SKILL.md 必须以 YAML frontmatter 开头,至少包含: 每个 active skill 都要在设计上明确是 user-invoked 还是 model-invoked。 如果将来加入 Codex metadata,agents/openai.yaml 必须同步 invocation mode:user-invoked skill 设置 policy.allow_implicit_invocation: false。 修改 workflow/ 技能时,检查并更新 skills/workflow/ask-orchard,确保路由仍然准确。 新增或修改 active skill 后,提交前运行 bucketed path 校验: 如果校验器不支持嵌套 bucket 路径,手动检查 frontmatter、目录名、invocation mode、bucket README,并在交付说明中记录限制。
In this repository14 other files it gives its agents.
- codex-proxySkill
- executor-plansSkill
- executor-reviewsSkill
- git-conditional-identitiesSkill
- git-conventionsSkill
- oh-my-posh-setupSkill
- scheduling-codex-window-startsSkill
- skill-comparisonSkill
- visualizing-leetcode-solutionsSkill
- windows-fe-dev-setupSkill
- ask-orchardSkill
- decide-before-doingSkill
- plan-to-docsSkill
- review-to-docsSkill
The file
Files
AGENTS.md
本仓库用于存放可复用的 Agent Skills。修改时优先保持 skill 规范正确、结构简单清晰,并尊重这个仓库的个人工作流定位:先对齐意图,再决定是否写计划,然后执行、交接、评审或生成 git 元数据。
仓库约定
- 所有 skill 放在
skills/目录下。 - active skill 使用 bucketed 路径:
skills/<bucket>/<skill-name>/。 - 一个目录对应一个 skill。
- 新增或修改 skill 时,优先保持最小结构,不要引入无关文件。
- 不要直接提交到
main。 - 不要创建或建议以
codex开头的分支名。 - 需要读取 GitHub workflows 或其他 GitHub 状态时,使用
gh命令。
Buckets
workflow/: 路由、计划、交接、评审等跨步骤协作流程。engineering/: 编码、git、PR、测试、发布等工程实践。meta/: skill 系统自身的维护、比较、评估和设计。learning/: 学习、讲解、可视化推导类技能。environment/: 本地环境安装、修复、诊断和工具链配置。personal/: 明确个人化、少数场景使用、不适合默认自动触发的技能。in-progress/: 尚未稳定、仍在试验或测试中的技能。deprecated/: 旧技能或暂停使用的技能,只作为可恢复素材,不作为当前推荐入口。
Active bucket 必须有 bucket-level README.md。只在 bucket 实际存在时创建它。
Skill 结构
Active skill 至少包含:
skills/<bucket>/<skill-name>/
SKILL.md可选内容:
README.mdscripts/references/assets/
Per-skill README.md 是可选的。只有当它能补充安装、使用、依赖、示例或人类阅读材料,并且这些内容不适合放进 SKILL.md 时才添加。
命名规则
- skill 目录名必须与
SKILL.mdfrontmatter 中的name完全一致。 - skill 目录名只能使用 kebab-case:小写字母、数字、连字符。
- 不允许空格、下划线、大写、首尾连字符、连续连字符。
- bucket 目录名也应使用 kebab-case。
SKILL.md 最低要求
SKILL.md 必须以 YAML frontmatter 开头,至少包含:
---
name: skill-name
description: Use when ...
---要求:
name必须等于 skill 目录名。description必须清楚描述触发条件和使用场景,不要含糊。- 正文保持聚焦,一个 skill 只解决一类问题。
- 说明尽量明确,必要时给出步骤或示例。
Invocation Mode
每个 active skill 都要在设计上明确是 user-invoked 还是 model-invoked。
- User-invoked: 用户明确选择的高层入口或少见个人流程。优先在允许的 metadata 中标记 invocation;如果目标 Claude-compatible loader 支持
disable-model-invocation且校验器允许,再在导出或目标格式中加入disable-model-invocation: true。 - Model-invoked: agent 应在场景匹配时自动使用的纪律、流程或窄触发技能。保留触发丰富的
description,不要加入disable-model-invocation。
如果将来加入 Codex metadata,agents/openai.yaml 必须同步 invocation mode:user-invoked skill 设置 policy.allow_implicit_invocation: false。
修改 workflow/ 技能时,检查并更新 skills/workflow/ask-orchard,确保路由仍然准确。
校验
新增或修改 active skill 后,提交前运行 bucketed path 校验:
npx skills-ref validate ./skills/workflow/decide-before-doing这一步用于确认:
- 目录名与
name一致。 description存在且格式有效。- frontmatter YAML 合法。
- 必填字段没有缺失。
如果校验器不支持嵌套 bucket 路径,手动检查 frontmatter、目录名、invocation mode、bucket README,并在交付说明中记录限制。
安全
- 不要写入任何密钥、token、密码或个人敏感信息。
- 需要凭据时,改为从环境变量读取。
- 脚本若会联网或写文件,需在文档中明确说明。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

