/vivswan-skills:craft-skills-and-memoriesfrom Vivswan Skills
Use when creating a skill or memory, when one fails in practice, or when the user reports one misbehaving or stale.
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.
One skill for both ends of the lifecycle of an agent's instruction sources: creating skills and memories worth keeping, and repairing them when they fail in practice.
A broken skill or a stale memory is a bug. Working around it and moving on re-breaks the next session.
Scope:
Creating:
/never-twice's job, and its rung 3 hands off here)Fixing:
/working-text skill; the frontmatter description stays a trigger under this skill./natural-writing bullet below states when that skill applies to prose./never-twice skill (Deleting a Guard). A compatibility contract the hosting repo declares (such as published install paths) still binds folder moves there./natural-writing skill if it is present and invocable. If your harness lets only the user invoke it, suggest they run /natural-writing rather than silently skipping the step.disable-model-invocation: true in the frontmatter, and policy.allow_implicit_invocation: false in agents/openai.yaml for Codex.Backend outages, sandbox restrictions, and local tool configuration are not skill defects. Only a failure whose root cause is the instructions themselves qualifies.
Work around the broken step to complete what the user actually asked for. The fix comes after, not instead.
SKILL.md, references/, scripts/).Rewrite the affected step so it is correct as written and meets the quality bar. Keep copy-paste blocks runnable.
A one-off warning bolted to the end leaves the broken instructions in place. A rewrite that deletes rules follows the deletion audit in the /never-twice skill (Deleting a Guard).
Code first for mechanical failures. Where each kind of fix lands:
Why code first: a trap folded into a tested script cannot re-fire. A trap folded into prose regrows the catalog: each incident adds a warning paragraph, the file swells, and a future session hand-rolls the broken step anyway.
Worked case: a monitoring skill accumulated shell-probe trap prose (word-splitting, self-matching greps, a missing timeout binary) until the probes moved into tested scripts and the prose shrank to the judgment layer.
A skill or memory edit is a change like any other: run whatever checks and review process govern the place it lives. Where none exist (e.g. a plain installed copy), at least re-run the failing scenario to confirm the rewritten instructions work.
A creation. The user corrects the agent twice for hard-wrapping commit messages at 72 columns.
commit-message-rules, with the correction as the specimen and the why (and update the index, if the memory system has one).A skill defect. While following a review skill, claude -p --output-format stream-json exits with an error and an empty output file.
claude --help shows --output-format stream-json requires --verbose. The root cause is the skill's documented command.--verbose added.SKILL.md to include --verbose.A stale memory. A recalled project memory says deploys go through make release, but the Makefile renamed the target to make publish months ago.
make publish, keeping the rename as the concrete example.Not a defect. The same command fails once with a backend overload error and succeeds on retry. That is transient. Finish the task and leave the skill alone.
Fit is judged per invocation. When an invoked skill's guidance does not fit the task at hand, skip it (wholly or a specific rule) and tell the user why at the point of the decision.
Tell the user what you created or what failed, the root cause, and what changed in the skill or memory, separately from the outcome of their original task.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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./natural-writingUse when asked to humanize text, remove AI tells, check whether text reads as AI-generated, or draft prose that must not sound AI-written./never-twiceUse when you just corrected an agent or fixed the same failure class twice, or when a change removes a rule, guard, or check./no-invalid-statesUse when code or a design guards invariants with repeated runtime checks, lifecycle flags, or the same guard at every consumer, or when asked to make invalid states unrepresentable or parse-don't-validate.