/lorenzh:suggesting-skillsfrom lorenzh
Skill suggestions mined from the current session. Use when the user asks which skills could be extracted from this session, asks for skill ideas or "Vorschläge für Skills"; and, without being asked, when a task wraps up, before context is compacted or cleared, after the same workflow ran two or more times, or right after a hard-won fix or workaround was found.
Ships in lorenzh. 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.
Find workflows in this session that are worth a skill, check them against the skills that already exist, and offer a short list grouped into three kinds. Suggest skills only: no AGENTS.md rules, docs, notes or script ideas. Create or edit a skill only after the user picks it.
Run these steps at a pause: after a task is done or before compaction. During active work, note the candidate and wait for the next pause.
Scan the session (and its summary, if context was compacted) for:
pgrep loop).Skip one-off solutions, project conventions that belong in AGENTS.md/CLAUDE.md, and rules a linter or script can enforce.
Done when you hold a list of candidates, each with one piece of concrete evidence from the session (the command, the error, the correction).
List the skill roots that exist on this machine: ~/.agents/skills, ~/.claude/skills, ~/.codex/skills; .agents/skills, .claude/skills, .codex/skills in the repo; and the skills of installed plugins (Claude Code: ~/.claude/plugins/**/skills). The harness's own skill listing, if it shows one, counts too. Read the name and description of every SKILL.md. For each candidate, find the closest match. A candidate that a skill already covers becomes an update to that skill. It is a new skill only when no existing skill fits.
Then put each candidate in one group:
~/.agents/skills)..agents/skills).lorenzh/skills under skills/<category>/<name>/; user-specific values become settings.When unsure between user and generic, choose generic and name the values that would become settings.
Done when every candidate is marked new or update: <skill-name> and sits in one group.
Rank by value inside each group: how often it recurs, times how much it cost this session. Show at most five in total. Print the three group headings in this order and omit a heading that has no candidate. Use this format, one block per candidate:
### User skills
1. **<verb-first-name>** (new | update: <existing-skill>)
- Trigger: <when an agent should load it, in user words>
- Encodes: <the steps or rule it would hold, one line>
- Evidence: <what happened in this session, one line>
### Project skills
…
### Skills for lorenzh/skills
…
End with one question: which ones to create or update. When this skill runs on its own initiative, keep the whole message to a few lines (names plus one-line reason) and offer the full list.
Keep suggestions private: no employer or customer names, internal project names, hosts, tokens or secrets. Describe the general technique instead.
Done when the list is shown and the question is asked. Stop here until the user answers.
For each candidate the user picked, use a skill for authoring skills, if available, with the session evidence from step 1. Otherwise, say skill authoring has no owner and ask how to proceed. For an update, edit the existing skill instead of making a new one.
Make the change in the skill's source repository, never in the installed copy: an update overwrites it (npx skills update, or /plugin update for a plugin). Check how the skill was installed first. A skills-CLI install has an entry in ~/.agents/.skill-lock.json (global) or skills-lock.json (project); source and skillPath name the repository. A plugin install has no lock entry and sits under ~/.claude/plugins/cache/<marketplace>/<plugin>/; ~/.claude/plugins/known_marketplaces.json gives the marketplace's source.repo, and the skill's path in that repository follows the plugin's skills entries in its plugin.json. A new skill goes to the root of its group: the user's global skill root, the project's skill root, or lorenzh/skills. Open one branch and one pull request per skill, follow that repository's AGENTS.md (validator, evals, commit rules), and leave the merge to the user.
Done when each chosen skill has its own open pull request in its source repository and passes that skill's checks (or, without one, has valid name and description frontmatter and numbered steps), or the user stops the work.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
27 skills in this plugin
/checking-before-publishingPrivacy check for anything about to go public. Use when about to post an issue or PR comment, opening a PR, committing, pushing, publishing a release, blog post or README, or sharing screenshots, GIFs, videos or terminal recordings; when relaying a subagent's text to a public place; or when the user asks to "check for private data", "scrub" or "redact" something before sharing./cloning-voices-with-kittenttsVoice cloning with KittenTTS 2 from a short recording and text. Use when users say "kitten tts", "Stimme klonen", "clone my voice", "sprich diesen Text mit meiner Stimme", or "text to speech with my voice" and want a speech WAV.
/competing-implementationsImplementation competition for one task. Use when the user asks to have two agents compete on a change, wants competing implementations, asks to compare implementations and ship the winner, or asks for competing implementations on several dependent issues in waves./creating-worktreesGit worktree setup and cleanup for isolated parallel work. Use when the user asks to "work in a worktree", wants an isolated workspace or a parallel branch checkout, is about to execute an implementation plan that should not touch the current checkout, asks how to install dependencies or copy .env files into a worktree, wants a coding agent or sandbox to work in one, or asks to remove or clean up a worktree, or when worktrees fill the disk (ENOSPC, "No space left on device")./cutting-releasesRelease workflow from version bump to verified install. Use when the user asks to "cut a release", "release x.y.z", "ship a new version" or publish to npm or another registry, or when a release was tagged but the package, the back-merge to main or the installed version still needs checking./directing-videosVideo directing workflow for demos, screencasts, terminal tours, tutorials, launch videos and short films. Use when the user asks to plan, script, storyboard or direct a video, wants a "tour of all features", a demo or launch video, asks how long or how paced a video should be, or asks whether a recorded cut is ready to publish.npx claudepluginhub lorenzh/skills --plugin lorenzh