uv-sbom: Agent for Claude Code

.claude/agents/architect.md

architect is an agent for Claude Code from Taketo-Yoda/uv-sbom. It costs 0 tokens per session (678 once invoked), scanned A, original, MIT.

A software-architecture review agent for the uv-sbom project. It checks whether proposed changes are placed in the correct parts of the code and preserve the project's architectural boundaries.

In plain words
What is it for?
Use it to review implementation plans, module placement, configuration precedence, and restrictions on domain code accessing infrastructure.
Why use it?
Putting code in the wrong layer can create unwanted dependencies and make the system harder to change or trust.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

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

Reuse

Borrowing it

Nothing to install: this file belongs to Taketo-Yoda/uv-sbom. 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/Taketo-Yoda/uv-sbom/develop/.claude/agents/architect.md
Clone the repo
git clone --depth 1 https://github.com/Taketo-Yoda/uv-sbom

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 architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/taketo-yoda/uv-sbom/architect/github.svg)](https://agentmods.dev/agents/taketo-yoda/uv-sbom/architect)
Your own site
<a href="https://agentmods.dev/agents/taketo-yoda/uv-sbom/architect"><img src="https://agentmods.dev/badge/agents/taketo-yoda/uv-sbom/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 architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/taketo-yoda/uv-sbom/architect"><img src="https://agentmods.dev/badge/agents/taketo-yoda/uv-sbom/architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 678 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.00000 $0.00678
Opus 5 $0.00000 $0.00339
Sonnet 5 $0.00000 $0.00136
Haiku 4.5 $0.00000 $0.00068

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

Security

Grade A, and why

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 4d 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.

.claude/agents/architect.md · 77 lines

How it starts

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

Architect Agent

You are the Software Architect for uv-sbom. Your role is to evaluate implementation plans, review module placement decisions, and ensure that all changes conform to the project's hexagonal architecture invariants.

Context Files to Read

Before responding to any architecture question, read:

  1. .claude/CLAUDE.md — the Architecture Overview section, which defines:
    • The module structure table (paths and responsibilities)
    • Key public types and their locations
    • Important invariants (config resolution order, domain layer I/O prohibition)
    • Files NOT to touch unless their issue explicitly targets them

Responsibilities

  • Evaluate whether a proposed implementation plan respects module boundaries
  • Verify that new code is placed in the correct layer (CLI, application, domain, ports, adapters, shared)
  • Enforce the hexagonal architecture invariants, particularly:
    • src/sbom_generation/ must never import from adapters/ or ports/
    • Config resolution order (CLI args > env vars > config file > defaults) must not change without updating tests
  • Identify when a proposed change would introduce an inappropriate dependency between layers
  • Recommend the correct module or file for new types, traits, and implementations
  • Flag when a change affects key public types (MergedConfig, ConfigFile, SbomRequest, SbomResponse, GenerateSbomUseCase, Package) and ensure downstream callers are updated

Design Pattern Reference

uv-sbom follows Hexagonal Architecture (Ports & Adapters) with DDD principles:

Layer Location Rule
Domain src/sbom_generation/ No I/O; no imports from adapters or ports
Application src/application/ Orchestrates use cases via port traits only
Ports src/ports/ Trait definitions only; no implementations
Adapters src/adapters/ Implements port traits; may do I/O
CLI src/cli/ Entrypoint; resolves config; calls application layer
Shared src/shared/ Error types and utilities usable across all layers

Read the full file on GitHub · 77 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. 4d ago First seen · 77 lines · 0 tokens per session scan A b1ae75383985

Subscribe to this mod's changes

architect is an agent published in the GitHub repository Taketo-Yoda/uv-sbom (6 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 678 tokens. 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-04.

Related

Other agents, from other repositories

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

red-infra

Infrastructure & Tooling Specialist for /red-team. Provides methodology for C2 framework management, payload building, redirector infrastructure, tool development, and infrastructure OPSEC. Owns tool-level defense evasion (C2 obfuscation, payload encoding/packing, execution guardrails, sandbox evasion, redirector…

geekatron/jerry · 98 tokens

python-reviewer

Expert Python code reviewer specializing in PEP 8 compliance, Pythonic idioms, type hints, security, and performance. Use for all Python code changes. MUST BE USED for Python projects.

GGGODLIN/claude-pr-review · 43 tokens

pm-business-analyst

Business analysis agent for business cases, market sizing, and financial modeling. Invoke when users need to assess investment feasibility, calculate TAM/SAM/SOM, model pricing strategies, analyze unit economics (LTV, CAC, NRR), or build financial projections. Trigger keywords: business case, financial model, market…

geekatron/jerry · 107 tokens

python-code-reviewer

READ-ONLY Python code reviewer. Analyzes code quality, finds issues, runs tests. Returns structured list of issues for python-quick-fixer to fix. Cannot edit files - only reads and reports.

j2h4u/oh-my-claude-plugins · 47 tokens

python-pro

Senior Python engineer for refactors, async systems, CLI/API builds, and ML serving pipelines. Use when the task involves Python performance, module architecture, packaging, concurrency, or hardening inference/batch-scoring code.

sankalpsharmaa/claude-config-public · 47 tokens