improve-codebase-architecture

improve-codebase-architecture is a skill for Claude Code, Codex from kimtth/agent-skill-100-lines-or-less. It costs 22 tokens per session (243 once invoked), scanned A, original, no licence file.

A guide for suggesting structural improvements to a codebase without replacing the whole system.

In plain words
What is it for?
Use it to improve the architecture—the way a codebase is organized and its parts work together—of an existing project.
Why use it?
It helps address design and organization problems while keeping the existing implementation largely intact.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to improve the architecture—the way a codebase is organized and its parts work together—of an existing project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kimtth/agent-skill-100-lines-or-less/improve-codebase-architecture
Install

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.

Any agent
npx skills add kimtth/agent-skill-100-lines-or-less --skill improve-codebase-architecture
Clone the repo
git clone --depth 1 https://github.com/kimtth/agent-skill-100-lines-or-less

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 improve-codebase-architecture

README.md
[![agentmods](https://agentmods.dev/badge/skills/kimtth/agent-skill-100-lines-or-less/improve-codebase-architecture.svg)](https://agentmods.dev/skills/kimtth/agent-skill-100-lines-or-less/improve-codebase-architecture)
Your own site
<a href="https://agentmods.dev/skills/kimtth/agent-skill-100-lines-or-less/improve-codebase-architecture"><img src="https://agentmods.dev/badge/skills/kimtth/agent-skill-100-lines-or-less/improve-codebase-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 243 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 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.00022 $0.00243
Opus 5 $0.00011 $0.00121
Sonnet 5 $0.00004 $0.00049
Haiku 4.5 $0.00002 $0.00024

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

Security

Grade A, and why

improve-codebase-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 8d 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.

skills/improve-codebase-architecture/SKILL.md · 32 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

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. 8d ago First seen · 32 lines · 22 tokens per session scan A 60867bde3e7d

Subscribe to this mod's changes

improve-codebase-architecture is a skill published in the GitHub repository kimtth/agent-skill-100-lines-or-less (2 stars, last pushed 2mo ago), with no licence file. It adds 22 tokens to every session and 243 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

spec-kitty-charter-doctrine

Run charter interview, generation, context, and sync workflows for project governance in Spec Kitty 3.x. Access doctrine artifacts programmatically via DoctrineService. Resolve agent profiles. Load action-scoped governance context iteratively, not all at once. Triggers: "interview for charter", "generate charter"…

Priivacy-ai/spec-kitty · 135 tokens

spec-kitty-spdd-reasons

Drive REASONS Canvas authoring and review for Spec Kitty missions that opted in to Structured-Prompt-Driven Development (SPDD) via charter selection. Triggers: "use SPDD", "use REASONS", "generate a REASONS canvas", "apply structured prompt driven development", "make this mission SPDD". Does NOT handle: enforcing SPDD…

Priivacy-ai/spec-kitty · 118 tokens

spk-mission-types

Explain Spec Kitty mission types, step contracts, action indices, and when to choose each mission workflow.

Priivacy-ai/spec-kitty · 26 tokens

110-java-maven-best-practices

Use when you need to review, improve, or troubleshoot a Maven pom.xml file — including dependency management with BOMs, plugin configuration, version centralization, multi-module project structure, build profiles, or any situation where you want to align your Maven setup with industry best practices. This should…

jabrena/plinth · 115 tokens

128-java-generics

Use when you need to review, improve, or refactor Java code for generics quality — including avoiding raw types, applying the PECS (Producer Extends Consumer Super) principle for wildcards, using bounded type parameters, designing effective generic methods, leveraging the diamond operator, understanding type erasure…

jabrena/plinth · 147 tokens