Token导航 LogoToken导航

Agent Skill · 研究检索

agents-md(特工 MD)

agents-md 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agents-md 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 48,434。

总安装 689周安装 29GitHub Stars 4下载 241核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agents-md(特工 MD)
来源仓库:https://github.com/dimitrigilbert/ai-skills
仓库路径:skills/agents-md
安装命令:
npx skills add https://github.com/dimitrigilbert/ai-skills --skill agents-md
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dimitrigilbert/ai-skills --skill agents-md

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

提供 AGENTS.md 文件创建与维护的专业指导, 该标准被超 6 万开源项目采用。区别于 README.md, 专为 AI 代理设计,agents-md 属于研究检索类 Skill,可作为该场景下的辅助能力补充。包含构建步骤、测试与编码约定。适用于新项目引导、现有项目上下文补充与多代理协作规范统一。

来源仓库内路径:skills/agents-md

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/dimitrigilbert/ai-skills --skill agents-md;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agents-md 怎么安装?

在终端执行 npx skills add https://github.com/dimitrigilbert/ai-skills --skill agents-md。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agents-md 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agents-md 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

agents-md 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agents-md 用的人多吗?

公开数据是累计安装 689 次,近一周安装 29 次,下载 241 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agents-md 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agents-md

特工 MD · 本页

6894接触敏感数据未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

This skill provides expert guidance for creating, verifying, and improving AGENTS.md files - the open standard format for guiding AI coding agents.

What is AGENTS.md?

AGENTS.md is a simple, open format for guiding coding agents, used by over 60k open-source projects. Think of it as a README for agents: a dedicated, predictable place to provide context and instructions to help AI coding agents work on your project.

Key principle: Unlike README.md (which is for humans), AGENTS.md contains the extra, detailed context coding agents need: build steps, tests, conventions, and instructions that might clutter a README.

Learn more: https://agents.md/ | https://www.aihero.dev/a-complete-guide-to-agents-md

Quick Start

When users want to create an AGENTS.md file

Start by asking these clarifying questions:

  1. Project type: Monorepo or single package?
  2. Tech stack: What languages/frameworks?
  3. Package manager: npm, pnpm, yarn, bun, or something else?
  4. Build/test commands: Any non-standard commands?
  5. Specific concerns: Any patterns you want to encourage or avoid?

Then create a minimal AGENTS.md following the template below.

When users want to verify an existing AGENTS.md

Run through the verification checklist (see Verification below).

When users want to improve an existing AGENTS.md

Assess the file and suggest progressive disclosure refactoring (see Improvement below).

Core Principles

1. Minimal Root AGENTS.md

The root AGENTS.md should be as small as possible. Every token gets loaded on every request, so keep only what's relevant to every single task.

Essential elements only:

  • One-sentence project description (acts as a role-based prompt)
  • Package manager (if not npm; or use corepack for warnings)
  • Non-standard build/typecheck commands
  • Links to progressive disclosure files

2. Progressive Disclosure

Instead of cramming everything into AGENTS.md, give the agent only what it needs right now, and point to other resources when needed.

Example - Don't do this:

## Code style

- Always use const instead of let
- Use interface instead of type when possible
- Prefer functional patterns
- No semicolons
- Single quotes only
- ... (50 more lines)

Do this instead:

For TypeScript conventions, see docs/TYPESCRIPT.md

Benefits:

  • TypeScript rules only load when the agent writes TypeScript
  • Other tasks don't waste tokens
  • File stays focused and portable across model changes

3. Describe Capabilities, Not File Structure

File paths change constantly. Documenting structure leads to stale information that actively poisons context.

Don't:

Authentication logic lives in src/auth/handlers.ts

Do:

Authentication uses JWT tokens with refresh token rotation.
Look for modules matching **/auth/**/*.ts for implementation.

4. Nested AGENTS.md for Monorepos

Place AGENTS.md files in subdirectories - they merge with the root level.

LevelContent
RootMonorepo purpose, navigation, shared tools
PackagePackage purpose, tech stack, specific conventions

Root AGENTS.md:

This is a monorepo containing web services and CLI tools.

Use pnpm workspaces to manage dependencies.

See each package's AGENTS.md for specific guidelines.

Package AGENTS.md (packages/api/AGENTS.md):

This package is a Node.js GraphQL API using Prisma.

Follow docs/API_CONVENTIONS.md for API design patterns.

Templates

Minimal Single-Package AGENTS.md

# AGENTS.md

[One-sentence description of what this project is]

## Package Manager

This project uses [pnpm/yarn/bun]. [Optional: brief note if workspaces/monorepo]

## Build & Test

- Build: `command here`
- Test: `command here`
- Typecheck: `command here` (if non-standard)

## Progressive Disclosure

- [Domain-specific]: [path/to/file.md]

Minimal Monorepo Root AGENTS.md

# AGENTS.md

This is a monorepo containing [brief description of packages].

## Package Manager

Use [pnpm workspaces/yarn workspaces] to manage dependencies.

## Navigation

- Use `pnpm --filter <package_name>` to run commands in specific packages
- Each package has its own AGENTS.md with specific guidelines

