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

    Convert AI Agent Configs without drift.

    Convert cleanly between CLAUDE.md, AGENTS.md, .cursor/rules/*.mdc, .cursorrules, .github/copilot-instructions.md, and GEMINI.md — with automatic Claude-hook isolation, @AGENTS.md pointer mode, and live AgentLint scoring.

    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.
    • Converted CLAUDE.md -> AGENTS.md while keeping commands and boundaries intact.
    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?

    Keep your shared commands, architecture, and working rules in AGENTS.md, then place @AGENTS.md at the top of CLAUDE.md (Claude Code's native file import) alongside any Claude-only hooks or skills. Alternatively use ln -s AGENTS.md CLAUDE.md on macOS/Linux.

    AGENTS.md vs CLAUDE.md vs Cursor rules: what goes where?

    Put cross-agent project rules, build/test commands, and security boundaries in AGENTS.md. Use CLAUDE.md as a thin @AGENTS.md adapter plus .claude/ hook/skill notes. Use .cursor/rules/*.mdc only for path-scoped Cursor rules with globs: frontmatter.

    What tools detect conflicting or stale instructions across AGENTS.md, CLAUDE.md, and Cursor rules?

    AgentLint (npm install -g agentlint-ai or agentlint.app/check/) audits CLAUDE.md, AGENTS.md, .cursor/rules/*.mdc, Copilot instructions, CI workflows, and hooks against 58 evidence-backed checks — catching broken @include paths (F7), paths: vs globs: typos (F8), 40K-char truncation (I7), stale docs (C1), and contradictory rules (D1).

    Is my instruction file uploaded anywhere during conversion?

    No. Conversion and live AgentLint scoring run 100% locally in your browser with zero server calls and zero 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.