본문으로 건너뛰기
cccskills
무료GitHub에 공개

agents-md-manager

This skill should be used when creating, auditing, or maintaining AGENTS.md files and Codex CLI configuration for any project—including initializing AGENTS.md for cross-agent compatibility (Codex, Cursor, Copilot, Devin, Jules, Amp, Gemini CLI), generating config.toml or .rules files, scaffolding .agents/skills/, converting CLAUDE.md to AGENTS.md, or auditing existing agent configs for bloat and staleness. Complementary to codex-orchestrator (which executes subagents; this skill creates the config files they consume).

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(13)

  • SKILL.md6.6 KB
  • README.md4.7 KB
  • references/agents-md-spec.md3.7 KB
  • references/codex-skills-format.md6.1 KB
  • references/config-toml-reference.md4.0 KB
  • references/conversion-mapping.md7.0 KB
  • references/starlark-rules-spec.md4.3 KB
  • references/templates.md12.6 KB
  • scripts/analyze_project.py13.0 KB
  • scripts/convert_claude_to_agents.py9.3 KB
  • scripts/generate_config_toml.py11.1 KB
  • scripts/scaffold_codex_skill.py5.3 KB
  • scripts/validate_agents_md.py6.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

AGENTS.md Manager

Create and maintain AGENTS.md files and Codex CLI configuration for any project.

Core Workflow

Determine the mode:

ModeWhenScript
CreateNew project needs AGENTS.mdscripts/analyze_project.py then write
RefreshExisting AGENTS.md needs auditscripts/validate_agents_md.py
ConvertMigrate from CLAUDE.mdscripts/convert_claude_to_agents.py
ConfigGenerate config.tomlscripts/generate_config_toml.py
RulesCreate .rules filesSee references/starlark-rules-spec.md
SkillsScaffold .agents/skills/scripts/scaffold_codex_skill.py

1. Project Analysis

Run analysis to detect stack, existing config, and gaps:

python3 ~/.claude/skills/agents-md-manager/scripts/analyze_project.py [project_path]

Output: JSON report with tech stack, commands, directory structure, and Codex artifact inventory (AGENTS.md, config.toml, .rules, .agents/skills/, CLAUDE.md conversion candidates).

2. AGENTS.md Generation

Apply the WHAT/WHY/HOW framework in plain markdown only—no @import syntax, no YAML frontmatter.

Recommended Sections

# Project Name

Brief description.

## Commands
- Dev: `pnpm dev`
- Test: `pnpm test`
- Build: `pnpm build`
- Lint: `pnpm lint`

## Structure
- `/src` — Application source
- `/tests` — Test suites

## Conventions
- [Critical convention 1]
- [Critical convention 2]

## Boundaries
- Always: Run tests before committing
- Ask: Before adding production dependencies
- Never: Modify migration files directly

## Troubleshooting
- [Common issue and fix]

Constraints

  • Target under 200 lines per file, under 100 for nested subdirectory files
  • Respect 32 KiB limit (project_doc_max_bytes)
  • Plain markdown only—no @import, no YAML frontmatter
  • Include a "Boundaries" section (Always/Ask/Never) for agent guardrails
  • See references/templates.md for project-type-specific templates
  • See references/agents-md-spec.md for discovery and concatenation rules

3. CLAUDE.md Conversion

Convert existing CLAUDE.md to AGENTS.md format:

python3 ~/.claude/skills/agents-md-manager/scripts/convert_claude_to_agents.py <claude_md_path> [output_path]

Outputs AGENTS.md plus conversion_report.json listing transformations and manual review items.

Key transformations: @import inlined or nested; hooks become .rules suggestions; skill invocations become prose; Claude-specific commands stripped.

See references/conversion-mapping.md for the complete field-by-field mapping.

4. Config Generation

Generate ~/.codex/config.toml (global) or .codex/config.toml (project-scoped):

python3 ~/.claude/skills/agents-md-manager/scripts/generate_config_toml.py [--global | --project <path>] [--model MODEL] [--sandbox MODE]

Covers: model, reasoning effort, personality, sandbox mode, MCP servers, profiles, trusted projects, writable roots.

See references/config-toml-reference.md for the complete field reference.

5. Rules Files

Create .rules files in Starlark for command approval. Location: ~/.codex/rules/ (global) or .codex/rules/ (project). Rules files are authored manually—no generation script exists for this format. All .rules files in the directory are loaded and merged.

Common patterns:

  • Allow package manager commands (npm, pip, cargo)
  • Block destructive operations (rm -rf, git push --force)
  • Prompt for review on sensitive commands (git commit, gh pr create)

See references/starlark-rules-spec.md for syntax and examples.

6. Codex Skills

Scaffold .agents/skills/<name>/ in Codex format (different from Claude .claude/skills/):

