Polaris: Skill for Claude Code

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

verify-architecture is a skill for Claude Code, Codex from sponge-b0b/Polaris. It costs 40 tokens per session (1,961 once invoked), scanned A, original, Apache-2.0.

An architecture check for the Polaris codebase. It runs tests that detect whether the repository still follows its accepted structural rules.

In plain words
What is it for?
Use it after changes to current Python code, tests, migrations, or architecture-guard rules. It is not intended for unrelated documentation or administrative changes.
Why use it?
It catches architecture violations before they become regressions. When the correct state is clear, it can repair violations; otherwise it stops instead of guessing.

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 AGENTS.md; mentions Codex.

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/verify-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 verify-architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sponge-b0b/polaris/verify-architecture"><img src="https://agentmods.dev/badge/skills/sponge-b0b/polaris/verify-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,961 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.00040 $0.01961
Opus 5 $0.00020 $0.00981
Sonnet 5 $0.00008 $0.00392
Haiku 4.5 $0.00004 $0.00196

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

Security

Grade A, and why

verify-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 3d 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.

.agents/skills/verify-architecture/SKILL.md · 211 lines

How it starts

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

Architecture Invariant Verification

Objective

Keep accepted Polaris architecture continuously executable and regression-protected.

This skill owns one repository invariant gate:

The complete architecture suite passes with zero failures, and the live greenfield repository has zero mechanically detectable architecture violations.

The architecture guard and its tests are executable representations of accepted architecture. They are not architecture authority themselves. Resolve architectural meaning from the current non-legacy authority ordering in AGENTS.md.

Applicability

Invoke this skill when the candidate can affect a mechanically enforced architecture invariant, including when it changes:

  • current Python source under src/polaris/;
  • current tests under tests/;
  • current Python migrations scanned by tests/architecture_guard.py;
  • tests/architecture_guard.py or any architecture-guard test;
  • accepted architecture authority whose mechanically enforceable rule is represented by the architecture guard.

Do not invoke it merely because unrelated documentation, tracker state, Project projection, or other non-architecture administrative state changed.

Applicability controls whether the gate runs. Once applicable, verification scope is the complete architecture suite; do not narrow it to changed files, one ticket, one Spec obligation, or one rule.

Architecture Rule Admission Invariant

A rule belongs in the architecture guard only when all of the following are true:

  1. current accepted authority establishes a durable architectural invariant;
  2. the invariant is mechanically observable from the repository surface the guard can inspect;
  3. detection can be implemented with sufficiently low false-positive risk;
  4. the checker and independent falsifier tests can express both prohibited and adjacent-valid states where material.

Do not turn style preferences, speculative future architecture, subjective design taste, or ordinary code-quality concerns into architecture rules.

Read the full file on GitHub · 211 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. 3d ago First seen · 211 lines · 40 tokens per session scan A 016b433a0ecf

Subscribe to this mod's changes

verify-architecture is a skill published in the GitHub repository sponge-b0b/Polaris (4 stars, last pushed yesterday), licensed Apache-2.0. It adds 40 tokens to every session and 1,961 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-09-06.

Related

Other skills, from other repositories

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

davila7/claude-code-templates · 45 tokens

experimental-code-coverage-local-debugger

Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.

chromium/chromium · 59 tokens

adversarial-reviewer

Adversarial code review that assumes bugs exist and hunts for them. Use when asked to review code, find bugs, audit for correctness, stress-test a PR, or when someone says "tear this apart" or "what's wrong with this". Give no benefit of the doubt — every line is guilty until proven innocent.

emdash-cms/emdash · 71 tokens

cli-e2e

Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.

ComposioHQ/composio · 62 tokens

ios-simulator

Verify and debug native, React Native, Expo, or Flutter apps on an iOS Simulator with agent-device. Use when an agent needs to launch an app, inspect its live UI, tap, type, scroll, validate a code change, collect failure evidence, or reproduce a workflow on an iPhone or iPad Simulator.

callstack/agent-device · 69 tokens