Works with the AI Agents you already use

    CLAUDE.md & AGENTS.md Generator: Verified Commands

    by Abhineet Sharma

    1

    Writes a short CLAUDE.md or AGENTS.md for any repo with every command actually run first, so coding agents stop guessing how to test, lint and build your project.

    Free

    Security scanned

    What it does

    • Checks every command by running it first to ensure they actually work in your environment
    • Writes a short checklist for your AI agent to follow before it says a task is finished
    • Identifies specific project gotchas like folders the AI should never edit or hidden settings
    • Creates a verification table so you can see which tests passed and which were skipped
    • Cleans up old instruction files by removing generic fluff and fixing broken scripts

    Who it's for

    Founders with a new coding project

    Make sure your AI helper knows exactly how to test and build your app without you explaining it every time.

    Try asking: “Create a CLAUDE.md for my new Next.js project so I can start coding with you.”

    Teams managing large codebases

    Keep AI instructions up to date even as your folder structure and commands change over time.

    Try asking: “Update the AGENTS.md in this repo and remove any stale commands that don't work anymore.”

    Freelance developers using AI agents

    Stop wasting time fixing AI errors caused by it using the wrong build or lint commands.

    Try asking: “Scan this repo and write a .cursorrules file with verified commands for testing.”

    CLAUDE.md & AGENTS.md Generator: Verified Commands

    CLAUDE.md & AGENTS.md Generator: Verified Commands

    Example session with this skill installed

    Write a CLAUDE.md for this repo. It's a Next.js frontend in web/ and a FastAPI backend in api/.

    • Read your context and instructions
    • Compiled the claude md

    Verified commands
    Command Status Note
    (cd web && pnpm run test) works 14 passed, 3s
    (cd web && pnpm run lint) works
    (cd api && uv run pytest -q) works 48 passed
    uv run pytest tests/test_chat.py::test_stream -q works single-test form
    (cd web && pnpm run dev) works :3000
    make migrate skipped needs DATABASE_URL

    Acme - agent notes

    Next.js 15 app in web/ (pnpm), FastAPI service in api/ (uv, Python 3.11).

    Commands

    • Test web: cd web && pnpm test · one test: pnpm vitest run src/x.test.tsx -t "name"
    • Test api: cd api && uv run pytest -q · one test: uv run pytest tests/test_x.py::test_name -q
    • Lint: cd web && pnpm lint · cd api && uv run ruff check .

    Before you say it's done

    Run both lints and both test suites (what CI runs). All must pass.

    Gotchas

    • Run api commands from api/, not the repo root (imports break otherwise).
    • Never edit web/src/generated/; run pnpm codegen.
    • Required env vars: OPENAI_API_KEY, DATABASE_URL (see api/.env.example).

    Want me to write it to CLAUDE.md, or AGENTS.md with CLAUDE.md importing it?

    Want me to write it to CLAUDE.md, or AGENTS.md with CLAUDE.md

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Most agent instruction files are either missing or 400 lines of "write clean code" plus commands nobody checked. This skill writes the short, specific kind that actually helps: what an agent can't work out on its own and will get wrong without.

    How it works

    1. A read-only scanner (repo_facts.py, stdlib only) collects what the repo can prove: languages, package managers from lockfiles, every package.json and pyproject.toml (monorepo subfolders included), Makefile / justfile / Taskfile targets, the commands your CI actually runs (multi-line run: blocks included), env var names from .env.example (values are never read), test locations, layout and existing agent files. It outputs a candidate command list with where each one came from.
    2. The agent runs each command (install, dev, test, single test, lint, typecheck, build) and records works / fails / skipped. Unverified commands don't go in, or get marked.
    3. It reads a few real source files and recent commits to find conventions the linter doesn't enforce, plus the gotchas: run-from-this-folder, generated files not to touch, services that must be up for tests.
    4. It writes a 40-120 line file with a clear "before you say it's done" checklist, and shows you a verification table before writing anything.

    Also handles

    • AGENTS.md vs CLAUDE.md (one source of truth via @AGENTS.md import, or both), Cursor rules and Copilot instructions.
    • Monorepos: root file plus small per-package files only where they differ.
    • Refreshing stale files: keeps what's still true, fixes renamed scripts, cuts generic filler, shows a diff.

    Free, no API keys, no network.

    Can only verify commands your environment can run: anything needing a database, paid API key or secret gets marked skipped. Doesn't write READMEs or user docs. Doesn't set up missing tooling (linters, CI), though it notes gaps.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 7 days ago

    • Free with an Agensi account

    Software
    Python 3.9+
    Optional
    GitThe project's own toolchain (to verify commands)

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    The
    repository
    being
    documented
    (read)
    CLAUDE.md
    /
    AGENTS.md
    rules
    files
    written
    only
    after
    the
    user
    approves

    The scanner is stdlib-only, read-only and makes no network calls. It reads env var names from .env.example files, never values, and strips credentials from git remote URLs. The agent runs the project's own test/lint/build commands to verify them and asks before installing dependencies or running anything that deploys, migrates or costs money.

    Listed7 days ago

    What's inside

    Frequently Asked Questions

    AGENTS.md is the cross-tool convention; Claude Code reads CLAUDE.md. The skill can write AGENTS.md as the single source of truth with a CLAUDE.md that imports it, or both files, whichever you prefer.

    Yes, your project's own test, lint, typecheck, build and dev commands, so it only writes down ones that work. It asks before installing dependencies and never runs deploys, migrations against real databases, or anything that costs money without your go-ahead.

    Yes. It checks every line against the repo, keeps what's true, fixes stale commands, cuts generic filler, and shows a diff before writing.

    The file is loaded into the agent's context on every task, so every line costs tokens every time. Short and specific beats long and generic.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free