Agent OS

Profiles

Manage standards across projects

What's a profile?

A profile is a named collection of standards in your base installation. It lets you maintain different standards sets for different project types, clients, or contexts.

Profiles live in ~/agent-os/profiles/ and contain only .md standards files. The index is generated fresh when you install Agent OS into a project.

Creating a profile

Create a new profile manually:

Copy
mkdir -p ~/agent-os/profiles/my-profile/standards

Or create one from an existing project's standards. Run this from a project directory to copy its standards into a new profile:

Copy
cd /path/to/your/project
~/agent-os/scripts/sync-to-profile.sh --new-profile my-profile

Using profiles

Install a project with a specific profile:

Copy
~/agent-os/scripts/project-install.sh --profile rails

Set a default profile in ~/agent-os/config.yml:

Copy
version: 3.0.0
default_profile: rails

Syncing standards back

After refining standards in a project, sync them back to a profile for reuse:

Copy
~/agent-os/scripts/sync-to-profile.sh

The script prompts you to:

  1. Select a target profile
  2. Choose which standards to sync
  3. Handle any conflicts (overwrite with backup, skip, or cancel)

Use flags to skip prompts:

  • --profile <name> — Target a specific profile
  • --all — Sync all standards
  • --overwrite — Overwrite without prompting

Profile inheritance

Profile inheritance lets you build layered hierarchies where child profiles override specific standards while inheriting the rest from parent profiles.

Setting up inheritance

Define inheritance relationships in ~/agent-os/config.yml:

Copy
version: 3.0.0
default_profile: my-rails-app

profiles:
  my-rails-app:
    inherits_from: rails-base
  rails-base:
    inherits_from: ruby-general

Key points:

  • Any folder in ~/agent-os/profiles/ is a valid profile
  • Profiles don't need to be listed in config.yml to be usable
  • The profiles: section only defines inheritance relationships
  • If a profile isn't listed, it has no inheritance (standalone base)

How inheritance works

When installing with a profile that has inheritance:

  1. The system builds the inheritance chain (bottom-up)
  2. Files are applied in order (base first, later wins)
  3. When the same file exists in multiple profiles, the child version is used

Installation output shows each file's source:

Copy
Installing standards...
  api/auth.md (from rails-base)
  api/controllers.md (from rails-base)
  database/migrations.md (from my-rails-app)
  global/naming.md (from my-rails-app)
✓ Installed 4 standards files (from 2 profiles)

Common profile patterns

  • By tech stack: rails, nextjs, django
  • By client: client-acme, client-xyz
  • By context: work, personal, consulting

Sharing with your team

Options for team sharing:

  • Commit to repo — Include agent-os/standards/ in version control
  • Shared profile — Team members sync to/from a shared profile name
  • Separate repo — Maintain standards in a dedicated repo, copy to projects

Stay updated on Agent OS

Get notified of major new releases and updates to Agent OS.

Builder Methods

Training and community for developers and founders building with AI.

Created by Brian Casel (that's me) — multi-time founder, product designer, teacher, and the creator behind Builder Methods.

© 2026 CasJam Media, LLC / Builder Methods