Polaris: Skill for Claude Code

.agents/skills/review-architecture/SKILL.md

review-architecture is a skill for Claude Code, Codex from sponge-b0b/Polaris. It costs 47 tokens per session (2,720 once invoked), scanned A, original, Apache-2.0.

A read-only architecture review of an implementation change or proposed repair. It compares the change with resolved architectural decisions and current technical authorities.

In plain words
What is it for?
Checking aggregate diffs, commits, specifications, architecture-impact notes, ADRs, affected entities, and proposed remediation obligations for architectural conformance.
Why use it?
It finds architecture drift, boundary violations, and unresolved design changes before they are accepted. The review reports problems without modifying code or documentation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex; $skill-name invocation.

This is sponge-b0b/Polaris's own configuration. It tells Claude Code and Codex how to work on Polaris 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 Polaris configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sponge-b0b/Polaris. 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/sponge-b0b/Polaris/main/.agents/skills/review-architecture/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/sponge-b0b/Polaris

Made for: Claude Code, Codex.

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 review-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/sponge-b0b/polaris/review-architecture/github.svg)](https://agentmods.dev/skills/sponge-b0b/polaris/review-architecture)
Your own site
<a href="https://agentmods.dev/skills/sponge-b0b/polaris/review-architecture"><img src="https://agentmods.dev/badge/skills/sponge-b0b/polaris/review-architecture/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 review-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/sponge-b0b/polaris/review-architecture"><img src="https://agentmods.dev/badge/skills/sponge-b0b/polaris/review-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,720 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.00047 $0.02720
Opus 5 $0.00023 $0.01360
Sonnet 5 $0.00009 $0.00544
Haiku 4.5 $0.00005 $0.00272

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

Security

Grade A, and why

review-architecture 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/review-architecture/SKILL.md · 325 lines

How it starts

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

Review Architecture

Audit whether an implemented change or proposed remediation obligation preserves or correctly realizes resolved architecture.

This is a read-only review. It reports architecture findings; it does not redesign or repair the system.

Inputs

Use the caller-provided:

  • aggregate diff and commit list, when reviewing implementation;
  • originating spec;
  • spec Architecture Impact, when present;
  • affected entities and governing ADR/doc references, when known;
  • owner overrides, when applicable;
  • proposed remediation or Root Blocker acceptance obligation, when evaluating its architecture conformance;
  • affected production paths/contracts for that obligation, when known;
  • architecture Review Universe cells, when provided by $review-spec;
  • review pass strategy: authority-first | adversarial-surface-first, when provided.

1. Establish the Intended Architecture

Read the spec's Architecture Impact and identify:

  • affected entities;
  • impact: none | conforming | extending | changing | retiring;
  • governing architectural decisions or constraints;
  • ADRs/docs that resolved intentional architecture changes.

If implementation materially changes architecture but the spec contains no resolved architectural basis for that change, report a Blocking finding.

Do not invent the missing decision here.

2. Load Current Architectural Context

If the Living Entity Wiki exists:

  1. Read wiki/index.md.
  2. Load the affected entity pages.
  3. Follow relevant inline citations to authoritative sources.
  4. Read wiki/_schema.md when authority or conflict semantics are needed.

Consult applicable:

  • accepted ADRs;
  • docs/current/;
  • relevant docs/proposed/ for planned architecture;
  • implementation evidence from the codebase.

The wiki is derived context, not architectural authority.

Use read-only structural tools such as codegraph or codebase-memory-mcp only when targeted repository evidence is needed.

Do not update indexes or regenerate graphs.

Read the full file on GitHub · 325 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. 11d ago First seen · 325 lines · 47 tokens per session scan A 5d4be38754b2

Subscribe to this mod's changes

review-architecture is a skill published in the GitHub repository sponge-b0b/Polaris (4 stars, last pushed today), licensed Apache-2.0. It adds 47 tokens to every session and 2,720 once invoked, about $0.0002 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.