improve-codebase-architecture

improve-codebase-architecture is a skill for Claude Code, Codex from runkids/my-skills. It costs 32 tokens per session (1,342 once invoked), scanned A, original, no licence file.

A tool that scans a codebase for ways its structure could be improved, creates a visual HTML report, and examines the improvement you choose.

In plain words
What is it for?
Use it to review a repository's architecture, choose a structural improvement, and work through that improvement.
Why use it?
It helps reveal architectural problems that may be difficult to spot during ordinary feature work.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/runkids/my-skills/improve-codebase-architecture
Any agent
npx skills add runkids/my-skills --skill improve-codebase-architecture
Clone the repo
git clone --depth 1 https://github.com/runkids/my-skills

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/runkids/my-skills/improve-codebase-architecture.svg)](https://agentmods.dev/skills/runkids/my-skills/improve-codebase-architecture)
Your own site
<a href="https://agentmods.dev/skills/runkids/my-skills/improve-codebase-architecture"><img src="https://agentmods.dev/badge/skills/runkids/my-skills/improve-codebase-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,342 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00032 $0.01342
Opus 5 $0.00016 $0.00671
Sonnet 5 $0.00006 $0.00268
Haiku 4.5 $0.00003 $0.00134

Measured 5d ago against content hash 4b4cb798c386, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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.

mattpocock/improve-codebase-architecture/SKILL.md · 72 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

Files

What ships with it

2 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.

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. 5d ago First seen · 72 lines · 32 tokens per session scan A 4b4cb798c386

Subscribe to this mod's changes

improve-codebase-architecture is a skill published in the GitHub repository runkids/my-skills (12 stars, last pushed 1mo ago), with no licence file. It adds 32 tokens to every session and 1,342 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

form-analyzer

Form field-level analysis — abandonment by field, validation errors, time-to-complete, and which fields cause users to leave. Use when investigating form performance, signup drop-off, or checkout form friction.

reatlat/fullstory-claude-plugin · 44 tokens

funnel-doctor

Conversion funnel analysis — find where users drop off, quantify the loss, and diagnose why. Use when asking about conversion rates, funnel abandonment, checkout completion, signup flow performance, or "where are we losing users.".

reatlat/fullstory-claude-plugin · 48 tokens

lifecycle-analyzer

Analyze the user lifecycle — new, active, at-risk, and churned users. Use when understanding user progression, identifying at-risk users, or measuring lifecycle conversion rates.

reatlat/fullstory-claude-plugin · 39 tokens

persona-builder

Build behavioral user personas from session data — identify distinct user types by their actual behavior, not demographics. Use when the team needs data-driven personas, wants to understand who their users really are, or needs to align product decisions to real user behavior.

reatlat/fullstory-claude-plugin · 52 tokens

privacy-auditor

Audit Fullstory session capture for PII leaks, verify privacy rules, and check recording block rules. Use when the user is concerned about privacy compliance, wants to verify masking rules, or needs to find sessions that may contain sensitive data.

reatlat/fullstory-claude-plugin · 52 tokens

scroll-depth-analyzer

Analyze how far users scroll on key pages — content visibility, where users stop reading, and whether important content is being seen. Use when evaluating page layout, content effectiveness, or CTA placement.

reatlat/fullstory-claude-plugin · 43 tokens