improve-codebase-architecture

improve-codebase-architecture is a skill for Claude Code, Codex from IAPro-Community/Orquestrador-Maestro. It costs 93 tokens per session (4,350 once invoked), scanned A, original, Apache-2.0.

A skill for assessing an existing codebase's architecture, documenting verified sources of friction, and proposing gradual refactoring. Architecture is the way a codebase is divided and connected.

In plain words
What is it for?
It is for architecture reviews, reducing coupling, making modules easier to test, supporting sustainable growth, and planning incremental refactors.
Why use it?
It helps identify coupling and testing problems before suggesting changes, while also requiring an HTML report for the findings.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for architecture reviews, reducing coupling, making modules easier to test, supporting sustainable growth, and planning incremental refactors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/iapro-community/orquestrador-maestro/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 IAPro-Community/Orquestrador-Maestro --skill improve-codebase-architecture
Clone the repo
git clone --depth 1 https://github.com/IAPro-Community/Orquestrador-Maestro

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/iapro-community/orquestrador-maestro/improve-codebase-architecture/github.svg)](https://agentmods.dev/skills/iapro-community/orquestrador-maestro/improve-codebase-architecture)
Your own site
<a href="https://agentmods.dev/skills/iapro-community/orquestrador-maestro/improve-codebase-architecture"><img src="https://agentmods.dev/badge/skills/iapro-community/orquestrador-maestro/improve-codebase-architecture/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 improve-codebase-architecture

Your own site · 80×15
<a href="https://agentmods.dev/skills/iapro-community/orquestrador-maestro/improve-codebase-architecture"><img src="https://agentmods.dev/badge/skills/iapro-community/orquestrador-maestro/improve-codebase-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,350 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.00093 $0.04350
Opus 5 $0.00046 $0.02175
Sonnet 5 $0.00019 $0.00870
Haiku 4.5 $0.00009 $0.00435

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

orquestrador/skill-library/community-skills/improve-codebase-architecture/SKILL.md · 299 lines

How it starts

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

Melhorar a arquitetura do codigo

Encontrar oportunidades reais de tornar o sistema compreensivel, coeso, testavel e facil de evoluir. Nao confundir mais camadas, arquivos ou padroes com melhor arquitetura.

Principios

  • Ler CONTEXT.md, ADRs e documentos do dominio antes de opinar. Declarar quando eles nao existirem.
  • Seguir o fluxo real: interface ou entrada, caso de uso, dominio, persistencia e integracoes.
  • Separar fatos, inferencias e hipoteses. Nao apresentar hiptese como diagnostico.
  • Avaliar produto e negocio junto com engenharia: risco operacional, velocidade de entrega, entendimento do time e custo de mudanca futura.
  • Explicitar os trade-offs de cada recomendacao: beneficio, custo de implementacao, custo de adiamento, risco de regressao e o que se deixa de priorizar ao executa-la.
  • Oferecer insights acionaveis, nao apenas diagnosticos: apontar a decisao que o time precisa tomar, o sinal que confirma ou invalida a proposta e a menor experiencia reversivel para reduzir a incerteza.
  • Nao criar abstracoes apenas para dividir arquivos ou mover ifs. Uma extracao precisa dar dono claro a uma regra e esconder detalhes dos chamadores.

Procurar evidencia de

  • Regras de dominio repetidas ou vazando entre tela, controlador, caso de uso, repositorio e chamadores.
  • Servicos de aplicacao que deixaram de orquestrar e passaram a concentrar regras, mapeamentos e decisoes de varios conceitos.
  • Modulos rasos, acoplamento excessivo ou testes presos a detalhes internos.
  • Mudancas simples que exigem alteracoes em muitos pontos sem razao de dominio.
  • Contratos, permissoes, mensagens ou validacoes divergentes entre fronteiras.

Usar SOLID como lente, nao como lista de padroes. Servicos de aplicacao coordenam dependencias, transacoes e efeitos externos; invariantes e decisoes de negocio pertencem ao conceito que as sustenta.

Processo

  1. Delimitar o fluxo e o resultado de negocio analisados.
  2. Mapear responsabilidades, chamadores e dependencias relevantes. Registrar somente arquivos e modulos com relacao causal com a friccao.
  3. Validar a leitura com testes, buscas por chamadas, contratos ou comportamento observavel quando possivel.
  4. Para cada candidato, explicar friccao, dono ausente, mudanca minima, ganho verificavel, risco, custo, trade-offs e motivo para fazer agora ou adiar.
  5. Distinguir a visao de arquitetura da visao de produto. A primeira explica responsabilidades, dependencias, contratos, testes e evolucao tecnica. A segunda explica usuario ou operacao afetados, resultado de negocio, tempo de entrega, risco operacional e custo de oportunidade. Nao repetir a mesma frase nas duas secoes.

Read the full file on GitHub · 299 lines

Files

What ships with it

3 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 · 299 lines · 93 tokens per session scan A 0ecc184f2116

Subscribe to this mod's changes

improve-codebase-architecture is a skill published in the GitHub repository IAPro-Community/Orquestrador-Maestro (41 stars, last pushed today), licensed Apache-2.0. It adds 93 tokens to every session and 4,350 once invoked, about $0.0005 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-09-03.