Fileaify and AGENTS.md or CLAUDE.md: what goes where

Keep your instruction file. Give the rest of the project a place your agents can trust.

By · Published

If your repository has an AGENTS.md or a CLAUDE.md, keep it. These files are the right place for what an agent needs before it touches the code. Fileaify is built for what lives around the code: decisions, current state, services, keys and who may do what. This guide shows how the two fit together.

What does an instruction file do well?

AGENTS.md is an open format, described by its site as "a README for agents" and used by more than 60,000 open-source projects. Codex, Cursor, Devin, GitHub Copilot's coding agent, Gemini CLI and many other tools read it. Claude Code reads its own CLAUDE.md at the start of every session, and reads AGENTS.md when a repository has no CLAUDE.md (Claude Code documentation).

Because the file sits in the repository, it travels with the code, is versioned with it and is reviewed like any other change. It is the natural home for:

  • build, test and run commands;
  • code style and naming conventions;
  • the layout of the repository;
  • "always do this" rules for this codebase.

What does Fileaify add around it?

A project rarely fits in one repository. It has decisions and their reasons, a state that changes every week, servers, third-party services and keys. Several agents and several people work on it. Fileaify gives that part of the project its own workspace, read by any compatible agent over one URL.

Need Where it fits best
Build commands, conventions, repository layout AGENTS.md or CLAUDE.md, in the repository
Decisions and their reasons, current state, known issues Fileaify documents, with fixed sections and a size limit per document
One context for several repositories, servers and agent tools Fileaify project, read over REST or MCP
Changes written by agents Fileaify proposals with rationale and evidence, published after your review or automatically if you choose
Access for each agent Fileaify permissions, requested by the agent, approved by a person for a chosen duration, revocable
API keys and SSH keys Fileaify vault: the agent writes vault://service/key and Fileaify uses the value server-side
Tests and deployments on real systems Fileaify executor, with keys that stay in the vault
History of what changed and who approved it Fileaify versions and access register

Use both: a simple setup

  1. Keep your AGENTS.md or CLAUDE.md for the repository's own instructions.
  2. Create a Fileaify project from a template and move the decisions, state and service descriptions into its documents.
  3. Add one line to your instruction file, for example: "Project context, decisions and service access: read https://fileaify.com/agent and the Fileaify project name."
  4. Store keys in the vault and let the agent request the access a task needs.

Each conversation then starts with the repository rules from the file and the project's reviewed context from Fileaify, whatever agent you use that day.

Choose one home per fact

Write each fact in one place. A build command belongs in the instruction file; a decision about the payment provider belongs in Fileaify, with its reason. When both mention a topic, let one of them link to the other instead of repeating it. That keeps the next agent from reading two versions of the same rule.

Try it

The demo runs on a prepared project, with no account. To start on your own repository, create a free workspace and give your agent https://fileaify.com/agent. The FAQ covers data, access and pricing.

Common questions

Should I replace AGENTS.md or CLAUDE.md with Fileaify?

No. Keep the file for build commands, conventions and repository layout. Fileaify holds what lives around the code: decisions, current state, services, keys and permissions.

Can an agent read both?

Yes. Add one line to your instruction file pointing to https://fileaify.com/agent and the project name; the agent reads the file from the repository and the project over REST or MCP.

Where should a fact go when both mention it?

In one place only. Build rules belong in the instruction file; decisions with their reasons belong in Fileaify. Link from one to the other instead of repeating.

Written with AI assistance, reviewed by Stéphane Mermet and checked against the product. Fileaify publishes this guide and sells the service it describes.