new-org-rules

new-org-rules is a command for GitHub Copilot from srnichols/plan-forge. It costs 13 tokens per session (414 once invoked), scanned A, original, MIT.

A command that creates an organisation-specific Azure rules file from a template and known project information.

In plain words
What is it for?
Use it to initialise project instructions with subscription details, approved regions, required compliance frameworks, tags, and other organisational standards.
Why use it?
It records local naming, region, security, compliance, budget, and contact requirements instead of leaving generic placeholders or invented values.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: agent in frontmatter.

Good fit Use it to initialise project instructions with subscription details, approved regions, required compliance frameworks, tags, and other organisational standards.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/srnichols/plan-forge/new-org-rules/github.svg)](https://agentmods.dev/commands/srnichols/plan-forge/new-org-rules)
Your own site
<a href="https://agentmods.dev/commands/srnichols/plan-forge/new-org-rules"><img src="https://agentmods.dev/badge/commands/srnichols/plan-forge/new-org-rules/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 new-org-rules

Your own site · 80×15
<a href="https://agentmods.dev/commands/srnichols/plan-forge/new-org-rules"><img src="https://agentmods.dev/badge/commands/srnichols/plan-forge/new-org-rules.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 414 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.00414
Opus 5 $0.00006 $0.00207
Sonnet 5 $0.00003 $0.00083
Haiku 4.5 $0.00001 $0.00041

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

Security

Grade A, and why

new-org-rules 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 yesterday.

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/azure-iac/.github/prompts/new-org-rules.prompt.md · 44 lines

What it actually says

Initialize Org-Specific Azure Rules

Create a populated org-rules.instructions.md from the org-rules template, with your organisation's actual values.

Steps

  1. Read .github/instructions/org-rules.instructions.md.template
  2. Read any existing project files that reveal org standards:
    • README.md, CUSTOMIZATION.md, existing Bicep/Terraform naming patterns
    • Pipeline YAML for region, subscription, environment hints
  3. Ask the user for any values not found in existing files
  4. Write the completed .github/instructions/org-rules.instructions.md

Questions to Ask

Before generating, gather:

  1. Tenant ID and primary subscription ID?
  2. Approved Azure regions? (influences naming, data residency)
  3. Workload abbreviations? (team code + workload short names)
  4. Compliance frameworks required? (ISO 27001, SOC 2, GDPR, HIPAA, PCI-DSS)
  5. Monthly budget per subscription? (for cost guardrail)
  6. Key contacts? (platform team, security, finops emails)
  7. Data classification levels used? (keep default or customise)
  8. Required extra tags? (beyond CAF mandatory set)

Rules

  • REPLACE every <!-- ... --> placeholder — leave none behind
  • Do NOT invent values for security-sensitive fields (tenant ID, subscription ID, CIDR ranges) — ask the user
  • Keep the frontmatter applyTo pattern — it controls auto-load scope
  • After writing, confirm with user that values are correct before committing

Reference Files

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. yesterday First seen · 44 lines · 13 tokens per session scan A 4478bff5db8b

Subscribe to this mod's changes

new-org-rules is a command published in the GitHub repository srnichols/plan-forge (5 stars, last pushed yesterday), licensed MIT. It adds 13 tokens to every session and 414 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.