Beta
All guides

Your data and account

Sync project files from the terminal

Beta: keep AGENTS.md, CLAUDE.md, skills and rules in one stack, and the same copy in every project.

What it’s for

#

AI coding tools read their instructions from files in the project: AGENTS.md, CLAUDE.md, Claude skills, Cursor rules. When you work on several projects, the same rules get copied into each one and slowly drift apart.

The Beynt command line keeps those files in one stack. Every project gets the same copy, and a change made in one place reaches the others. In Beynt they keep their history, you can share them, and your AI apps find them too.

If you only work in chat, you won’t need it: connected apps already find your work. The command line is in beta, so expect it to change.

Install and sign in

#

You need Node.js 18 or newer. There is nothing to download: npx beynt runs it, or npm install -g beynt installs the beynt command.

  1. In Beynt, open Connected apps and choose Create access key. Choose Find and save work if you want to send changes back, or Find work only if you only want to receive files, and pick the stacks it can use.
  2. In a terminal, run npx beynt login and paste the key. It is saved on your computer, readable only by you.
  3. Run npx beynt stacks to see the stacks the key can use.

In automated jobs, set the key as BEYNT_TOKEN instead of running login.

Pull and push

#
  1. In a project folder, run npx beynt pull "Agent rules", with the name of your stack. Each note is written at its path: a note at CLAUDE.md becomes the file CLAUDE.md.
  2. Edit the files as usual.
  3. Run npx beynt push "Agent rules" to send your changes back as new versions in Beynt. Add --create to also send new Markdown files as notes. It skips folders like vendor/ and node_modules/, and anything you list in a .beyntignore file at the top of the folder. If it finds more than 20 new notes, it stops: check them with --dry-run, then confirm with --yes.

Add --dry-run to either command to see what would happen without changing anything. Pull never deletes your files. If a file changed in both places, nothing is overwritten: pull reports it, and you decide with --force or by editing. If your organization reviews changes from AI apps, or the key was made with Find and propose changes, a pushed change waits for approval as a proposal; pushing the file again replaces that proposal.

Where the files go

#

Each tool looks for its files in its own folder. Choose a profile the first time you pull, and Beynt remembers it for that project.

  • claude: skills go to .claude/skills/ and commands to .claude/commands/.
  • codex: skills go to .codex/skills/.
  • cursor: rules go to .cursor/rules/.
  • plain, the default: files stay at the path they have in the stack.

For example, npx beynt pull "Agent rules" --profile claude. CLAUDE.md, AGENTS.md and DESIGN.md are always written where they are in the stack.

Keeping it safe

#

Your access key is sent only to Beynt over a secure connection. Use npx beynt login, or BEYNT_TOKEN from your CI’s secrets, rather than typing it in a command, where it would stay in your shell history. Keep it out of Git: add .beynt/ to the project’s .gitignore, which also keeps the sync records out.

Pull writes Markdown files only, unless you allow more, for example --allow .sh,.sql. It never writes into Git’s own folders.

Push sends only Markdown as new notes, so files like .env never leave your computer. A new file that contains a private key, an API key or token, or a password in a connection string stays local too: push tells you the line, so you can put a {{placeholder}} there. For anything else that looks like a password, you see Beynt’s warning.

Your AI tools read these files as instructions. Pull only stacks that people you trust can edit, as you would with any repository.