improve-codebase-architecture

improve-codebase-architecture is a skill for Claude Code, Codex from rengwu/iudex. It costs 69 tokens per session (3,841 once invoked), scanned A, original, no licence file.

A codebase review focused on how the software is divided into modules and how those modules depend on one another, using the project's documented concepts and decisions.

In plain words
What is it for?
Use it to find refactoring opportunities, combine closely related modules, improve testability, and make the codebase easier to navigate.
Why use it?
It helps reveal places where code is too tightly connected, difficult to test, or hard for both people and coding agents to understand.

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/rengwu/iudex/improve-codebase-architecture
Any agent
npx skills add rengwu/iudex --skill improve-codebase-architecture
Clone the repo
git clone --depth 1 https://github.com/rengwu/iudex

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/rengwu/iudex/improve-codebase-architecture.svg)](https://agentmods.dev/skills/rengwu/iudex/improve-codebase-architecture)
Your own site
<a href="https://agentmods.dev/skills/rengwu/iudex/improve-codebase-architecture"><img src="https://agentmods.dev/badge/skills/rengwu/iudex/improve-codebase-architecture.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,841 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.00069 $0.03841
Opus 5 $0.00034 $0.01920
Sonnet 5 $0.00014 $0.00768
Haiku 4.5 $0.00007 $0.00384

Measured 5d ago against content hash 1755a89c5bb8, 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.

templates/dot_iudex/skills/improve-codebase-architecture/SKILL.md · 188 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. 5d ago First seen · 188 lines · 69 tokens per session scan A 1755a89c5bb8

Subscribe to this mod's changes

improve-codebase-architecture is a skill published in the GitHub repository rengwu/iudex (15 stars, last pushed 1mo ago), with no licence file. It adds 69 tokens to every session and 3,841 once invoked, about $0.0003 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

seeds-issue-audit

Audit and triage open Seeds (sd) issues — find which can be closed, auto-close high-confidence completed ones, and report borderline cases. Activate for prompts like "audit open issues", "which seeds issues can be closed", "clean up the issue tracker", "triage the seeds backlog".

jayminwest/warren · 67 tokens

good-first-issue-batch

File a batch of contributor-ready GitHub issues from the seeds backlog, re-verifying every candidate against HEAD first so no dead issue reaches a contributor. Activate for prompts like "file some good first issues", "open a batch of GFIs", "publish backlog issues to GitHub", "find contributor-ready work", or after an…

jayminwest/warren · 80 tokens

os-eco-dep-sync

Bump warren onto the latest published @os-eco/ versions across package.json + bun.lock and the Dockerfile CLI pins, then run the gates and open a PR. Use when checking if warren is on the newest burrow/plot/canopy/seeds/mulch/sapling.

jayminwest/warren · 69 tokens

release

Prepare, cut, and verify a warren release — tracker audits, version bump, CHANGELOG curation, ROADMAP update, push, then watch the pipeline through to published artifacts.

jayminwest/warren · 39 tokens

create-coordclaw-team

A Skill for creating a CoordClaw multi-agent collaborative team. Through an 8-step standardized process, from requirement gathering to team validation, rapidly build a complete AI team.

CoordClaw/CoordClaw · 42 tokens

write-file

Replaces OpenClaw built-in write tool for all plain text writing, providing.

CoordClaw/CoordClaw · 618 tokens