Atlas / Skills / pr1m4lc0d3 / KiSYSTEM

KiSYSTEMSAFE

skills/pr1m4lc0d3/kisystem

KiSYSTEM - measure twice, cut once. A Claude Code skill bundle that keeps AI-written code clean, modular, and human-readable, enforced from the base of a project.

Verdict
SAFE
Grade
B
Trust score
89 /100
Version
—
Hosts
1 documented
License
NOASSERTION
Stars
0
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Keep It Simple, You Stupid Trained Electronic Monkey

AI writes code fast — and often like a clever monkey: a 600-line file no human can read, three copies of the same function because it never checked, and a "small refactor" that quietly broke four things you weren't looking at. KiSYSTEM is the discipline that makes the monkey measure twice and cut once. Complexity is brittle. Simple survives.

It's not a linter you bolt on at the end. You turn it on at the base of a project, and it keeps the code clean as it's written — because the cheapest place to prevent bloat and breakage is the wellspring, before either exists.

It targets the two loudest complaints about AI-written code:

  • "I can't read what the AI wrote." → self-documenting, labeled, modular sections; a one-line

synopsis on every function; comments that explain why. A human stays in the loop.

  • "The AI broke code that was working." → blast-radius containment: a change stays inside its

boundary, and the neighbors are checked before it's called done.

The failure the monkey can't see (and why kiss-coherence exists)

The README above says the monkey writes "three copies of the same function because it never checked." That was optimistic.

Retrofitting KiSYSTEM onto a real 127,000-line AI-built application, we found eight implementations of a single concept — "which items are installed?" — reading four different stores. Not one of them shared a name. They were called LoadSpecialists, Enumerate, ExecuteToolList, BuildRosterContent... so every "does a twin already exist?" check passed cleanly while the eighth duplicate was written.

They had drifted. And the drift was not cosmetic — it was already shipping as bugs:

  • an AI that could not see its own data, denied it existed, and proposed creating **duplica
Read from source at commit e75b9915a61eOBSERVED · 2026-10-12
02

Host compatibility

What the documentation claims. We have not run a compatibility test.

HostStatusNotes
claude-codementioned
03

What it tells the agent

The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.

---
name: kiss-blast-radius
description: Use before editing, refactoring, moving, or deleting existing code — to keep the change contained to its bounded unit and prevent collateral damage to surrounding services and functions. Use whenever a change touches a file other code depends on, or whenever a refactor could ripple beyond the thing you were asked to change.
---

# KISS — Blast Radius

The most-voiced fear about AI coding: it "helpfully" rewrites the code around your change and breaks
things that worked. This skill answers it. **A change must stay inside its boundary; the surrounding
services and functions are off-limits unless the task explicitly includes them.**

## Before the cut — contain it

1. **Identify the bounded unit** you are allowed to touch — the labeled section / function / module
   the task is about. Use `kiss-map` (`.kiss/inert.md`) to see exactly what that unit is and what
   references it.
2. **Map the radius.** What depends on this unit? A change to a shared interface has a large radius;
   a change inside one section's body has a small one. Prefer the smallest-radius change that
   solves the problem.
3. **Draw the line.** Everything outside the unit is off-limits. You are not refactoring the
   neighbors, renaming their variables, or "improving" them — even if they look improvable.

## The cut — once, surgically

- Every changed line traces to the request (see `kiss-clean-edits`). If you can't trace it, don't
  cut it.
- Prefer extracting a section's body over rewriting in place (the labeled boundary from
  `kiss-readable` is your firewall — keep the cut on one side of it).
- Make the change **once**, deliberately. Thrashing — edit, undo, re-edit across files — widens the
  radius and is how surrounding code gets damaged.

## After the cut — verify non-interference

A change isn't done because it's written; it's done when you've shown it didn't break the neighbors:

- **Scope the diff** — every changed file/line should be inside the intended unit. A surprise file
  in the diff is a blast-radius leak; investigate it.
- **Build / run the affected tests** — confirm the neighbors still pass, not just your unit.
- **Re-check the map** — symbols you didn't intend to touch should be unchanged.

State the evidence, don't assert success. "Diff is confined to `payments/`, build is green, the
auth tests still pass" — not "should be fine."

## Replacing a condition — the silent-deletion trap

