Will Claude Code see my instructions twice?
Not with the generated files. The new CLAUDE.md imports AGENTS.md once. It only loads twice if you also switch the Claude Code Project instructions setting to load both CLAUDE.md and AGENTS.md.
Paste your CLAUDE.md and get an AGENTS.md that every agent can read, plus a thin CLAUDE.md that imports it so Claude Code keeps working exactly as before. The conversion runs in your browser.
19 lines, 0.6 KiB, about 141 tokens (estimate)
Commands are listed, but none of them runs the tests.
Add the exact test command, and the command to run a single test file.
"Make sure the code is good"
Replace with a check the agent can run: a test, a lint rule, a command.
# AGENTS.md
This is the billing service. You are an expert Python developer.
This file is the single source of truth for every coding agent working in this repository. The tool-specific files (CLAUDE.md, GEMINI.md, .github/copilot-instructions.md and .cursor/rules/project.mdc) point here. Edit this file, not those.
## Commands
Run these from the repository root.
- Install: uv sync
- Run: uv run uvicorn app.main:app --reload
- Test: uv run pytest
- Lint: uv run ruff check .
## Code style
- Type hints on every function.
- Use 4 spaces.
- Keep functions small and readable.
## Working rules
- Never edit an applied Alembic migration.
- Ask before adding dependencies.
- Make sure the code is good before finishing.
- IMPORTANT: run the tests before saying you are done.
## Notes
- Money is stored as integer cents.
# CLAUDE.md
@AGENTS.md
## Claude Code
- The shared project instructions are imported from AGENTS.md on the line above. Edit AGENTS.md, not this file, so every agent stays in sync.
- Put Claude-only preferences below this line. Personal, uncommitted notes belong in CLAUDE.local.md.
# GEMINI.md
@./AGENTS.md
## Gemini CLI
- The shared project instructions are imported from AGENTS.md on the line above. Edit AGENTS.md, not this file.
- Alternative: delete this file and set "context": { "fileName": ["AGENTS.md"] } in .gemini/settings.json so Gemini CLI reads AGENTS.md directly.
# Copilot instructions
This is the billing service. You are an expert Python developer.
The full instructions are in AGENTS.md at the repository root. Read it before you change code; if anything here disagrees with it, AGENTS.md wins. The essentials are repeated below for Copilot surfaces that only read this file.
## Commands
- Install: uv sync
- Run: uv run uvicorn app.main:app --reload
- Test: uv run pytest
- Lint: uv run ruff check .
## Working rules
- Never edit an applied Alembic migration.
- Ask before adding dependencies.
- Make sure the code is good before finishing.
- IMPORTANT: run the tests before saying you are done.
---
description: Project instructions for every task (mirrors AGENTS.md)
globs:
alwaysApply: true
---
# Project rules
The project instructions live in @AGENTS.md at the repository root, which Cursor loads automatically. They are not repeated here, so they cost context only once. Edit AGENTS.md, not this rule.
Before you change code, check the Commands and Working rules sections of AGENTS.md, and run its test and lint commands before you say a task is done.
Put Cursor-only rules below, or add scoped rules as more .mdc files with `globs` (for example `src/components/**/*.tsx`).
CLAUDE.md is read mainly by Claude Code, while AGENTS.md is read by Codex, Cursor, Windsurf, Zed, Cline, Jules and several Copilot surfaces. If anyone on the team uses another agent, keeping rules only in CLAUDE.md leaves them without instructions. Last verified 2026-11-13 against the vendor documentation.
The converter outputs a new CLAUDE.md containing @AGENTS.md. Claude Code resolves the import and sees the same instructions as before. This matters because, by default, Claude Code reads AGENTS.md directly only when no CLAUDE.md or CLAUDE.local.md exists.
# CLAUDE.md
@AGENTS.md
## Claude Code
- The shared project instructions are imported from AGENTS.md on the line above. Edit AGENTS.md, not this file, so every agent stays in sync.
- Put Claude-only preferences below this line. Personal, uncommitted notes belong in CLAUDE.local.md.
Background: CLAUDE.md vs AGENTS.md and the CLAUDE.md format.
Not with the generated files. The new CLAUDE.md imports AGENTS.md once. It only loads twice if you also switch the Claude Code Project instructions setting to load both CLAUDE.md and AGENTS.md.
Nothing. Keep it as it is for personal notes; it loads after CLAUDE.md and stays out of version control. Do not paste it into the converter unless you want its content shared.
They are removed from the output and listed in the conversion notes, because AGENTS.md has no import syntax and other agents would not follow them. Inline the imported text into AGENTS.md or link to the file instead.
No. Parsing and generation happen in JavaScript on this page. Nothing you paste is uploaded or stored.
You do not have to take our word for it. Developer tools show every request a page makes, so you can watch this page work and confirm that nothing you type is sent. The check takes under a minute.
F12, or Cmd+Option+I on a Mac, and select the Network tab.Only the feedback form can add a line to that log, and it sends only the vote and comment you type into it. 2prompt has no server code at all: no API, no model and no database of your files. The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site, the fonts and the anonymous analytics endpoint.