/skill-genie:skill-thisfrom skill-genie
Turn the workflow just completed into a reusable skill in the right plugin. Use on "this is a skill", "it's a skill", "skill this".
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.
Read when SKILL.md points to them.
Also use on "extract this as a skill", "make a skill from what we just did", "this should be a skill", and "could this be public".
Pause the task. The process just followed is a repetitive workflow the user will ask for often, and they don't want to redefine its scope and process every time. Capture it as a skill.
The subject is the workflow in this conversation. If it holds several distinct procedures, ask which to capture, or capture each as its own skill.
Work through these steps in order.
Find the data folder, the first of these that exists:
$SKILL_THIS_DATA$CLAUDE_USER_DATA/skill-this/~/.claude-user-data/skill-this/${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins/skill-this/Read what's there:
profile.env: a short KEY=value file with the particulars of this deployment: the
gateway URLs and clones. Environment variables of the same name override it. Comments
in the file are instructions for this user.marketplaces.md: the map of where plugins get pushed.skill-this.md: this user's private rules for this skill.The user's comments and rules win over a default below.
To reach the gateway directly, try CANOPY_URL_TAILSCALE, then CANOPY_URL_LAN, then
CANOPY_URL_PUBLIC, and use the first that answers. If there is no profile, use the
defaults and offer the setup skill at the end.
With a gateway, Claude's own marketplace list is not the real one: the gateway indexes
marketplaces this client never added. marketplaces.md is this plugin's memory of them,
holding each one's repository, branch, visibility, clone, purpose and rules.
setup if the file is missing, its Checked date is over 30 days
old, or the job needs a marketplace it doesn't list. The gateway's list wins over the file.marketplace field of
catalogue__read plugin:<name> is the answer. It wins over the map.Check the skills catalogue to verify that the workflow isn't already covered by an existing skill that didn't surface during the task. Also check installed skills and local plugin clones.
"Matching" means the skill defines an orderly sequence that fits well onto what was just achieved. Describe the job in plain words, and judge candidates by reading their descriptions and bodies, never by search rank. Make sure the search actually reaches the library before trusting a miss.
improve-skill instead.No match is not yet a reason to create. Most new workflows are an existing skill in a different shape, so look at the nearest few candidates and try each of these, cheapest first:
| Move | When | Result |
|---|---|---|
| Note | Only this user's preference differs | A line in that skill's private notes, and no skill change |
| Data | Only the format or values differ | A template or profile entry, and one skill serves both |
| Widen | Same job on a new target | A parameter or mode on the existing skill |
| Absorb | A variant of an existing procedure | A branch or section in that skill |
| Generalise | This and a specific skill are cases of one job | One generic skill, with the specifics moved to data |
| Merge | Two skills already overlap, and this joins them | One skill. Delete the others |
| Split | An existing skill does two jobs, and this is one | Two clean skills, one of them reused here |
The test: the reshaped skill must still do one job, and say so within the description limit. If it can't, the reshape is wrong and a new skill is right.
Name the move and what it replaces in one or two lines. Note, Data, Widen and Absorb go
ahead through improve-skill. Generalise, Merge and Split change what others may rely on,
so confirm first if the plugin is public or the choice is close. A replaced skill is
deleted, not left beside its successor.
If no move fits, continue, and say in the report which you ruled out.
Skills are bundled in plugins, and marketplaces are wrappers that package them for
delivery. The user may keep several. Each one's purpose is in marketplaces.md: pick by
purpose, not just by visibility. A plugin is listed in exactly one marketplace.
Public versus private is the boundary between workflows that can be open sourced and may benefit others, and those not appropriate for sharing. Bias strongly towards open source. Infer the setting, and confirm with the user only if in doubt.
Don't ask whether the workflow is private. Ask which parts are. A need for the user's
own preferences or data is not a reason to go private: the answer is a public plugin with
a private overlay, the one shape used everywhere. Read references/public-with-overlay.md
in this skill's folder and follow it. From the catalogue, read
skill:skill-genie/skill-this/references/public-with-overlay.md.
Be proactive. Whenever the workflow looks private, or its natural home is a private plugin, say so and propose the split in a line: "this looks private, but only X and Y are, so: public skill Z, with X and Y in your overlay". Then do all of it in one pass, as the reference describes. Go private only on its "Private only when" list, and say which item applied.
Where a skill lands in a private plugin that could be public as a whole, offer the conversion as well. Don't do it unasked.
If the skill fits within an existing plugin, add it to that plugin.
The exception: if, looking at the existing plugins and skills, the proposed skill would be a natural complement to additional new skills that could be wrapped together as a gathering of specific skills, create a new plugin. Then either add those complementary skills, as agreed with the user, or add this as the only skill in the new plugin.
Plugins are optimised for this deployment, however they are shared. The design is Canopy, the open-source AI gateway: it holds the plugins and an MCP gateway, and agents find skills through it. Design every skill for this model. The profile gives the instance details.
cli
container. If a CLI is required, first seed its installation by adding it to
cli/Dockerfile in the Canopy repo, and have the skill call it through
canopy run <command>. The container's home is the persistent agent-data/cli
mount, so logins and configuration survive host reboots. Keep any CLI state there.canopy stage <file> and passes
the presigned URL on. Use --audience stack if a service on the gateway fetches the
file, and the default remote audience for anything outside it. The transient
bucket has a lifecycle policy that deletes files after a day, so don't configure
cleanup.A frequent pattern: a public or private GitHub repository acts as the workspace and memory store for the actions a plugin performs. For example, a Home Assistant operations plugin with a private repository for logs of actions taken, where the plugin's repair-log skill writes each repair to that repository. The two are a complementary system.
Reference the repository by its remote URL, never a local path, so it resolves across clients. Hard-code the URL in a private plugin. In a public plugin the user might customise with their own information, provide it as an environment variable.
Some plugins also rely on a GitHub template repository, to jumpstart a workspace.
Create it as a template repository, public or private (gh repo edit <repo> --template),
and reference it in a skill that seeds the workspace, using gh repo create --template.
Write skills/<name>/SKILL.md from what actually happened:
name in kebab-case, matching the folder. description at most
140 characters, using words a user would say, because discovery ranks on it.${CLAUDE_PLUGIN_ROOT}, so if it ships scripts, state the repository to clone when
the variable is unset.references/public-with-overlay.md.catalogue__read plugin:<name>. Plugin names are global
across marketplaces, and on a clash the later one wins.marketplaces.md gives for its purpose, following
that marketplace's rules. Without an entry the gateway never sees the plugin.Stage named paths rather than everything in the tree. Check the destination's visibility before pushing, since a public push is visible at once.
Check the index itself, not the sync's report:
catalogue__sync plugin=<name>, with force=true if the commit didn't move. It
returns at once, and the last block it prints is the previous run.catalogue__read plugin:<name>: head must equal the commit you pushed, and
contains must list the skill. Allow a minute and retry before calling it a failure.catalogue__search a phrase from the new description. New records may have no
embeddings yet, so use its exact words.catalogue__health should say ok.Install only if the user asked. If the plugin is already installed here, update it.
Report in two or three lines: the skill's id, where it lives and its visibility, what was kept in the overlay, any reshape ruled out, and anything the user must do.
This skill reads profile.env, marketplaces.md and skill-this.md from the data
folder. It writes only to marketplaces.md, and to the data folder of the plugin it is
shipping when it saves that plugin's overlay.
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