Containment is not enough. You can stay perfectly inside your bounded unit, change exactly what you
were asked to, pass every test — **and still delete a rule.**

Because a condition often does **two jobs**: the one it says, and one nobody wrote down.

| The "ugly" line | What it *says* | What it was **also** doing |
|---|---|---|
| `ctrl is TemplateBase ? Roster.IsEnabled(id) : Settings.IsEnabled(id)` | pick the right store | **hiding licence-locked agents** — Roster didn't know them, so it returned `false` |
| the same line, elsewhere | pick the right store | **hiding the orchestrator** from the agent roster — same accident |

Both were replaced with a *correct*, cleaner, identity-based accessor. Both hidden rules evaporated:
unlicensed agents joined a paid council; the orchestrator appeared in the agent list, un-removable.
**Neither was caught by 700+ passing tests** — because the rule was never *tested*; it was never even
*intended*. It was a side-effect that load-bore.

> **Before you replace a condition, ask what it is *incidentally preventing*.**
> Not what it says — **what it stops from happening.** Then re-implement that rule **explicitly**, or you
> have just deleted it.

**How to actually check (tests will not tell you):**

1. **Enumerate what flows through it.** For each *kind* of input, what did the old branch answer, and what
   does the new one answer? Any input whose answer **flips** is a rule you are changing — name it out loud.
2. **Hunt the fail-open default.** Where does the *new* path send an input it doesn't recognise? If that
   fallback answers "yes" for unknowns (`unknown ⇒ allowed`), then **every routing mistake becomes a grant** —
   security, licensing, visibility. This is how both incidents above became *grants* rather than denials.
3. **A green suite is not evidence here.** The rule was accidental, so no test asserts it. Reason about the
   inputs, or verify at runtime.

**Corollary — a permissive default may be load-bearing.** If `unknown ⇒ true` is what makes new records
appear at all, **do not "fix" it to fail closed.** Fix the routing that wrongly reached it, and mark the
default as deliberate (see `kiss-coherence` → *Record the negative finding*).

## Deleting an entity — the residue trap

The trap above is a change that reaches **too far**. This one is a deletion that does not reach **far
enough** — and it is the more common of the two.

> **Deleting an entity's code is not deleting the entity.**

An entity — an agent, a plugin, a user, a product, a feature flag — has a **footprint** far wider than its
class. Delete the class and the rest silently persists:

| Residue | Where it hides |
|---|---|
| **asset files** | avatars, icons, seed content, sample data |
| **config rows** | a `true` in a settings JSON for an id that no longer exists |
| **data folders** | per-entity vaults, caches, workspaces, session stores |
| **build artifacts** | `bin/`, `dist/` — a *non-clean* build never removes what source deleted |
| **packaging globs** | `<Content Include="Assets\**\*" />` will happily **ship a corpse** |

**A real case:** two retired entities were cleanly removed from the source tree — no code, nothing in git,
a green build. They still **shipped**: 4.2 MB of avatars, two per-entity vaults, four bootstrapper folders,
and two stale `true` rows in the settings file that made the app *behave as if they were still enabled*. A
wildcard packaging glob swept them straight into the release.

**Nothing was wrong. Nothing threw. The dead-code sweep reported cle
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
pinned
Secrets in source
none-found

Findings (1)

LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
examples/kanban/kanban/web.py:136
f"Kanban board UI: http://127.0.0.1:{port}"

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha e75b9915a61efull audit observations/trust-audit/skill/pr1m4lc0d3__kisystem.json · Report an issue / request a re-scan
05

Audit history

Every audit this skill has had.

DateSourceVerdictGradeScoreChange
2026-10-12e75b9915a61eSAFEB89first audit
06

Questions

What does the KiSYSTEM skill do?

KiSYSTEM - measure twice, cut once. A Claude Code skill bundle that keeps AI-written code clean, modular, and human-readable, enforced from the base of a project.

Is KiSYSTEM safe to install?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.

What can KiSYSTEM access on my machine?

The audit observed no filesystem, network or shell use at all in its source.

Which assistants does KiSYSTEM work with?

Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.

How current is this page?

The grade is for one exact copy of the source (e75b9915a61e), read on 2026-10-12. The repository is watched, and a new audit runs when it changes — this is the first audit.

Advertisement