---
name: mstack-find-skills
description: Use when the user asks "is there a skill for this", "find me a skill for X", "which skills help with this task", "search skills.sh", or wants to install a skill for a job, or when another mstack skill needs the installed skills that fit its tasks or work items (a plan's phases, a workflow's lanes, a skill being created). Works in Claude Code and Codex. Returns the matching installed skills per item with a reason, and vetted public candidates from skills.sh for the gaps.
title: mstack-find-skills
canonical_url: https://skilld.dev/gh/mubeda/mstack/mstack-find-skills
last_updated: 2026-11-17T04:07:03.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> 55 supporting files sit beside this SKILL.md. When the Skill refers to one, fetch https://skilld.dev/api/skills-raw/mubeda/mstack/mstack-find-skills/PATH with PATH replaced.
>
> If the user asked to install this Skill, run `npx skilld install mubeda/mstack/mstack-find-skills`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/mstack-find-skills`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/mubeda/mstack/mstack-find-skills) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/mstack-find-skills`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/mstack-find-skills --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/mstack-find-skills --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# mstack-find-skills

Finds the skills that fit a job: installed skills first, then vetted public candidates from the skills.sh directory for the gaps only. Every other mstack skill that needs skill matches takes them from here, except `mstack-auto`, which chooses among the mstack skills from its own routing table and hands every other job to this skill.

| Role | Claude Code | Codex |
|---|---|---|
| Question tool | AskUserQuestion | a numbered question in chat, then wait |
| Loading another skill | the Skill tool | read its SKILL.md |

## Two modes

- **User mode**: the user invoked the skill. If they gave a text, that text is the one work item; do not ask what they need. If they gave nothing, ask one question about the job with your question tool and wait. Search nothing until the answer arrives.
- **Called mode**: another skill loaded this one and said which skill is calling. Ask nothing and install nothing, ever. Return one result block entry per work item, in the order given.

A called message lists work items, each with an ID, a goal, and optionally files and steps. An optional line `Also read: <folders>` names folders whose `SKILL.md` files join the inventory although they are not installed, such as a repository's own plugin folders. Two optional input lines change the run:

- `Online search: off (<reason>)`, or a message saying the network is unavailable: run no online step, and close with `Online search: not run (<reason>)`.
- `Install: <owner/repo>@<skill>` lines, one per candidate from an earlier result, in user mode: skip the inventory and the search, and go straight to `references/install.md` with those candidates.

## Order of work

1. **Inventory.** Read `references/matching.md` and build the list of installed skills for this host, then add the `Also read` folders. Mark each skill `loads now`, `loads in a new session` or `repository, not installed`.
2. **Score.** Score every skill against every item with the rules in `references/matching.md`. Keep at most four per item. An empty list is a valid answer.
3. **Gaps.** Mark the items with a clear domain and no match. An item that needs no specialist is not a gap.
4. **Search and vet.** Only for gaps, follow `references/public-search.md`. Recommend at most two candidates per gap, each vetted on audits, installs and age, license and its SKILL.md. When the search fails, report it as not run; never conclude that no public skill exists.
5. **Report.** Write the result block below.
6. **Install, user mode only.** When the user wants a candidate, follow `references/install.md`: one round of questions, then only the selected commands. In called mode, stop after the result block.

## Result block

```text
## mstack-find-skills result

### <ID>
Skills:
- <name> (<where installed>, <loads now | loads in a new session | repository, not installed>): <reason of six to twelve words>
Gaps:
- <what is missing> (searched: "<query>", "<query>")
  - <owner/repo>@<skill>: installs <N>, first seen <date>, audits <vendor verdict (categories), ... | not audited>, license <license>, <skills.sh link>
    Install: <the commands from references/install.md>

Online search: ran | not run (<reason>)
```

Write `Skills: none` or `Gaps: none` when a list is empty. Write one `### <ID>` section per item, in the caller's order. In user mode, the item ID is `1`.

Never report a candidate whose audit could not be read from its skills.sh pages as passed; it reads `not audited`. A candidate with a `fail` verdict or without a license is never recommended.
