Keeps skills current while you work. As soon as a session turns up a durable rule, a tool limitation, a workaround, or an error in what a skill already says, the owning skill is edited in the same session and handed back as an updated file. Use when a tool behaved differently from what a skill describes, when the cause of a repeat error is found, when a new rule for a sheet, report or message emerges, when the user makes a decision with lasting effect, when a skill item turns out wrong or sta...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Skill Upkeep?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/regerolga-skill-upkeep)
---
name: skill-upkeep
description: Keeps skills current while you work. As soon as a session turns up a durable rule, a tool limitation, a workaround, or an error in what a skill already says, the owning skill is edited in the same session and handed back as an updated file. Use when a tool behaved differently from what a skill describes, when the cause of a repeat error is found, when a new rule for a sheet, report or message emerges, when the user makes a decision with lasting effect, when a skill item turns out wrong or stale, or when the user says "add this to the skill", "remember this rule", "update the skill", "so this doesn't happen again". Not for one-off facts and statuses; those go to memory and working sheets.
---
# Skill upkeep
Skills are not documentation written once. They are the sediment of mistakes already made. A
rule gets into a skill when something went wrong, or when you learned something the skill
didn't have. The gap between "we figured it out" and "we wrote it down" is where knowledge
gets lost: the next session starts from zero and repeats the same mistake.
## 1. What counts as a reason to edit
Edit a skill when at least one of these is true:
- **A tool behaved differently from the description.** A module isn't supported, a URL won't
open without a direct link, an API returns a different field, a page serves a cached copy.
Write down both the symptom and the workaround.
- **The cause of a repeat error was found.** Not the fact of the error, the mechanism: why
emails went out without a recipient, why a column is empty, why a report doesn't reconcile.
- **A working rule emerged** for a sheet, a message thread, a report, a campaign. Especially
if it came out of the user asking "why is this empty?".
- **The user made a decision with lasting effect:** pausing a direction, dropping a channel,
a priority change, a new threshold. Anything still in force a week from now.
- **A skill item is wrong or stale.** A requirement that was dropped, a list that was cut
short, a formula that stopped working. A stale item is worse than a missing one, because
people act on it.
Don't edit a skill for:
- one-off facts, statuses, dates, the content of specific emails (memory and working sheets);
- your own reasoning and hypotheses that the user hasn't confirmed;
- restating something already written, in other words.
## 2. Where it goes
One subject, one skill. Pick the owner by subject, not by which skill happens to be open. A
rule about a reporting sheet goes into the reporting skill, a rule about an automation
platform goes into that platform's skill.
If no owner exists, **don't stuff the rule into the nearest similar skill.** Say there is no
fitting skill and propose a new one: name, one-line description, three or four content points.
Create it only after the user agrees.
For the mechanics of writing and packaging skills, see `skill-creator`.
## 3. How to phrase a rule
Bad: "remember to check the dates."
Good: "After processing the inbox, go through rows with a 'sent' status and an empty date
column. When the application went through a portal there is no email in Sent; take the date
from the portal confirmation."
Every rule has three parts:
1. **The action.** Something checkable, not a good intention.
2. **The reason.** Why it breaks otherwise. A rule without a reason is the first to be cut in
the next cleanup.
3. **The case.** A short pointer to the real episode ("this happened on row 10, end of July").
One example makes the rule recognisable.
Write in the language of the skill you are editing. Business register, no slang.
## 4. Mechanics
In many environments skills are mounted read-only, so they can't be edited in place:
1. Copy the skill's base directory into a writable workspace. The base directory is shown
when the skill loads ("Base directory for this skill: ...").
2. Make a targeted edit. Don't rewrite the whole file.
3. Check: print the changed sections and make sure nothing next to them was touched.
4. Package: `zip -r <name>.skill <name>` (the folder inside the archive, SKILL.md inside it),
plus a standalone SKILL.md for reading.
5. Hand both files back with the environment's file delivery tool.
**Skill sync can be partial, and it looks like "the skill disappeared".** The skill snapshot
is taken once at session start, and the manifest can be shorter than the real list in the
account, so a load returns `download failed`. A retry in the same session usually fixes it;
a new chat is not needed. Case: three skills failed to load in a row and loaded fine on a
retry a few minutes later. Before saying "the skill is unavailable", try again, and don't
present a guess about the cause as the mechanism.
**The rule takes effect in the current session immediately.** Apply it to the rest of the
work without waiting for installation. The user only gets it after uploading the new .skill
file. Say so explicitly, otherwise it looks as if everything is already saved.
If edits to several skills pile up in one session, hand them over as one batch at the end,
not one file at a time.
## 5. Size and hygiene
Skills grow faster than they get read. On every edit:
- **Rewrite the existing item instead of adding a second one next to it.** Two similar rules
contradict each other sooner than you'd expect.
- **Delete what was cancelled.** A dropped requirement is removed, not marked "no longer
needed", otherwise the list grows forever.
- **Keep status and open-task sections short.** "What's in progress" in a skill is three to
five top-level points; details live in memory and sheets. If the section has grown to a
screen and a half, half of it is stale.
- Rough size target: up to ~15 KB per skill. Beyond that, split part of it into its own skill.
## 6. What needs confirmation
Edit right away, no questions: factual errors, tool limitations, workarounds, new checks,
stale items.
Ask first:
- deleting an existing rule that wasn't explicitly cancelled and just looks redundant;
- changing the user's decisions and preferences;
- creating a new skill;
- editing a skill whose subject the current task doesn't touch.
Never copy credentials, passwords, tokens or third parties' personal data into a skill beyond
what the work already requires.
## 7. Report
After the edit, one short note: what was added, to which skill, and which case it came from.
Don't retell the whole file or quote the rules in full. If the rule changes something already
done (a status in a sheet, for example), say that too.
## 8. Checklist
- [ ] Is this a rule, not a one-off fact?
- [ ] Owner chosen by subject, not by the open file?
- [ ] Action, reason and case are all there?
- [ ] Checked for a similar existing item, and if there is one, rewritten instead of duplicated?
- [ ] Cancelled items deleted?
- [ ] File packaged and handed back, with a note that it needs installing?
- [ ] Rule applied to the rest of the current session?