Write project instructions once in Markdown and YAML. Run agnostic-ai sync to generate the files Claude Code, Codex, and your other tools read. Sync runs locally and needs no account.
Select your tools. Accept the import offer to keep instructions from existing files such as CLAUDE.md and AGENTS.md. If the project already has agnostic-ai.yaml, run agnostic-ai sync directly.
init creates .agnostic-ai/AGNOSTIC_AI.md. Replace the placeholder comment with a project note, or add one below the imported instructions.
On Unix, sync --check reports a changed output blocked by a hard link or another user's ownership. See failed writes and hard links.
If you selected Claude Code and Codex, AGENTS.md contains your note and CLAUDE.md points to it. Edit .agnostic-ai/AGNOSTIC_AI.md and sync again to update both. Sync saves hand edits in .bak files. If sync --backup fails to save a backup, rollback leaves an untouched original alone. Use agnostic-ai revert to restore backups, or agnostic-ai sync --keep-edits to leave edited outputs in place.
Interactive commands check project-dependent flags before offering an upgrade. Run agnostic-ai upgrade to update a global npm install in the prefix where it lives. For a standalone binary, upgrade keeps an installed version ahead of the latest stable release. See the installation guide for Homebrew, the install script, Windows, and Go.
Set up with a coding agent
Paste this into your coding agent.
Set up agnostic-ai in this repository. Follow https://agnostic-ai.org/agent-setup.txt exactly. Preserve existing AI tool behavior. Before any sync, check for existing CLAUDE.md, AGENTS.md, and similar files, and ask me what to do with their content. Finish with agnostic-ai sync --check. Summarize the targets selected and every file changed.