Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计通过

agents-md-creator特工 MD 创造者

Agent Skill

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

总安装

212

周安装

9

GitHub Stars

公开资料未说明

下载量

74
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mguinada/agent-skills --skill agents-md-creator

简介

agents-md-creator 生成渐进披露式的 AI 文档文件,帮助代理理解项目上下文。

  • 遵循单一事实源原则,避免重复并聚焦任务相关指引。
  • 支持多框架适配,默认输出最小化但完整的 AGENTS.md 结构。
  • 涉及文件写入操作,需确认目标目录权限和版本控制策略。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

AGENTS.md / CLAUDE.md Creator

Create and maintain AI documentation files that help agents understand your project efficiently using progressive disclosure principles.

Core Philosophy: Iron Rule

Never use line count as a metric. Judge by single source of truth (no duplication), cognitive relevance (only task-relevant info), and maintainability (change once, not everywhere).

Quick Decision Trees

"I want to create AGENTS.md"

Create AGENTS.md?
├─ Detect project structure → references/project_detection.md
├─ Determine if monorepo → Check for apps/, packages/, workspace configs
├─ Extract essential info → README.md, package.json, folder layout
├─ Choose template → references/templates.md
└─ Apply progressive disclosure → references/progressive_disclosure.md

"My AGENTS.md is too bloated"

Optimize existing AGENTS.md?
├─ Back up file first → cp AGENTS.md AGENTS.md.bak.$(date)
├─ Classify each section → references/progressive_disclosure.md#content-classification
├─ Create Level 2 references → docs/references/ for detailed content
├─ Update Level 1 → Keep only high-frequency, critical info
└─ Verify completeness → Ensure no information is lost

"I don't know my project structure type"

Detect project structure?
├─ Check for apps/ or packages/ directories → Monorepo
├─ Check for workspace config (pnpm-workspace.yaml, etc.) → Monorepo
├─ Check for lerna.json, turbo.json, nx.json → Monorepo
├─ Single package.json at root → Polyrepo (likely)
└─ Show detection confidence and ask user to confirm

Project Structure Detection

Auto-Detection Indicators

IndicatorTypeEvidence
apps/ directory existsMonorepoMultiple applications
packages/ directory existsMonorepoShared libraries
pnpm-workspace.yamlMonorepopnpm workspace config
turbo.jsonMonorepoTurborepo build system
lerna.jsonMonorepoLerna monorepo
nx.jsonMonorepoNx monorepo
Single package.json at rootPolyrepoSingle package
Multiple top-level src/ dirsPolyrepoMultiple projects

Detection Confidence Levels

High confidence (≥3 indicators): Proceed without asking
Medium confidence (1-2 indicators): Show findings, ask user to confirm
No clear indicators: Ask user directly

Progressive Disclosure Architecture

Three-Level Loading System

Level 1 (AGENTS.md) - Always loaded
├── One-line project description
├── Essential commands (run, test, build)
├── Repository structure (top-level dirs only)
├── Reference index tables (multi-entry)
└── Key entry points

Level 2 (docs/references/) - On-demand
├── Detailed SOP flows
├── Edge case handling
├── Complete config examples
└── Historical decisions

Level 3 (Project files) - As needed
├── README.md
├── package.json files
└── Config files

Multi-Entry Principle

The same Level 2 resource can have multiple entry points for different discovery paths:

EntryLocationTrigger ScenarioUser Mindset
Reference indexStart"I have an error/problem""What doc has the answer?"
Before-change tableMiddle"About to modify code""What should I know first?"
Trigger indexEnd"Long conversation, need to re-orient""Which doc was that again?"

This is NOT duplication. It's like a book having a table of contents, an index, and quick reference cards.

AGENTS.md vs CLAUDE.md

File Relationship

AGENTS.md # Root context - always loaded by agents
CLAUDE.md # Required for Claude Code - loads AGENTS.md

CLAUDE.md Contents (Minimal Bridge)

Read [AGENTS.md](AGENTS.md) before starting any task.

CLAUDE.md exists only because Claude Code doesn't load AGENTS.md natively. Keep it minimal.

AGENTS.md Essential Structure

Required Sections (Level 1)

SectionPurposeKeep Minimal
Project descriptionOne-line summary
Essential commandsrun, test, build
Repository structureTop-level directories only
Reference indexPointers to detailed docs
Key entry pointsCommon task starting points

Never Include in AGENTS.md (Level 1)

ContentWhyWhere Instead
Detailed explanationsBloats contextLevel 2 references
Code examples >1 lineCan be looked upLevel 2 references
Duplicated contentMaintenance burdenSingle source
Historical decisionsLow frequencyLevel 2 references

Content Classification Decision Tree

For each section, ask:

Is this high-frequency use?
├─ Yes → Level 1 (AGENTS.md)
└─ No → ↓

Is the violation consequence severe?
├─ Yes → Level 1 (AGENTS.md)
└─ No → ↓

Is there a code pattern to copy directly?
├─ Yes → Level 1 keep the pattern
└─ No → ↓

Is there a clear trigger condition?
├─ Yes → Level 2 + trigger condition
└─ No → Consider deleting

Reference Index Format

At Start (Problem-Oriented)

## Reference Index (When you encounter problems)

| Trigger scenario | Document | Core content |
|------------------|----------|--------------|
| Build fails after dependency change | `docs/references/build-sop.md` | Dependency order, clean build |
| Test environment variables not loading | `docs/references/env-setup.md` | .env files, globalEnv config |
| Cache not invalidating | `docs/references/caching.md` | outputs, inputs, env keys |

At Middle (Task-Oriented)

## Before Modifying Code

