/skill-genie:skill-or-notfrom skill-genie
Decide whether a task should become a reusable skill before doing it as a one-off. Runs the five-step checklist (repeatable? automatable? already in our library? already written by someone else? otherwise create it) and acts on the verdict. Use when the user says "should this be a skill", "is this a skill candidate", "run the skill checklist", "to skill or not to skill", "I think this is replicable", or "we need a skill for this, and also do X" (which also sets the order of skill and task).
Ships in skill-genie. 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.
None: SKILL.md is the whole skill.
Run the checklist below against the task in front of you, which is either the one the user just described or the one they point at. Work through the steps in order and stop at the first exit. Record the evidence for each answer, not just yes or no.
Look at two things:
Lean towards yes. If the answer is clearly no, exit: do the task.
Can available tools do the task, in whole or in part? That includes MCP servers, APIs, browser automation, the shell, or written guidance an agent could follow step by step. Partial counts: a skill that does the lookup and leaves the decision to the user still pays off. Set the bar low.
If nothing about it can be automated or guided, exit: do the task.
Skill discovery should already have surfaced a matching skill. If it didn't, search explicitly before you conclude nothing exists:
A search that returns nothing may be blind rather than conclusive: the wrong index, an empty index, or a tool that can't see that namespace. Make sure the search actually reaches the library before you trust a miss.
The opposite failure is just as likely. Hybrid and semantic search always return something, and an unrelated result can score as high as a true match. Describe the task in plain words, then decide by reading each result's description. The score alone tells you nothing.
If you find a match, exit: use that skill for the task. If it needs a small fix to fit, fix it in its plugin repo and note that.
Search public sources for third-party skills, plugins, or boilerplates covering the workflow: official vendor plugins, public marketplaces, GitHub. Then judge how personal the workflow is:
SKILL.md), use it for the draft.When the user asks for the skill and the task together ("we need a skill for this, but also do X"), choose one of three orders before you start.
| Order | Sequence | When it fits |
|---|---|---|
| A. Task, then skill (default) | Do the task, then write the skill from the run | Most cases. The skill records what actually happened, pitfalls included, not what you expected to happen. |
| B. Skill, then task | Write the skill, re-index or sync it, then do the task | The procedure is already clear, or the context to capture is fresh and would be lost in a long task. |
| C. Skill, task, update | Draft the skill, run the task through it, then fold the delta back in | Complex or high-value workflows. The run tests the draft, and the update records pitfalls, wrong turns and steps that turned out different. |
Asking. If you have a way to ask (a multiple-choice question tool), offer the three orders as a menu before you start: A first and labelled recommended, then C, then B. Ask once, with no extra explanation. If you can't ask, or the run is unattended, use A and say so in one line ("order: task, then skill").
A: don't forget the skill. At the start, record the pending skill where it will be seen again, such as a task-list item or a one-line note in your reply. Write the skill before you report the task as done, and include it in the final report.
B: re-index straight away. A new skill is usually not available in the session
that wrote it. Right after deploying it, run skill skill-genie:reindex. It follows
the user's own procedure if they have saved one, verifies the skill is live, and
loads it into the session where it can. Then run the task through the skill. If it
can't be loaded yet, follow the written steps by hand and note any gap between the
text and the run.
C: update with the delta. After the task, compare the run with the draft. Add pitfalls, fix steps that were wrong or missing, and remove steps that turned out to be unnecessary. Redeploy and re-index. Report what changed ("skill updated: 2 pitfalls, 1 step reordered").
The live workflow is the user's priority, so keep the main thread on the task. Hand skill writing that comes after the task (the skill in A, the update in C) to a background subagent, when the environment has them:
skill-genie:skill-this to write, skill-genie:improve-skill to update),
tell the subagent to follow it. Otherwise give it the target plugin's
conventions.skill-genie:reindex.Write it yourself instead when no subagents are available, when the user wants to review the skill before it ships, or for B, where the task waits on the skill anyway.
Steps 1–4 are read-only, so go ahead with them. Creating a skill, publishing it, or adding it to a collection follows the user's standing approval rules. If none are known, state the verdict and the plan in two lines and ask once.
Finish with a short verdict, for example:
skill-or-not: step 5 → new skill `invoice-reconcile` in <private plugin>
evidence: monthly pattern (3 prior sessions); the vendor API covers it
order: A (task, then skill)
first run: <task> completed; skill written from the run by a subagent, reindexed
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/complementary-pluginsList and install plugins that complement the skill-this skill: gemini-skill-builder. Use on "what goes with this plugin", "related plugins"./go-out-then-inTurn private skills, a private plugin or a private tool into a public, generic open-source release, then graft the user's private details back on as an overlay so their own install uses the public version like any other user's. Out (extract and depersonalise), publish, then in (profile/overlay plus a slimmed private plugin that only keeps what is truly theirs). Use on "go out then in", "bring it out then in", "can this be public?", "make this generic so others can use it", "share this with my partner/team but keep my details private", or when a private plugin turns out to hold mostly reusable mechanics./improve-skillFind an existing skill, even from a vague memory, and update it with what was just learned. Use on "improve skill", "update that skill"./install-heuristicInstall, update or remove the Skill Genie ("to skill or not to skill") heuristic in the user-level instruction files of the user's AI coding agents (Claude Code, Codex, Gemini CLI, Qwen Code, opencode). User level only, never project level. Use when the user says "install the skill heuristic", "add skill-or-not to my CLAUDE.md", "propagate the heuristic to my agents", or "update the heuristic block"./reindexMake a skill that was just written or changed available now, instead of at the next session or the next scheduled sync. Forces whatever re-index, sync, marketplace update or reload the user's setup needs, then checks the skill is really discoverable and, where possible, loads it into the current session. Reads the user's private procedure from the skill-genie overlay first. Use after writing a skill, in the "skill, then task" order, or when the user says "force a reindex", "reindex the skills", "sync the new skill" or "make that skill available now"./setupSave your gateway, clones and marketplace map for the skill-this and improve-skill skills. Use on "set up skill-this" or "refresh marketplaces".skill-genie@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin skill-genie