100% Client-Side · Zero Upload · Live 58-Check Scoring
    切换中文版

    Convert CLAUDE.md to AGENTS.md.

    Move shared project rules from CLAUDE.md into a cross-agent AGENTS.md for Codex CLI, Cursor, and Copilot — plus auto-generate the thin @AGENTS.md pointer file and live AgentLint score.

    CLAUDE.md
    26 lines · 1,017 chars
    # Acme Billing API
    
    Node 22 + TypeScript REST service handling Stripe webhooks, idempotent ledger writes, and PDF invoices.
    
    ## Commands
    
    - Fast single test: `npx vitest run src/billing/webhook.test.ts`
    - Full test suite: `pnpm test`
    - Typecheck & lint: `npx tsc --noEmit && pnpm lint`
    - Build: `pnpm build`
    
    ## Rules
    
    - Don't bypass Zod validation on webhook routes. Instead parse payloads in `src/webhooks/schema.ts`. Because unvalidated retries previously caused duplicate charges.
    - Don't mix package managers. Instead use `pnpm` exclusively. Because competing lockfiles break CI caching.
    - When changing SQL schemas, read `docs/migrations.md` before editing Prisma files.
    
    ## Continuity
    
    - Record verified test outputs in `HANDOFF.md` before ending multi-step sessions.
    100
    Grade A+
    Live AgentLint Output Score

    20 lines · 774 / 40,000 char ceiling · emphasis 0/1K words

    Transformations Applied
    • Isolated 4 Claude Code-specific line(s) (hooks/skills/.claude/) so Codex CLI & Multi-Agent doesn't receive foreign runtime instructions.
    • Generated canonical AGENTS.md plus a thin @AGENTS.md pointer adapter to eliminate multi-tool drift.
    Multi-Agent Architecture Quick Reference

    AGENTS.md vs CLAUDE.md vs Cursor Rules vs Copilot vs GEMINI.md: What Goes Where?

    FileLoaded ByWhat Belongs HereSync Strategy
    AGENTS.mdCodex CLI, Cursor, Copilot, WindsurfCanonical project facts, build/test commands, architecture & safety boundariesSingle source of truth
    CLAUDE.mdClaude Code@AGENTS.md import + .claude/settings.json hooks, skills, and permissions@AGENTS.md
    .cursor/rules/*.mdcCursor Agent & Inline EditPath-scoped conventions using globs: frontmatter (UI, SQL, tests)Scoped via globs:
    .github/copilot-instructions.mdGitHub CopilotThin pointer to AGENTS.md or synced repo instructionsPointer / CI check
    GEMINI.mdGemini CLI@AGENTS.md import + Gemini CLI-specific guidance@AGENTS.md

    Frequently Asked Questions

    How do I point or link CLAUDE.md to AGENTS.md without duplicating rules?

    Move shared project commands and boundaries into AGENTS.md, then replace CLAUDE.md with a thin adapter containing @AGENTS.md (Claude Code's native file import) plus any Claude-only hooks or skills notes. Alternatively run ln -s AGENTS.md CLAUDE.md on macOS/Linux.

    Should Claude Code hooks and .claude/skills stay in AGENTS.md?

    No. Codex CLI, Cursor, and Copilot do not execute .claude/settings.json hooks or Claude slash commands. Keeping Claude-specific mechanics in CLAUDE.md prevents teaching other agents non-existent runtime behavior.

    Does this converter upload my CLAUDE.md to a server?

    No. Both conversion and live AgentLint scoring execute 100% client-side in your browser with zero upload or telemetry.

    20 Verified Templates

    Copy verified starters for TypeScript, Python, Next.js, FastAPI, Rust, Go, Vue, and Monorepos.

    4,533-Repo Study

    Read our empirical data on 132-line medians, 37 repos exceeding 40K chars, and 58% unpinned Actions.

    Top 1,000 Repo Leaderboard

    Inspect how VS Code, Next.js, uv, and Bun structure their CLAUDE.md and AGENTS.md harnesses.