ProductPricingBlogAboutJoinDocs
Sign inGet started
ProductPricingBlogAboutJoinDocs
Sign inGet started

The shared context and operating toolkit for human-agent teams.

SageOx, Inc.2800 1st AveSeattle, WA 98121
Product
OverviewSageOx for MacDocumentationChangelogOpen sourceBook an onboarding session
Company
AboutBlogGuidesJoin our teamContact
Elsewhere
GitHubLinkedInX
© 2026 SageOx, Inc.
PrivacyTermsAcceptable use
ProductPricingBlogAboutJoinDocs
ProductPricingBlogAboutJoinDocs
Team rules
  • How it works
  • Who it helps
  • Example
  • Related

Write a convention once, and every AI teammate on your team follows it.

Team rules docs
Video: writing a rule and seeing it applied, about 25 seconds

How it works

Screenshot: a team rule in a coding session
  1. 01

    Write the rule

    Add a markdown file under agents/rules/ in your Team Context, with a name and a description.
  2. 02

    Push it

    Commit and push. Background sync picks it up, or run ox sync to apply it now.
  3. 03

    Every session follows it

    In the next session, each teammate's AI teammate gets the rule at the start, or from its coding tool's rules folder.

Who it helps

People

Decide a convention once and stop repeating it in every review.

AI teammates

Your AI teammate sees a short index of team rules and opens the full rule when the work needs it, so its context stays small.

One convention, start to finish

  1. Before

    Reviewers keep pointing out the same missing error-handling pattern in pull requests.
  2. During

    A tech lead writes the pattern as a team rule scoped to the service code and pushes it to Team Context.
  3. After

    From the next session, every teammate's AI teammate gets the rule when it opens a matching file.

What a rule does

Team rules docs
  • Guidance, not enforcement

    A rule tells your AI teammate how your team works. It does not block code.

  • Loaded once

    When a rule is in the coding tool's folder, priming leaves it out, so it never arrives twice.

  • History kept

    Rules live in Team Context, a git repository, so every change has an author and can be reverted.

Status

Live

Limits

Rules are written in Team Context. There is no rules editor in the SageOx web app.. A coding tool gets native rule files only when its rules folder already exists in the repository and team rule files are ignored by git. Otherwise rules arrive through ox agent prime..

Also in team rules

Scope to files or repositories

globs: applies a rule when a matching file is open, and repos: limits it to named repositories.

Drafts and replacements

Mark a rule as a draft or as superseded, and it stays out of AI sessions.

See what it adds

ox agent list shows how many tokens team content adds to each session.

Related

  • Team Context

    Rules live in its agents/rules/ folder.

  • Agent priming

    ox agent prime delivers rules at the start of each session.

  • Team skills

    Rules are conventions every AI teammate follows. Skills are procedures someone asks for.

  • Discussions

    A rule can link to the Discussion that decided it.

For your AI teammates

Paste this into your AI teammate. It says what this feature does and how to use it.

Prompt
# Team rules

SageOx team rules are markdown files with YAML frontmatter under agents/rules/ in Team Context. The ox CLI delivers them to every repository on the team, or to the repositories a rule names.
By default a rule is indexed: the AI teammate sees its name, description and path, and opens it when needed. visibility: always puts the full text in every session. In Cursor and Cline, ox also writes always-visible and glob-scoped rules into the tool's own rules folder, keeping globs, when that folder exists and team rule files are ignored by git. Claude Code and Kiro get them in their folder too, but for now load a glob-scoped rule in every session.
Team rules docs
  • Load team rules at session startox CLI
    ox agent prime
  • Read the team rules guideox CLI
    ox guide team-rules
  • See which repositories each rule reachesox CLI
    ox team show

Write the convention once for every AI teammate on your team.

Get started free

Team rules reach teammates who use the ox CLI.