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.
npx skills add ariaxhan/kernel-claude --skill architecturegit clone --depth 1 https://github.com/ariaxhan/kernel-claudeWrote 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.
[](https://agentmods.dev/skills/ariaxhan/kernel-claude/architecture)<a href="https://agentmods.dev/skills/ariaxhan/kernel-claude/architecture"><img src="https://agentmods.dev/badge/skills/ariaxhan/kernel-claude/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.
<a href="https://agentmods.dev/skills/ariaxhan/kernel-claude/architecture"><img src="https://agentmods.dev/badge/skills/ariaxhan/kernel-claude/architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.00513 |
| Opus 5.5 | $0.00014 | $0.00205 |
| Sonnet 5.5 | $0.00007 | $0.00103 |
| Haiku 4.5 | $0.00003 | $0.00051 |
Grade A, and why
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 2mo 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.
What it actually says
<core_principles>
- FOLLOW EXISTING PATTERNS: Don't introduce new patterns without justification.
- INTERFACE STABILITY: Changing interfaces breaks everything. Stabilize them first.
- MODULAR BOUNDARIES: Clear separation. Each module has one reason to change.
- DEPENDENCY DIRECTION: Depend on abstractions, not concretions. Core doesn't know about edges.
- SMALLEST CHANGE: Prefer minimal changes that achieve the goal. </core_principles>
<ai_code_health_nexus> From research: 30%+ defect risk when AI applied to unhealthy code. AI amplifies existing patterns. If code is messy, AI makes it messier. Before adding AI to a codebase:
- Identify health score (coupling, complexity, test coverage)
- Fix critical health issues first
- Establish clear interfaces
- Then apply AI within those boundaries </ai_code_health_nexus>
<design_heuristics>
- If you can't explain it simply, the design is too complex
- Three concrete examples before abstraction
- Composition over inheritance
- Make illegal states unrepresentable
- Parse, don't validate </design_heuristics>
<anti_patterns>
- Premature abstraction (abstract before 3 concrete uses)
- Leaky abstractions (implementation details bleeding through)
- Circular dependencies
- God objects (one class doing everything)
- Feature envy (methods that use another class more than their own) </anti_patterns>
<on_complete> agentdb write-end '{"skill":"architecture","decision":"X","coupling_reduced":true,"adr":"path|none"}' </on_complete>
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · -6 tokens per session ae15e55683e8
- 3mo ago First seen · 68 lines · 40 tokens per session scan A 180bd4179910
architecture is a skill published in the GitHub repository ariaxhan/kernel-claude (16 stars, last pushed yesterday), licensed MIT. It adds 34 tokens to every session and 513 once invoked, about $0.0001 per session on Opus 5.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-30.
architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architectureariaxhan/kernel-claude | Skill | 16 | yesterday | MIT | A | 34 | Claude Code |
| cartographer-kb-source-authorBeppeTemp/cartographer | Skill | 69 | yesterday | Apache-2.0 | A | 106 | Claude Code, Codex |
| secret-warnmycelium-hq/ai-brain-starter | Skill | 61 | today | MIT | B | 121 | Claude Code |
| http-client-migrationGen-Verse/PAST-Bench | Skill | 40 | 3mo ago | Apache-2.0 | A | 14 | Claude Code, Codex |
| python-networking-styleGen-Verse/PAST-Bench | Skill | 40 | 3mo ago | Apache-2.0 | A | 10 | Claude Code, Codex |
| fastapisordi-ai/skill-everything | Skill | 21 | 6mo ago | MIT | A | 35 | Claude Code, Codex |
| stripe-projectsNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 15 | Claude Code, Codex |