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:
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:
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:
~/agent-os/scripts/project-install.sh --profile rails
Set a default profile in ~/agent-os/config.yml:
version: 3.0.0
default_profile: rails
Syncing standards back
After refining standards in a project, sync them back to a profile for reuse:
~/agent-os/scripts/sync-to-profile.sh
The script prompts you to:
- Select a target profile
- Choose which standards to sync
- 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:
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.ymlto 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:
- The system builds the inheritance chain (bottom-up)
- Files are applied in order (base first, later wins)
- When the same file exists in multiple profiles, the child version is used
Installation output shows each file's source:
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.