build-maintainable-software

build-maintainable-software is a skill for Claude Code, Codex from theam/limina. It costs 58 tokens per session (1,184 once invoked), scanned A, original, Apache-2.0.

A set of software-development practices for making code readable, modular, testable, and safe to change. It applies to building features, refactoring, system design, APIs, and code reviews.

In plain words
What is it for?
It is for implementing features, simplifying or refactoring code, designing modules and APIs, choosing tests, and reviewing maintainability.
Why use it?
It helps reduce fragile code, unclear boundaries, and changes that accidentally break existing behaviour.

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/theam/limina/build-maintainable-software
Any agent
npx skills add theam/limina --skill build-maintainable-software
Clone the repo
git clone --depth 1 https://github.com/theam/limina

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 build-maintainable-software

README.md
[![agentmods](https://agentmods.dev/badge/skills/theam/limina/build-maintainable-software.svg)](https://agentmods.dev/skills/theam/limina/build-maintainable-software)
Your own site
<a href="https://agentmods.dev/skills/theam/limina/build-maintainable-software"><img src="https://agentmods.dev/badge/skills/theam/limina/build-maintainable-software.svg" alt="Measured on agentmods" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,184 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00058 $0.01184
Opus 5 $0.00029 $0.00592
Sonnet 5 $0.00012 $0.00237
Haiku 4.5 $0.00006 $0.00118

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

Security

Grade A, and why

build-maintainable-software 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.

skills/build-maintainable-software/SKILL.md · 84 lines

How it starts

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

Build Maintainable Software

Overview

Build code that is easy to read, easy to change, and hard to misuse. Favor clear intent, cohesive modules, explicit boundaries, predictable control flow, and tests that protect behavior without overcoupling to implementation.

Load the smallest set of references that fits the task. Do not load every reference by default.

When to use it

Use this skill when the work is mainly about:

  • implementing or refactoring production code
  • reviewing code for correctness, maintainability, or safe changeability
  • designing module boundaries, APIs, naming, ownership, or test strategy
  • simplifying an over-abstracted or fragile implementation

Do not use it when the main problem is:

  • external landscape search or state-of-the-art mapping
  • experiment design, baseline selection, or interpreting research evidence
  • a request for broad rewrites driven mostly by style preference rather than concrete change value

Workflow

  1. Clarify the behavior change, not just the code change. Identify the user-facing outcome, constraints, invariants, and affected boundaries.
  2. Start with the simplest design that makes the intent obvious. Avoid speculative abstractions, indirection, configuration, and generalization.
  3. Decide boundaries before coding: ownership of state, direction of dependencies, public API surface, and locations of side effects.
  4. Make names reveal intent. Prefer domain terms, stable concepts, and small interfaces over generic utilities and overloaded helpers.
  5. Keep execution flow unsurprising. Flatten nesting, reduce control flags, isolate branching, and make data transformations explicit.
  6. Keep business rules close together and push framework, I/O, time, randomness, and network code to the edges when practical.
  7. Add or update tests at the right level for the change: unit tests for decision logic, integration tests for boundaries and wiring, end-to-end tests only for critical flows.
  8. Before finishing, run the final pass in references/review-checklist.md.

Read the full file on GitHub · 84 lines

Files

What ships with it

4 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 · 84 lines · 58 tokens per session scan A f22da69d34ea

Subscribe to this mod's changes

build-maintainable-software is a skill published in the GitHub repository theam/limina (39 stars, last pushed 28d ago), licensed Apache-2.0. It adds 58 tokens to every session and 1,184 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.