sso-mcp-server: Agent for Claude Code

.github/agents/rainbow.regulate.agent.md

rainbow.regulate is an agent for Claude Code from DauQuangThanh/sso-mcp-server. It costs 23 tokens per session (1,444 once invoked), scanned A, original, MIT.

A project-maintenance agent that creates or updates a document of the project's shared rules and principles from a template.

In plain words
What is it for?
Use it to establish or revise project ground rules, fill in template placeholders, update dependent files, and commit the resulting documentation.
Why use it?
It keeps the rules and related templates consistent as the project changes, and records the update in Git.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is DauQuangThanh/sso-mcp-server's own configuration. It tells Claude Code how to work on sso-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sso-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DauQuangThanh/sso-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DauQuangThanh/sso-mcp-server/main/.github/agents/rainbow.regulate.agent.md
Clone the repo
git clone --depth 1 https://github.com/DauQuangThanh/sso-mcp-server

Made for: Claude Code.

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 rainbow.regulate

README.md
[![agentmods](https://agentmods.dev/badge/agents/dauquangthanh/sso-mcp-server/rainbow.regulate.svg)](https://agentmods.dev/agents/dauquangthanh/sso-mcp-server/rainbow.regulate)
Your own site
<a href="https://agentmods.dev/agents/dauquangthanh/sso-mcp-server/rainbow.regulate"><img src="https://agentmods.dev/badge/agents/dauquangthanh/sso-mcp-server/rainbow.regulate.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 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,444 The whole file, excluding the scripts and references it only reads on demand.
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.1 $0.00023 $0.01444
Opus 5 $0.00012 $0.00722
Sonnet 5 $0.00005 $0.00289
Haiku 4.5 $0.00002 $0.00144

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

Security

Grade A, and why

rainbow.regulate 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.

.github/agents/rainbow.regulate.agent.md · 93 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Outline

You are creating or updating the project ground rules at memory/ground-rules.md based on the template at .rainbow.rainbow/templates/templates-for-commands/ground-rules-template.md. The template contains placeholder tokens in square brackets (e.g. [PROJECT_NAME], [PRINCIPLE_1_NAME]). Your job is to (a) copy the template, (b) collect/derive concrete values, (c) fill the template precisely, and (d) propagate any amendments across dependent artifacts.

Follow this execution flow:

IMPORTANT: Automatically generate a 'docs:' prefixed git commit message (e.g., 'docs: establish project ground rules v1.0.0' or 'docs: update ground rules to v1.1.0') and commit memory/ground-rules.md and any updated template files upon completion.

  1. Load the ground rules template from .rainbow.rainbow/templates/templates-for-commands/ground-rules-template.md.

    • If memory/ground-rules.md already exists, read it to extract current values and version information.
    • Identify every placeholder token of the form [ALL_CAPS_IDENTIFIER] from the template. IMPORTANT: The user might require less or more principles than the ones used in the template. If a number is specified, respect that - follow the general template structure. You will update the doc accordingly.
  2. Collect/derive values for placeholders:

    • If user input (conversation) supplies a value, use it.
    • If memory/ground-rules.md exists, extract current values from it (preserve existing principles unless user requests changes).
    • Otherwise infer from existing repo context (README, docs, project structure).
    • For governance dates:
      • RATIFICATION_DATE is the original adoption date (if unknown and this is first creation, use today; if updating existing ground-rules, preserve original date).
      • LAST_AMENDED_DATE is today if changes are made, otherwise keep previous date.
    • CONSTITUTION_VERSION must increment according to semantic versioning rules:
      • MAJOR: Backward incompatible governance/principle removals or redefinitions.
      • MINOR: New principle/section added or materially expanded guidance.
      • PATCH: Clarifications, wording, typo fixes, non-semantic refinements.
    • If this is the first ground rules document (no existing memory/ground-rules.md), start with version 1.0.0.
    • If version bump type ambiguous, propose reasoning before finalizing.

Read the full file on GitHub · 93 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 · 93 lines · 23 tokens per session scan A a4d708805851

Subscribe to this mod's changes

rainbow.regulate is an agent published in the GitHub repository DauQuangThanh/sso-mcp-server (0 stars, last pushed 8mo ago), licensed MIT. It adds 23 tokens to every session and 1,444 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-08-31.