python3 ~/.claude/skills/agents-md-manager/scripts/scaffold_codex_skill.py <name> [--path <dir>]

Creates SKILL.md with name + description frontmatter (both required for Codex), plus agents/openai.yaml for UI metadata.

See references/codex-skills-format.md for format differences from Claude skills.

7. Audit Checklist

When refreshing existing AGENTS.md, validate:

  • Under 32 KiB? (project_doc_max_bytes limit)
  • No @import syntax? (not supported in AGENTS.md)
  • No YAML frontmatter? (not used in AGENTS.md)
  • All documented commands verified against project config?
  • Directory references match actual structure?
  • No secrets or credentials?
  • Nested hierarchy consistent with root?
  • No AGENTS.override.md conflicts?
  • Under 200 lines? (warn >200, error >400)

Run automated audit:

python3 ~/.claude/skills/agents-md-manager/scripts/validate_agents_md.py [project_path]

8. Nested AGENTS.md (Monorepos)

For monorepos, place AGENTS.md at multiple levels:

/AGENTS.md              # Repo-wide conventions
/services/
  payments/
    AGENTS.override.md  # Payments-specific overrides
  search/
    AGENTS.md           # Search service conventions
  • One file per directory maximum
  • Codex concatenates root to CWD (closer-to-CWD appears later, overrides earlier)
  • AGENTS.override.md takes precedence over AGENTS.md in the same directory
  • Keep each nested file focused and under 100 lines

Integration Notes

  • codex-orchestrator: This skill creates config files; codex-orchestrator executes subagents with them
  • claude-md-manager: Sister skill for Claude Code's CLAUDE.md; use conversion mode to bridge
  • For subagent profile management, use codex-orchestrator

Reference Documentation

FileContents
references/agents-md-spec.mdAGENTS.md discovery, concatenation, override, size limits, cross-agent compatibility
references/config-toml-reference.mdComplete config.toml field reference
references/starlark-rules-spec.md.rules file syntax, prefix_rule(), decision types
references/codex-skills-format.md.agents/skills/ format, openai.yaml, Claude skill differences
references/conversion-mapping.mdCLAUDE.md to AGENTS.md field-by-field mapping
references/templates.mdAGENTS.md templates by project type

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Search academic papers, build literature reviews, and synthesize research findings — combines Exa MCP (research_paper category, arxiv filtering) with arxiv-mcp-server for paper discovery, download, and deep analysis. Triggers on academic paper, literature review, research synthesis, arxiv, find papers, scholarly search.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tdimino/claude-code-minoan412026년 10월 16일 업데이트

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tdimino/claude-code-minoan412026년 10월 16일 업데이트

Academic research skill for Biblical Hebrew, Semitic linguistics, cuneiform studies, and comparative Ancient Near Eastern research. Provides Sefaria API for Hebrew Bible, CDLI/ORACC for cuneiform databases, and web discovery via Omnisearch, Exa, Firecrawl, and Obscura for finding scholarly sources across JSTOR, Perseus, Persée, Google Scholar, and academia.edu. Triggers on Hebrew quotes, cuneiform, Sefaria, ANE research, Minoan, search for scholarship, find papers, literature review, scholarly search, academic search, Genesis/Tehom, Ugaritic, Talmudic sources, extract from PDF, OCR academic.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tdimino/claude-code-minoan412026년 10월 16일 업데이트

Build comprehensive ARCHITECTURE.md files following matklad's canonical guidelines — bird's-eye views, ASCII/Mermaid diagrams, codemaps, invariants, and layer boundaries. Triggers on document the architecture, create ARCHITECTURE.md, map this codebase, architectural overview.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tdimino/claude-code-minoan412026년 10월 16일 업데이트

Generate physically-based atmospheric scattering shaders — sky domes, planetary atmospheres, LUT-optimized pipelines, depth-aware post-processing. Four modes — sky-dome, atmosphere-post, planet, lut. Triggers on atmospheric scattering, sky shader, sunset rendering, planet atmosphere, Rayleigh scattering, Mie scattering, volumetric sky, sky dome, atmosphere post-processing, aerial perspective, transmittance LUT, sky rendering, realistic sky, planetary rendering.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tdimino/claude-code-minoan412026년 10월 16일 업데이트

Scaffold and run Karpathy-style autoresearch loops in any git repo. This skill should be used when setting up autonomous code improvement, generating adversarial eval harnesses, running hypothesis-implement-eval-keep/discard loops, or checking autoresearch progress. Triggers on "autoresearch", "autonomous improvement", "eval loop", "hypothesis loop", "self-improvement loop".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tdimino/claude-code-minoan412026년 10월 16일 업데이트

tdimino의 스킬 모두 보기

이 스킬의 문제 신고