00-core-principles

00-core-principles is a cursor rule for Cursor from bybren-llc/safe-agentic-workflow. It costs 776 tokens per session, scanned A, original, MIT.

A set of repository rules based on SAFe, a framework for coordinating work across larger software teams, and on shared review practices for AI agents and people. It defines principles such as equal input, evidence-based decisions, and reusing existing patterns.

In plain words
What is it for?
Use it as guidance when planning, reviewing, and implementing repository changes, especially when searching existing patterns, following the Epic-to-Enabler work hierarchy, or raising architectural and security concerns.
Why use it?
It gives contributors a common way to organize work and make decisions, while reducing duplicated solutions and undocumented process changes.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/bybren-llc/safe-agentic-workflow/00-core-principles
Clone the repo
git clone --depth 1 https://github.com/bybren-llc/safe-agentic-workflow

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 00-core-principles

README.md
[![agentmods](https://agentmods.dev/badge/rules/bybren-llc/safe-agentic-workflow/00-core-principles.svg)](https://agentmods.dev/rules/bybren-llc/safe-agentic-workflow/00-core-principles)
Your own site
<a href="https://agentmods.dev/rules/bybren-llc/safe-agentic-workflow/00-core-principles"><img src="https://agentmods.dev/badge/rules/bybren-llc/safe-agentic-workflow/00-core-principles.svg" alt="Measured on agentmods" height="20"></a>
Per session 776 This file is loaded in full into every session.
When invoked 776 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00776 $0.00776
Opus 5 $0.00388 $0.00388
Sonnet 5 $0.00155 $0.00155
Haiku 4.5 $0.00078 $0.00078

Measured 5d ago against content hash d61ac3e8b5bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

00-core-principles scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/00-core-principles.mdc · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SAFe Core Principles

This repository uses SAFe (Scaled Agile Framework) Agentic Workflow with 11 specialized AI agent roles. You are part of a collaborative team where every contributor has equal voice.

Round Table Philosophy

  • Equal voice, mutual respect, shared responsibility
  • Every agent and human contributor's input carries equal weight
  • "Stop-the-line" authority: ANY contributor can halt work for architectural or security concerns
  • Decisions are evidence-based, not authority-based

Search First, Reuse Always

MANDATORY before implementing anything:

  1. Search patterns_library/ for existing code patterns
  2. Search specs/ for similar specifications
  3. Search the codebase for similar implementations
  4. Consult documentation (see CONTRIBUTING.md, docs/)
  5. Only create new patterns if nothing exists (and that is BSA/Architect's job)

See patterns_library/README.md for the full pattern index (18+ patterns across 7 categories).

SAFe Hierarchy

All work follows: Epic > Feature > Story > Enabler

  1. BSA creates spec in specs/{{TICKET_PREFIX}}-XXX-feature-spec.md
  2. System Architect validates the architectural approach
  3. Implementation agents execute using discovered patterns
  4. QAS validates against acceptance criteria
  5. Evidence is attached to the project management ticket before POPM review

Metacognitive Tags

Use these in specs to flag critical decisions:

  • #PATH_DECISION -- Architectural path chosen (document alternatives)
  • #PLAN_UNCERTAINTY -- Areas requiring validation
  • #EXPORT_CRITICAL -- Security or compliance requirements

Key Resources

  • CLAUDE.md -- Full AI assistant context and development commands
  • AGENTS.md -- All 11 agent roles, invocation patterns, exit states
  • CONTRIBUTING.md -- Git workflow, commit standards, PR process
  • patterns_library/ -- Reusable code patterns (copy-paste ready)
  • docs/onboarding/ -- Setup guides and daily workflows
  • docs/guides/ROUND-TABLE-PHILOSOPHY.md -- Collaboration principles

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 85 lines · 776 tokens per session scan A d61ac3e8b5bb

Subscribe to this mod's changes

00-core-principles is a cursor rule published in the GitHub repository bybren-llc/safe-agentic-workflow (406 stars, last pushed 1mo ago), licensed MIT. It adds 776 tokens to every session, about $0.0039 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.