## Packages

- [`package-name`](packages/package-name): [brief purpose]
- [`package-name`](packages/package-name): [brief purpose]

Package-Level AGENTS.md (Monorepo)

# AGENTS.md

[One-sentence description of this package]

## Tech Stack

- [Framework]
- [Language]
- [Key libraries]

## Commands

- Build: `command here`
- Test: `command here`
- Dev: `command here`

## Progressive Disclosure

- [Domain]: [path/to/file.md]

Verification

When verifying an existing AGENTS.md, check for these issues:

Bloat Indicators

  • File is longer than 50-75 lines
  • Contains detailed coding style rules that belong in separate files
  • Documents file paths extensively
  • Has extensive examples that should be in documentation
  • Contains git workflow instructions that belong in CONTRIBUTING.md

Contradiction Detection

Look for conflicting instructions:

  • "Use functional patterns" vs "Use classes for X"
  • "Prefer composition" vs "Use inheritance for Y"
  • "Always use X" vs "In cases of Y, use Z"

Stale Information Risks

  • Specific file paths (especially src/ directories)
  • Lists of files or modules
  • Version-specific toolchain commands
  • Outdated architecture descriptions

Best Practices Compliance

  • Has one-sentence project description
  • Specifies package manager (if not npm)
  • Links to progressive disclosure files
  • Uses conversational tone (not "ALWAYS", "MUST", "NEVER")
  • Describes capabilities, not structure

Improvement

Refactoring Bloated AGENTS.md

Use this process to refactor a bloated AGENTS.md:

  1. Find contradictions: Identify conflicting instructions and ask which to keep
  2. Extract essentials: Keep only what belongs in root AGENTS.md
  3. Group the rest: Organize remaining instructions into logical categories
  4. Create file structure: Set up progressive disclosure hierarchy
  5. Flag for deletion: Remove redundant, vague, or obvious instructions

Prompt template to use:

I want you to refactor my AGENTS.md file to follow progressive disclosure principles.

1. **Find contradictions**: Identify any instructions that conflict with each other.
   For each contradiction, ask me which version I want to keep.

2. **Identify the essentials**: Extract only what belongs in the root AGENTS.md:
   - One-sentence project description
   - Package manager (if not npm)
   - Non-standard build/typecheck commands
   - Anything truly relevant to every single task

3. **Group the rest**: Organize remaining instructions into logical categories
   (e.g., TypeScript conventions, testing patterns, API design, Git workflow).

4. **Create the file structure**: Output:
   - A minimal root AGENTS.md with markdown links to the separate files
   - Each separate file with its relevant instructions
   - A suggested docs/ folder structure

5. **Flag for deletion**: Identify any instructions that are:
   - Redundant (the agent already knows this)
   - Too vague to be actionable
   - Overly obvious (like "write clean code")

Creating Progressive Disclosure Files

Suggested structure:

docs/
├── TYPESCRIPT.md       # TypeScript patterns and conventions
├── TESTING.md          # Testing strategies and frameworks
├── API_CONVENTIONS.md  # API design patterns (if applicable)
├── ARCHITECTURE.md     # High-level architecture (capabilities, not file paths)
└── Git worklow items → CONTRIBUTING.md

Each file should:

  • Be focused on one domain
  • Link to related files for navigation
  • Describe principles, not prescriptions
  • Include examples where helpful

Common Issues & Solutions

IssueSolution
Agent uses wrong package managerExplicitly specify: "This project uses pnpm"
Agent generates wrong commandsList non-standard build/test commands
File gets too largeApply progressive disclosure - move domain rules to separate files
Instructions conflictReview for contradictions and resolve
Agent looks in wrong placesDescribe capabilities, not file paths
Mixed conventions over timeTreat AGENTS.md as living documentation, review periodically

AGENTS.md vs CLAUDE.md

Claude Code uses CLAUDE.md instead of AGENTS.md. To maintain compatibility:

# Create a symlink from AGENTS.md to CLAUDE.md
ln -s AGENTS.md CLAUDE.md

Both files serve the same purpose - customize how AI coding agents behave in your repository.

Tools Supporting AGENTS.md

AGENTS.md is an open standard supported by many tools:

  • OpenAI Codex, Jules (Google), Factory, Aider, goose, opencode
  • VS Code, Devin (Cognition), Cursor, RooCode, Gemini CLI
  • GitHub Copilot coding agent, Windsurf (Cognition), and more

See https://agents.md/ for the full list.

Your Approach

  1. Start minimal: Begin with essential information only
  2. Apply progressive disclosure: Move domain-specific rules to separate files
  3. Avoid file paths: Describe capabilities, not structure
  4. Keep it conversational: Use natural language, not rigid commands
  5. Review periodically: Treat as living documentation
  6. Use nested files: For monorepos, place AGENTS.md in subdirectories
  7. Link, don't duplicate: Point to other resources instead of repeating

Progressive Disclosure

Deep dive on specific topics:

平台分布

Codex

40.41%
按下载量换算97

Claude

28.9%
按下载量换算70

Cursor

18.24%
按下载量换算44

Gemini CLI

10.27%
按下载量换算25

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills