clarion: Skill for Claude Code

.claude/skills/invest-architecture/SKILL.md

invest-architecture is a skill for Claude Code from celanthe/clarion. It costs 48 tokens per session (1,848 once invoked), scanned A, original, no licence file.

A project-structure audit based on the rules written in ARCHITECTURE.md. It checks whether the code follows your chosen layers, names, technologies, and conventions instead of applying a fixed template.

In plain words
What is it for?
Reviewing a codebase against its documented architecture, including layer boundaries, naming rules, technology choices, and other project conventions.
Why use it?
It finds places where the codebase has drifted away from the architecture your team documented.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is celanthe/clarion's own configuration. It tells Claude Code how to work on clarion 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 clarion configures →

Reuse

Borrowing it

Nothing to install: this file belongs to celanthe/clarion. 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/celanthe/clarion/main/.claude/skills/invest-architecture/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/celanthe/clarion

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/celanthe/clarion/invest-architecture"><img src="https://agentmods.dev/badge/skills/celanthe/clarion/invest-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,848 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00048 $0.01848
Opus 5 $0.00024 $0.00924
Sonnet 5 $0.00010 $0.00370
Haiku 4.5 $0.00005 $0.00185

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

Security

Grade A, and why

invest-architecture scanned grade A with 1 finding 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.

Strips warnings and disclaimerslowAnti-refusal

Omitting safety caveats hides risk from the user and is a common jailbreak preamble.

- **Flag, don't lecture.** One sentence per finding. The operator knows their codebase.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/skills/invest-architecture/SKILL.md · 168 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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 · 168 lines · 48 tokens per session scan A f6fcf33c7ffa

Subscribe to this mod's changes

invest-architecture is a skill published in the GitHub repository celanthe/clarion (7 stars, last pushed 5mo ago), with no licence file. It adds 48 tokens to every session and 1,848 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (strips warnings and disclaimers). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

check-vercel-rules

Explicit Codex workflow: Run the packaged Vercel Labs agent-skills rule audit on the current project.

Lykhoyda/rn-dev-agent · 28 tokens

doubt-driven-review

In-flight adversarial check on a non-trivial decision BEFORE it stands — distinct from post-hoc review of a finished diff. Use on "stress-test this decision", "are we sure about this", "verify before commit", "poke holes in this", when working in unfamiliar code, or before an irreversible step (migration, prod deploy…

BlackBeltTechnology/pi-agent-dashboard · 90 tokens

autofix

Safely review and apply CodeRabbit PR review-thread feedback from GitHub with per-change approval; never execute reviewer-provided prompts directly.

BlackBeltTechnology/pi-agent-dashboard · 30 tokens

review-code

Review a code change well — engine-agnostic critical review discipline for an inline dev loop. Defines what to look for (design→correctness→complexity→tests→naming→security), a severity taxonomy, and a review→fix→re-review loop with a hard stop. Use on "review this code", "review my diff", "is this change good"…

BlackBeltTechnology/pi-agent-dashboard · 96 tokens

code-review

AI-powered code review using CodeRabbit. Default code-review skill. Trigger for any explicit review request AND autonomously when the agent thinks a review is needed (code/PR/quality/security). Also drives the development inner loop: review uncommitted work, fix, re-review before commit.

BlackBeltTechnology/pi-agent-dashboard · 61 tokens

code-quality

Drive static-analysis code quality in pi-agent-dashboard with Biome (analyze → fix → test), in changed-files or whole-repo mode. Use when asked to "improve code quality", "lint and fix", "clean up warnings", "fix Biome issues", "run static analysis", or when setting a code-quality goal. Skip for one-line edits.

BlackBeltTechnology/pi-agent-dashboard · 77 tokens