| What you're changing | Read this first | Key gotchas |
|---------------------|-----------------|-------------|
| Build configuration | `docs/references/build-sop.md` | dependsOn order matters |
| Environment setup | `docs/references/env-setup.md` | globalEnv affects all tasks |
| Cache behavior | `docs/references/caching.md` | outputs required for file-producing tasks |

At End (Re-Orientation)

## Reference Trigger Index

| When to read | Document | What you'll find |
|--------------|----------|------------------|
| Build fails | `docs/references/build-sop.md` | Dependency troubleshooting |
| Env issues | `docs/references/env-setup.md` | .env and variable setup |
| Cache problems | `docs/references/caching.md` | Hash input debugging |

Anti-Patterns to Avoid

Anti-PatternWrongRight
Line count as goal"Reduced from 2000 to 500 lines"Assess by duplication and relevance, not line count
References without triggersSee build-sop.md for detailsInclude trigger conditions: "When build fails after dependency changes"
Moving code patterns to Level 2Move frequently-used code examplesKeep copyable patterns in Level 1
Deleting instead of movingDelete "unimportant" sectionsMove to Level 2, keep trigger in Level 1
Moving while simplifyingMove and edit content simultaneouslyMove verbatim first, simplify separately with confirmation

Monorepo-Specific Considerations

Additional Detection for Monorepos

When a monorepo is detected, also extract:

InformationSourcePurpose
Package namesapps/*/package.json, packages/*/package.jsonUnderstanding modules
Package purposespackage.json description field, README filesWhat each package does
Internal dependenciesworkspace:* referencesDependency graph
Build systemturbo.json, nx.json, lerna.jsonTask orchestration
Shared patternsacross packages/Common conventions

Package Name Detection

Package naming varies significantly across monorepos. Detect actual package names from:

  1. Directory patterns:

- apps/* → Application packages - packages/* → Library packages - services/* → Backend services

  1. Package naming conventions:

- Scoped: @repo/*, @company/*, @project/* - Unscoped: backend, frontend, api, web - Mixed: Both scoped and unscoped in same repo

  1. Common backend package names:

- @repo/api, @repo/backend, @repo/server - apps/api, apps/backend, apps/server - services/api, services/backend

  1. Common frontend package names:

- @repo/web, @repo/frontend, @repo/app - apps/web, apps/frontend, apps/app - apps/admin, apps/dashboard

Monorepo AGENTS.md Additions

Generate the package table dynamically based on actual project structure:

## Monorepo Structure

| Package | Location | Purpose | Key commands |
|---------|----------|---------|--------------|
| `backend` | apps/backend | REST API server | `turbo run dev --filter=backend` |
| `frontend` | apps/web | Next.js web app | `turbo run dev --filter=frontend` |
| `ui` | packages/ui | Shared React components | `turbo run build --filter=ui` |

## Working with Packages

- Run task in specific package: `turbo run <task> --filter=<package-name>`
- Run only changed packages: `turbo run <task> --affected`
- Include dependents: `turbo run <task> --filter=...<package-name>`
- Run by directory: `turbo run <task> --filter=./apps/*`

Key guidelines for package tables:

  1. Use actual package names from package.json name field
  2. Infer purpose from description field or directory name
  3. Group by type (apps vs packages) if helpful
  4. Keep it concise — focus on most commonly used packages
  5. Reference detailed docs for complete package list

Verification Checklist

After creating or modifying AGENTS.md, verify:

Information Completeness (Most Important)

  • Every section from original has a home (in Level 1, Level 2, or has canonical source)
  • Level 2 files match original content exactly (no "simplification" during move)
  • No content was silently deleted
  • No line count statistics were mentioned

Structure Quality

  • Reference index at document start
  • Core commands table complete
  • Iron rules/prohibitions with code examples
  • Common error diagnostics (symptom → cause → fix)
  • Code patterns directly copyable
  • Directory mapping (function → file)
  • "Before modifying code" table
  • Reference trigger index at document end
  • Every Level 2 reference has trigger conditions
  • All referenced files exist

Information Recording Principles

Add this to AGENTS.md after project description to prevent future bloat:

## Information Recording Principles (Agents Must Read)

This document uses **progressive disclosure** to optimize agent effectiveness.

### Level 1 (This file) contains only

| Type | Example |
|------|---------|
| Core commands | `npm run dev`, `npm test` |
| Iron rules/prohibitions | Must use lazy loading |
| Common error diagnostics | Symptom → cause → fix (complete flow) |
| Code patterns | Directly copyable code blocks |
| Directory navigation | Function → file mapping |
| Trigger index tables | Pointers to Level 2 |

### Level 2 (docs/references/) contains

| Type | Example |
|------|---------|
| Detailed SOP flows | Complete 20-step guides |
| Edge case handling | Rare error diagnostics |
| Complete config examples | All parameter descriptions |
| Historical decisions | Why it was designed this way |

### When recording information

1. **Assess frequency:** High frequency → Level 1, otherwise Level 2
2. **Level 1 references Level 2 must include:**
   - Trigger condition (when to read)
   - Content summary (what you'll find)
3. **Never:**
   - Place low-frequency detailed flows in Level 1
   - Reference Level 2 without trigger conditions

Reference Files

FilePurpose
references/project_detection.mdDetailed project structure detection
references/templates.mdAGENTS.md templates for different project types
references/progressive_disclosure.mdProgressive disclosure deep dive
references/anti_patterns.mdCommon anti-patterns with examples

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.02%
按下载量换算24

Claude

29.63%
按下载量换算22

Cursor

19.13%
按下载量换算14

Gemini CLI

8.89%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills