Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

agentsmd-claudemd-generatoragentsmd claudemd 生成器

Agent Skill

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

总安装

466

周安装

20

GitHub Stars

公开资料未说明

下载量

163
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mounirdhahri/skills --skill agentsmd-claudemd-generator

简介

用于生成 AGENTS.md 和 CLAUDE.md 两个标准化项目配置文件。

  • 支持跨工具兼容,适用于 Claude Code、Cursor 等多种开发环境。
  • 自动提取仓库结构和自动化入口点,并按约定顺序组织内容。
  • 避免重复内容,AGENTS.md 为主文件,CLAUDE.md 通过 @import 引用前者。
  • agentsmd-claudemd-generator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

AGENTS.md & CLAUDE.md Generator

What You'll Do

Generate two files for the repository:

  1. AGENTS.md — Cross-tool agent instructions following the open standard (https://agents.md). Supported by Claude Code, Cursor, Windsurf, Zed, GitHub Copilot, OpenAI Codex, Aider, and many others. This is the primary file containing project context, conventions, and workflows.
  2. CLAUDE.md — Claude Code-specific configuration that references AGENTS.md via @import and adds any Claude-specific instructions. This avoids duplicating content across two files.

Why two files?

  • AGENTS.md is the cross-tool standard — any AI coding tool reads it. Put all project knowledge here.
  • CLAUDE.md is Claude Code-specific. It should be thin: point to AGENTS.md and only add what's Claude-unique.
  • This means you maintain docs in one place (AGENTS.md) and every tool benefits.

Reference Documentation

Always prefer pointing users to these docs rather than reciting their contents:


Phase 1 · Understand the Repository

  1. Check for existing files

- Look for existing AGENTS.md, CLAUDE.md, CLAUDE.local.md, .claude/CLAUDE.md, and .claude/rules/ in the repo. - If files exist, plan to update/extend rather than overwrite.

  1. Read core docs

- Skim README.md, CONTRIBUTING.md, and any docs/ directory. - Note project philosophy, setup steps, and workflows.

  1. Survey project layout

- Identify primary directories, languages, frameworks, and ownership. - Run tree --gitignore -a -L 3 to get a directory snapshot. Trim to top 2-3 levels.

  1. Identify tooling and commands

- Find the project's build, test, lint, format, and deploy commands — whatever tool the project actually uses. - Note environment requirements: runtimes, package managers, env vars, .env.example files.

  1. Identify existing documentation

- Check if project docs already cover code style, conventions, patterns, or best practices (e.g., docs/best_practices.md, CONTRIBUTING.md, style guides). - These docs are the source of truth — AGENTS.md should reference them via @import, not duplicate their content. - For core docs that apply to nearly every code change (style guides, conventions, patterns): use @import so they're always loaded into context. - For docs only relevant occasionally (deployment, setup): use plain markdown links. - Watch for size: before recommending @import, check the file size. Files over ~300 lines (~1,500 tokens) are worth flagging to the developer — warn them that large @imports eat into the context window on every conversation. Suggest they either import only the most critical sections, or keep it as a plain link for on-demand reading.

  1. Resolve ambiguities

- Ask the developer to confirm the tech stack — don't assume completeness from code alone (CI tools, infrastructure, and platform-specific details are easy to miss). - Ask which commands are the main ones developers use daily — don't just list everything from package.json/Makefile. - Ask the developer when conventions or ownership are unclear. Do not guess.

Outcome: Structured notes covering layout, tooling, commands, testing, conventions, and open questions.

Phase 2 · Generate AGENTS.md

Place at the repository root. Follow this section order for consistency:

# Agent Guidelines

Brief one-line project description.

Detailed docs live in @docs/... — reference them with @imports rather than duplicating here.

## Tech Stack

- **React** - Component framework
- **TypeScript** - Language (strict mode)
- **Relay** - GraphQL data fetching
<!-- List each technology with its role in the project -->

## Common Commands

- `<lint command>` — run on changed files
- `<test command>` — run on changed files
- `<type-check command>` — verify types
- `<build command>` — production build

## Pre-Commit Verification

Before every commit, verify code quality on pending files:

\`\`\`sh
<type-check command>
<test command on changed files>
<lint command on changed files>
\`\`\`

Never commit code that fails these checks.

## Code Style & Common Patterns

<!-- If the project already has docs covering style/conventions/patterns (e.g., best_practices.md, CONTRIBUTING.md),
     use @import so they're always in context. Only inline rules that have NO existing doc. -->

@docs/best_practices.md

<!-- Use @import for docs that agents should ALWAYS have in context (conventions, patterns, style rules).
     Use a plain markdown link [Topic](path) for docs that are only needed occasionally.
     Example of inlining ONLY when no existing doc covers it:
- Specific, actionable rules (not vague "follow best practices")
- **UI**: Use <design system> for UI components
- **Data**: Use <data layer> for data fetching
-->

## File Organization

<!-- Annotated structure showing what goes where -->
\`\`\`
src/
├── Apps/           # Sub-applications
├── Components/     # Shared across apps
└── System/         # Framework code
\`\`\`

## Workflow

- Branching model
- PR / review expectations
- Commit message format

## Gotchas

- Non-obvious project quirks
- Common pitfalls

## Further Documentation

- [Topic](docs/topic.md)
- And more in @docs

Writing guidelines

  • Never duplicate existing docs — if the project already documents code style, patterns, or conventions (in files like best_practices.md, CONTRIBUTING.md, style guides), use @import to pull them into context instead of restating the content. Use @import for docs agents should always have (conventions, patterns, style rules). Use plain markdown links for docs only needed occasionally. AGENTS.md should complement existing docs, not copy them.
  • Warn about large imports — before adding an @import, check the file size. If a doc is over ~300 lines, warn the developer that it will consume significant context window space on every conversation and ask whether they want to import it fully, import only key sections, or keep it as a plain link.
  • Ask the developer to confirm the tech stack and which commands are the main ones. Don't assume completeness from code inspection alone — CI tools, infrastructure, and daily-use commands are easy to miss or over-include.
  • Keep it actionable — agents should follow instructions verbatim, not interpret vague guidance.
  • "Use X for Y" — map tools to purposes so agents pick the right library (only when not already covered by existing docs).
  • Exact commands — include the actual shell commands, not descriptions of what to do. Only list the commands developers use most — don't dump the full scripts section from package.json.
  • Pre-commit checks — always include a verification block with commands to run before committing.
  • Reference deeper docs — use @imports to link to detailed docs instead of duplicating content.
  • Annotate the file tree — don't dump raw tree output; curate it with inline descriptions.
  • Stay under 300 lines. Only include sections relevant to the project — skip empty ones.

Phase 3 · Generate CLAUDE.md

Place at the repository root alongside AGENTS.md. This file should be thin — its job is to point to AGENTS.md. For most projects, this is all you need:

# CLAUDE.md

See @AGENTS.md

That's often the entire file, and that's fine. Only add a Claude-specific section if the project actually uses Claude-only features:

  • .claude/rules/ — references to modular rule files in the project
  • .claude/commands/ — custom slash commands available in the project
  • .claude/agents/ — custom subagents available in the project
  • Behavioral preferences tied to Claude capabilities — e.g., "Use plan mode for non-trivial tasks", "Use subagents for parallel research"
  • Tool permission hints — e.g., "You have permission to run npm test without asking"

If none of these apply, don't add them. An empty Claude-specific section is worse than no section.

Additional Claude memory features

Point the developer to the docs (https://code.claude.com/docs/en/memory) for advanced features like CLAUDE.local.md, .claude/rules/, @imports, /init, and auto memory.


Phase 4 · Validate & Wrap Up

  1. Both files exist at the repo root.
  2. CLAUDE.md references AGENTS.md via See @AGENTS.md.
  3. No duplication — project knowledge lives in AGENTS.md only.
  4. Commands are accurate — all listed commands actually work.
  5. Concise — both files are scannable and under 300 lines.
  6. Handoff summary — tell the developer what was added, flag open questions, and point to the official docs for advanced features.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.24%
按下载量换算53

Claude

30.52%
按下载量换算50

Cursor

20.87%
按下载量换算34

Gemini CLI

10.26%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/mounirdhahri/skills --skill agentsmd-claudemd-generator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills