/vivswan-skills:never-twicefrom Vivswan Skills
Use when you just corrected an agent or fixed the same failure class twice, or when a change removes a rule, guard, or check.
Ships in Vivswan Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Categorically eliminate the problem so the failure class cannot recur, through better architecture or a better choice of data structures. That beats fixing its instances one at a time.
Every failure that passes the floor below, most corrections of an agent among them, gets the most durable response reachable:
| Rung | Response | What the class can still do | Preference |
|---|---|---|---|
| 1 | better architecture or data structures | cannot recur | the goal |
| 2 | a lint rule or test in CI | recurs, but cannot land | acceptable |
| 3 | a skill or written rule | recurs, but the next agent knows | fallback |
| 4 | human vigilance | anything | avoid |
The ladder is not a menu, and preference decays exponentially down it. Rung 1 is the goal, and rung 2 a clearly weaker but acceptable gate. Rungs 3 and 4 are each another large step down, taken only when every higher rung is genuinely unreachable.
A rung-3 or rung-4 landing is a debt, not a resolution. When a higher rung becomes reachable, convert the rule or vigilance entry up the ladder.
The floor the ladder stands on: whether a failure earns a guard is a judgment weighed scenario by scenario, never a count and never a lookup. Four questions carry it: can the failure be reproduced, is the cause understood concretely, how often will normal operation produce the trigger, and what would the guard cost and where would it live?
A correction of an agent answers those questions by itself: the default behaviour is the concrete cause, and every prompt produces the trigger, so a single correction usually passes the floor. Likely means normal operation produces the trigger often. An outage (the forge down, a dependency's service down) is the canonical unlikely trigger.
Reproducible on demand is not reproducible at the desk. A condition whose cause is understood concretely, that arises only in CI or needs something that cannot be staged locally, and that keeps happening in real runs, answers the questions the same way: known cause, likely trigger.
Two constraints hold in every scenario. A fixture reproduces the failure as observed, so none is ever built without a reproduction, and no local fixture is fabricated to stand in for a condition that lives elsewhere; the guard lives where the condition lives. An unreproduced incident whose cause is unknown is recorded, never guarded.
The record (where it was seen, what was observed) goes in the PR body, report, or issue that holds the incident, never in a rule. "It happened twice" is evidence for the judgment, not a trigger on its own. When the judgment is unclear, ask the user; never build quietly, and never drop it silently.
Worked examples of the judgment, not an exhaustive list:
Test whatever ships:
If a new member of this class appears tomorrow, does the fix hold, or does it silently pass the same way?
Three answers:
An event enum keeps outgrowing the roster that dispatches on it:
// Fix 1 shipped Event.Deleted's missing entry. Fix 2 shipped
// Event.Archived's, plus a guard. Both read as complete:
handlers[Event.Archived] = onArchived;
assert(Object.keys(handlers).length === EVENT_COUNT); // fires at runtime, after the hole ships
// Rung 1: the roster is total, so the hole cannot be built:
const handlers: Record<Event, Handler> = {
[Event.Created]: onCreated,
[Event.Updated]: onUpdated,
[Event.Deleted]: onDeleted,
[Event.Archived]: onArchived,
};
// A new member fails compilation until the roster covers it.
Type-level mechanics (closed unions, branded types, typestate) live in the /no-invalid-states skill.
The same cleanup keeps getting committed by hand:
$ git log --oneline -- docs/
9e8f7a6 fix: replace curly quotes with ASCII
a1b2c3d fix: replace curly quotes with ASCII (again)
# Rung 2: a CI check, marked required in branch protection.
# Fail-closed: hits and grep errors both fail; only "no matches" passes.
- name: check-typography
run: |
status=0
grep -rnP '[\x{2018}-\x{201D}\x{2014}]' docs/ || status=$?
test "$status" -eq 1
The same correction keeps being given across sessions:
"Timestamps in logs are ISO 8601, not epoch." (Tuesday)
"ISO 8601 in logs, please." (Thursday, new session)
# Rung 3: the correction becomes a rule in a file every session loads.
$ tail -1 AGENTS.md
Log timestamps are ISO 8601 (2026-08-26T14:03:00Z), never epoch.
How to write the rule (where it lives, its trigger, its quality bar) is the /craft-skills-and-memories skill's job. This rung decides THAT a loaded rule is the response, then hands off there.
The ladder erects guards, and this rule governs removing them. Never remove a rule, guard, or check without being able to state why it was erected. Every such deletion in a change maps to one of two outcomes, or nothing lands:
Worked example: a doc rewrite deleted 90 long-standing rule lines. Auditing each line into successor / rewording / named cut found exactly one unmapped real loss, restored before landing.
The audit is the mechanism. This rule makes it the default for every deletion, not a salvage step after someone notices.
The pairing is the point: aggressive rewrites stay allowed BECAUSE deletions are audited. The audit is what makes bold deletion safe, not a brake on it.
Skills that run code reviews (such as /rubber-duck-review) expand this section into their reviewer prompt when this skill is installed. Ask the reviewer to flag:
Triage the resulting findings with the workflow above.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub vivswan/skills --plugin vivswan-skills19 skills in this plugin
/claude-remote-peersUse when this Claude Code session must message, ping, or coordinate with a Claude Code session running on another machine, or when a peer the user names is on a different host and ListAgents does not show it./code-standardsUse when writing code changes, sweeping or shortening comments (including file-size or comment-cap findings), or asked to apply the code standards./codex-browser-fixUse when Codex on macOS must drive the user's Chromium browser (Brave, Vivaldi, Opera, Edge, Chrome) through the bundled Chrome plugin, or that plugin fails with "Codex auth token is unavailable", a missing extension connection, or a stale plugin cache after a desktop app update. Codex only.