knowledge/agent-md-creator/SKILL.md
Create, update, or refactor repository-root and nested AGENTS.md files for AI coding agents. Use when the user asks to bootstrap AGENTS.md, replace tool-specific instruction files with a shared open format, compress overly verbose agent instructions, document build/test commands for agents, or design minimal project instructions for monorepos and subprojects.
npx skillsauth add aeondave/malskill agent-md-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create technical, token-efficient AGENTS.md files that help coding agents work immediately without bloating context. Treat AGENTS.md as a living operational file: it should evolve with the codebase, discovered workflows, current tool availability, and real team practices. Prefer compact, evidence-based instructions over generic prompting.
Before drafting anything:
AGENTS.md, AGENT.md, .github/copilot-instructions.md, CLAUDE.md, .cursorrules, README files, and CI workflows.AGENTS.md files are needed.If you need structure, precedence, or section guidance, load references/agents-md-principles.md. If you need the 2025 GitHub-specific lessons from analysis of 2,500+ repositories, load references/github-lessons.md.
Default to a single root AGENTS.md.
Add nested AGENTS.md files only when at least one of these is true:
Keep instructions local: the nearest AGENTS.md should carry only the details relevant to that subtree.
Use only sections supported by evidence from the repo. Preferred order:
Write short bullets, concrete paths, and exact commands. Prefer this:
pytest tests/api/test_users.py -qnpm run lintsrc/api/ contains HTTP handlersCode comments must be technical, precise, and written in English; explain why or intent, not obvious syntaxAdd or update tests for changed behavior in tests/api/If debugging stalls after 2–3 failed iterations, ask before using online researchUse Tavily for online research when external lookup is neededUse objdump for binary inspection before switching toolsIgnore the existing warning in src/ui/App.tsx unless the user reopens itgo vet ./... # one pre-existing unsafe.Pointer warning in injection/ is accepted — do not fix itRegenerate the resource blob after changes in evasion/ or injection/: bash scripts/gen.shFor ## Project structure, stop at the folder level unless a specific file is truly operationally important. Describe what each directory contains or should contain. Do not dump long file inventories. Mark generated files inline when their presence causes confusion (e.g., resources.enc ⚡ GENERATED — do not edit). When a subdirectory has its own specialized rules, write See <path>/AGENTS.md to keep the root lean instead of duplicating content.
Avoid this:
README.md or a reference fileProject structure sections listing every file in the repoIf the user asks for a starter file from scratch, use assets/minimal-agents-template.md as the base and then replace every placeholder with repo-specific facts.
When the user declares persistent tool/workflow choices, capture them in a dedicated section (## Active user decisions, ## Working agreements, or ## Current tool choices). Mark entries as active but revisable — not permanent rules. See references/agents-md-principles.md.
When the project has tests, state whether the agent should add or update tests for changed behavior and which test command to run first. If the repo has no meaningful automated tests, say what validation is expected instead. Do not promise test creation for repos where tests are intentionally absent or generated elsewhere.
Encode the debugging workflow as short operational bullets:
When the user says a warning or lint issue should not be changed, store it in a scoped entry (## Accepted diagnostics, ## Known ignored warnings, or ## Deferred issues) with path, issue summary, and disposition (ignored/deferred/out of scope). Prevents repeated re-analysis. See references/agents-md-principles.md.
Target 30–80 lines for small repos, 60–120 lines for medium repos. Commands early. One real example beats abstract rules. No product history, motivation, or template noise.
Load references/optimization-checklist.md when tightening a draft. Use references/github-lessons.md for command order, examples, and the six high-value sections.
Preserve verified commands, boundaries, repo-specific gotchas, and active decisions still in force. Remove stale commands, duplicated explanations, and generic filler. Prefer one canonical AGENTS.md; migrate tool-specific files only when the user requests it or duplication is clearly harmful. See references/agents-md-principles.md § Migration and Maintenance.
Project structure is directory-level only — no file inventories.README.md or a reference file.Load references/optimization-checklist.md for the full quality checklist.
Project structure, prefer folders plus one short explanation of what lives there.AGENTS.md as a living operational file: update it when the project changes, when better workflows are discovered, or when available tools materially change.## Commands## Active user decisions## Testing## Debugging## Project structure## Accepted diagnostics## Boundaries## Workspace commands## Working agreements## Package discovery tips## Testing strategy## Debugging strategy## Accepted diagnostics policy## Nested AGENTS.md policy## Local commands## Local decisions## Local testing## Local debugging## Local accepted diagnostics## Files in scope## Local conventions## Do not touchAGENTS.md files.assets/minimal-agents-template.md — minimal starter template for root AGENTS.md files; customize every placeholder with repo-specific facts before saving.development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.