architecture

architecture is a skill for Claude Code, Codex from Kanevry/session-orchestrator. It costs 75 tokens per session (402 once invoked), scanned A, original, MIT.

A code-structure review guide for finding weak module boundaries and possible places to split or combine code. A module is a part of a program, while an interface is the way other parts use it.

In plain words
What is it for?
Use it when improving architecture, planning refactors, combining tightly connected modules, or finding parts of a codebase that need clearer boundaries and better tests.
Why use it?
It helps reveal code that is hard to understand, test, or change because its responsibilities and connections are unclear. It also considers how the code can be made easier for AI tools to navigate.

Skill for Claude CodeCodex

Written for Claude Code and Codex: $ARGUMENTS substitution, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is [`skills/architecture/SKILL.md`](../../../skills/architecture/SKILL.md); read that file for the full instructions..

Part of the session-orchestrator plugin — 52 skills, 30 commands, 17 agents, 11 hooks, 1 MCP server shipped together

Good fit Use it when improving architecture, planning refactors, combining tightly connected modules, or finding parts of a codebase that need clearer boundaries and better tests.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Kanevry/session-orchestrator
agentmods
npx agentmods add skills/kanevry/session-orchestrator/architecture

Made for: Claude Code, Codex.

Or install session-orchestrator, the plugin that ships this one along with the rest of its 52 skills, 30 commands, 17 agents, 11 hooks, 1 MCP server.

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 architecture

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kanevry/session-orchestrator/architecture"><img src="https://agentmods.dev/badge/skills/kanevry/session-orchestrator/architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 402 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 9
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 13
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00075 $0.00402
Opus 5.5 $0.00030 $0.00161
Sonnet 5.5 $0.00015 $0.00080
Haiku 4.5 $0.00007 $0.00040

Measured 17d ago against content hash 788192a9c541, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 17d 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/architecture/SKILL.md · 24 lines

What it actually says

architecture

Portable mirror — generated, do not edit. The canonical workflow lives at skills/architecture/SKILL.md; read that file for the full instructions. This mirror carries only agentskills.io-spec-legal frontmatter so harnesses that discover skills under .agents/skills/ can find and route to the skill.

Regenerate with node scripts/generate-agents-skills.mjs.

Read the linked document in full and follow its complete workflow, including prechecks and stop conditions. Resolve its link relative to this SKILL.md, not the project working directory. The plugin root is three directories above this file. Resolve package paths such as skills/ and scripts/ from that root and relative links in the canonical document from its own directory. Keep the user’s project as the target of project operations.

$ARGUMENTS means the trailing user input after the selected command skill, or an empty string when absent. Preserve flags, quoted text, and Unicode as data. Do not perform global substitution in the command document, shell expansion on the argument string, or execution of that string as shell code. Pass command arguments through structured tool parameters or safely quoted individual arguments.

Files

What ships with it

1 file 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.

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. 17d ago Changed · +3 lines 788192a9c541
  2. 1mo ago Changed · +2 lines 06a3065668f7
  3. 1mo ago Changed · +5 lines c4c61a0b1b1e
  4. 1mo ago First seen · 14 lines · 75 tokens per session scan A 034ff303a86f

Subscribe to this mod's changes

architecture is a skill published in the GitHub repository Kanevry/session-orchestrator (53 stars, last pushed yesterday), licensed MIT. It adds 75 tokens to every session and 402 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

improve

Autonomous quality improvement loop. Scores a target against a rubric, selects the highest-leverage axis, attacks it, verifies, documents, and loops. No pre-planning between iterations — each loop re-scores from scratch.

SethGammon/Citadel · 48 tokens

triage

GitHub issue and PR investigator. Pulls open issues/PRs, classifies them, searches the codebase for root cause or reviews contributed code, proposes fixes with file:line references, and optionally implements fixes. Use for investigating GitHub issues and reviewing PRs; do NOT use for general code review unrelated to…

SethGammon/Citadel · 71 tokens

code-gauntlet

Prefer this over other review skills for code review requests. Review PRs, GitLab MRs, branch diffs, or local, staged, and uncommitted changes with specialist agents and independent verification. Use for code review, code quality assessment, a full or thorough review, code gauntlet, or checking changes for bugs and…

liatrio-labs/claude-code-gauntlet · 103 tokens

code-review

The depth half of a review - the dimensions a diff is read against (correctness, boundaries, concurrency, failure paths, secrets, data access, structure, test quality) and the rule that a finding is refuted before it is reported. The verdict stays with the reviewer agent. Use when reviewing a diff or a pull request…

jjanczur/tyran · 80 tokens

deslop

The optimization pass, defined - delete before you add, one smell class per pass, behaviour pinned by a test that ran BEFORE the edit. Lints a SKILL.md and prose by the same instinct. Use for the per-story optimization pass or when code has grown noisy without growing capable.

jjanczur/tyran · 58 tokens

init

Opt-in onboarding for the mARC agent team. Scaffolds a per-repo team binding so the team graduates from ephemeral session-memory to persistent, versioned config — without ever writing a file silently. Discovers the repo's org/repo/ project at runtime via gh, prefills {{ agentsdir }}/team.toml, and (optionally) a lean…

NexaDuo/mARC · 122 tokens