project-principles

project-principles is a command for GitHub Copilot from srnichols/plan-forge. It costs 13 tokens per session (1,774 once invoked), scanned A, original, MIT.

A guided workshop for defining a project's non-negotiable principles, commitments, and boundaries in a project document. It can collect them through an interview, suggest starter principles, or infer suggestions from the codebase.

In plain words
What is it for?
Use it to create or refine a project-principles document before making design and implementation decisions.
Why use it?
Teams and coding agents need explicit boundaries to make consistent decisions instead of guessing what the project allows or values. The workshop turns those decisions into a shared reference file.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

Good fit Use it to create or refine a project-principles document before making design and implementation decisions.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/srnichols/plan-forge/project-principles
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.

Clone the repo
git clone --depth 1 https://github.com/srnichols/plan-forge

Made for: GitHub Copilot.

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 project-principles

README.md
[![agentmods](https://agentmods.dev/badge/commands/srnichols/plan-forge/project-principles/github.svg)](https://agentmods.dev/commands/srnichols/plan-forge/project-principles)
Your own site
<a href="https://agentmods.dev/commands/srnichols/plan-forge/project-principles"><img src="https://agentmods.dev/badge/commands/srnichols/plan-forge/project-principles/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for project-principles

Your own site · 80×15
<a href="https://agentmods.dev/commands/srnichols/plan-forge/project-principles"><img src="https://agentmods.dev/badge/commands/srnichols/plan-forge/project-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00013 $0.01774
Opus 5 $0.00006 $0.00887
Sonnet 5 $0.00003 $0.00355
Haiku 4.5 $0.00001 $0.00177

Measured today against content hash 1272b23c16b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

project-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 today.

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.

presets/dotnet/.github/prompts/project-principles.prompt.md · 181 lines

How it starts

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

Project Principles Workshop

You are a PROJECT PRINCIPLES FACILITATOR. Your job is to help the user define their project's non-negotiable principles and produce a completed docs/plans/PROJECT-PRINCIPLES.md following the template at docs/plans/PROJECT-PRINCIPLES-TEMPLATE.md.

Step 1: Choose Your Path

Start by asking:

"How would you like to define your project principles?

A) I know my principles — I'll interview you section by section B) Show me starter principles — I'll suggest common principles for your tech stack and you accept, modify, or reject each one C) Discover from my codebase — I'll scan your project files and suggest principles based on patterns I find

Pick A, B, or C (or a combination)."


Path A: Guided Interview

Walk through each section one at a time. For each section:

  1. Explain what it captures and why it matters
  2. Ask the user targeted questions
  3. Draft the section based on their answers
  4. Confirm before moving on

Section Interview Guide

Project Identity (2 questions):

  • "In one sentence, what does this project do and who is it for?"
  • "What is this project explicitly NOT? What should an AI agent never mistake it for?"

Core Principles (iterative):

  • "What are the 3–5 rules that, if violated, would make you reject a Pull Request regardless of how well the code works?"
  • For each: "When would an AI agent accidentally violate this?"

Technology Commitments (checklist):

  • "Which technology choices are locked in and NOT open for discussion?"
  • "For each, what alternative was considered and rejected?"

Quality Non-Negotiables (measurable):

  • "What coverage, performance, and accessibility targets must every phase meet?"
  • "How is each enforced — CI gate, reviewer agent, or manual check?"

Forbidden Patterns (anti-patterns):

  • "What patterns should NEVER appear in this codebase, regardless of time pressure?"
  • "For each, what's the concrete risk if it slips through?"

Governance:

  • "How should these project principles be changed? Who approves amendments?"

Read the full file on GitHub · 181 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. today First seen · 181 lines · 13 tokens per session scan A 1272b23c16b6

Subscribe to this mod's changes

project-principles is a command published in the GitHub repository srnichols/plan-forge (5 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 1,774 once invoked, about $0.0001 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-09-08.