codument: Skill for Claude Code

.agents/skills/senior-architect/SKILL.md

senior-architect is a skill for Claude Code, Codex from jakubsuplicki/codument. It costs 128 tokens per session (755 once invoked), scanned A, original, Apache-2.0.

A guide for planning and reviewing software architecture—the way an application’s parts, data, and integrations are organised. It covers new systems and changes to existing ones across different technology stacks.

In plain words
What is it for?
Use it to define system boundaries, compare design trade-offs, choose patterns, document decisions in Architecture Decision Records (ADRs), and plan migrations for web apps, services, APIs, databases, and distributed systems.
Why use it?
It helps you make technical choices based on scale, team, budget, and existing systems instead of trends. It also makes large changes easier to plan in smaller steps while keeping the system working during migration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

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

Reuse

Borrowing it

Nothing to install: this file belongs to jakubsuplicki/codument. 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/jakubsuplicki/codument/main/.agents/skills/senior-architect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jakubsuplicki/codument

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 senior-architect

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jakubsuplicki/codument/senior-architect"><img src="https://agentmods.dev/badge/skills/jakubsuplicki/codument/senior-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 755 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 pass 7 Sept 2026
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.00128 $0.00755
Opus 5 $0.00064 $0.00378
Sonnet 5 $0.00026 $0.00151
Haiku 4.5 $0.00013 $0.00076

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

Security

Grade A, and why

senior-architect 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 9d 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/senior-architect/SKILL.md · 96 lines

How it starts

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

Software Architecture

When making architectural decisions, follow this process:

1. Understand Constraints First

Before proposing any solution:

  • What are the scale requirements? (users, data volume, request rate)
  • What's the team size and skill set?
  • What's the timeline and budget?
  • What existing systems must this integrate with?
  • What are the non-negotiable requirements vs nice-to-haves?

2. Architecture Decision Process

For New Systems

  1. Identify the core domain entities and their relationships
  2. Define the system boundaries and integration points
  3. Choose patterns based on actual requirements, not trends
  4. Document decisions as ADRs (Architecture Decision Records)

For Existing Systems

  1. Map the current architecture — what exists, what's painful
  2. Identify the specific problems to solve (don't boil the ocean)
  3. Propose incremental changes with clear migration paths
  4. Ensure backward compatibility during transition

3. Patterns to Consider

Choose based on the problem, not the hype:

Problem Consider Avoid If
Simple CRUD app Monolith + REST You have <5 developers
Independent scaling needs Microservices Team is small or inexperienced
Complex business rules Domain-Driven Design Domain is simple
Real-time data Event-driven / CQRS Consistency is critical
High read/write ratio Read replicas / caching Data must be real-time

4. Evaluate Trade-offs

Every architectural decision is a trade-off. Make them explicit:

  • Consistency vs Availability — which matters more for this use case?
  • Simplicity vs Flexibility — will we actually need the flexibility?
  • Performance vs Maintainability — where's the real bottleneck?
  • Build vs Buy — is this a core differentiator or commodity?

5. Output Format

For architecture proposals, use:

## Architecture: [system/component name]

### Context
What problem are we solving and why now?

### Decision Drivers
- [constraint or requirement]

### Proposed Architecture
[description with diagram if multiple components]

### Trade-offs
| Choice | Benefit | Cost |
|--------|---------|------|

### Alternatives Considered
[what else was evaluated and why it was rejected]

### Migration Path
[how to get from here to there incrementally]

Read the full file on GitHub · 96 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. 9d ago First seen · 96 lines · 128 tokens per session scan A b02916ac6fbe

Subscribe to this mod's changes

senior-architect is a skill published in the GitHub repository jakubsuplicki/codument (47 stars, last pushed 18d ago), licensed Apache-2.0. It adds 128 tokens to every session and 755 once invoked, about $0.0006 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-30.