find
Skill1 starsChanged 5 months agoMITView on GitHub
Find the best-matching pipeline in this project for a task description (or GitHub issue) using the deterministic, AI-free BM25 matcher. Returns a ranked candidate list with exclusion reasons, then asks the user to confirm before chaining into /pipeline:run. Invoke to discover the right pipeline for a task; /pipeline:dispatch is the auto-run variant.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- JordanGunn/auxtheir own version, first seen Apr 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- JordanGunn/aux★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Ask the user to pick one (or confirm the single top candidate).
- Very specific: line 42
If
$1is empty,: ask the user for a task description or a GitHub issue URL/ref. - Distinctive: line 65
Render the result for the user: Use this layout:
- Very specific: line 97
Default --neg-threshold 1 means "any task token appearing in a pipeline's Scope.Out excludes that pipeline." That's strict and protects …
- Very specific: line 106
Do not invoke
step-executordirectly: Always go through /pipeline:run.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Find a Pipeline by Task Description or GitHub Issue
You are matching a task ($1) against the consumer project's pipeline manifests using the deterministic pipeline match command — no language-model scoring, no embeddings, no per-call cost. Output a ranked candidate list with rationale, ask the user to pick one, then hand off to /pipeline:run.
What you are doing
- Detect whether
$1is a GitHub issue (URL orowner/repo#NUMBERshorthand) or a free-form task description. - Invoke the
pipeline matchcommand with the appropriate flag. It:- Parses every
PIPELINE.mdunder./.pipeline/into positive (name + End State + Scope.In + Glossary) and negative (Scope.Out) corpora. - Scores the task against the positive corpus using Okapi BM25.
- Hard-filters pipelines whose Scope.Out shares ≥
--neg-thresholdtask tokens. - Returns ranked surviving candidates plus the excluded list as JSON.
- Parses every
- Present the result to the user: top candidates with score and matched terms, plus excluded pipelines with the Scope.Out bullets that excluded them.
- Ask the user to pick one (or confirm the single top candidate). Then invoke
/pipeline:run <first-iteration-path>for the chosen pipeline.
CRITICAL — token discipline
This skill exists precisely so the main session does NOT pay for reading every PIPELINE.md to find a match. The matcher does the reading; you only see the JSON result.
Rules:
- Never
ReadPIPELINE.mdor any iteration file (steps/**/*.md) yourself. Let thepipeline matchcommand do the reading. - Use
Bashto invokepipeline matchandReadonly the small JSON result. The JSON is bounded (top N candidates + excluded list) — usually well under 2 KB. - Hand off to
/pipeline:run, not directly tostep-executor./pipeline:runis the supervisor; it spawns thepipeline-managerthat parses executor reports and chains the improver / script-creator / next executor.
Prerequisites
- The current working directory is the consumer project's root (where
./.pipeline/lives). If unsure, confirm with the user before proceeding. - The
pipelineCLI is installed and on PATH (@baizor/pipeline; seedocs/running-pipelines.md) — the matcher runs through it. - For
--issueinput only: theghCLI is installed and authenticated. If unavailable, fall back to asking the user to paste the task text.
Procedure
- If
$1is empty, ask the user for a task description or a GitHub issue URL/ref. Do not proceed without one. - Detect input shape:
- Starts with
https://github.com/...and contains/issues/<number>→ GitHub issue URL. - Matches
owner/repo#<number>→ GitHub issue shorthand. - Plain digits (
123) AND the user's context suggests an issue (verbatim — do not infer; only when the user explicitly framed the input as an issue) → numeric issue ref. - Anything else → free-form task description.
- Starts with
- The matcher runs through the installed
pipelineCLI — no interpreter detection needed. Ifpipelineis somehow missing, stop and tell the user to install it (bun add -g @baizor/pipelineornpm i -g @baizor/pipeline; seedocs/running-pipelines.md). Invoke the matcher. Build the command:
pipeline match \ --pipelines-dir "./.pipeline" \ --task "<verbatim task text>" # OR --issue "<issue ref>" --top 5Pass exactly one of
--taskor--issue. Quote the task verbatim — do not paraphrase. If the user's task contains shell-significant characters (backticks, dollar signs, double quotes), prefer reading from a temporary file and using--task "$(cat tmpfile)"rather than inlining the string.- Parse the JSON result. The script writes a single JSON object to stdout with three top-level keys:
task,candidates,excluded. Each candidate hasname,manifest,first_iteration,end_state,score,matched_terms. Each excluded entry hasname,manifest,scope_out,matching_terms. Render the result for the user. Use this layout:
▶ Task: <task or issue title> Matches: 1. <name> (score <score>, matched: <terms>) End state: <end_state> First iteration: <first_iteration> 2. <name> (score <score>, ...) ... Excluded by Scope.Out: - <name>: Scope.Out includes <scope_out bullets that triggered the filter> Matching terms: <matching_terms> - ...Empty
candidatesarray: tell the user no pipeline matched and suggest either re-running with--neg-threshold 2(more permissive — explain that this raises the bar for negative-corpus exclusion) or running/pipeline:design <goal>to author a new pipeline.Empty
excludedarray: omit that section entirely.- Confirm with the user.
- Single candidate →
Run "<name>" now? [Y/n] - Multiple candidates →
Pick one to run, or [c]ancel: - User picks
cor anything that isn't a listed option → stop without running.
- Single candidate →
- Hand off to
/pipeline:run. Once the user has confirmed, invoke/pipeline:run <chosen.first_iteration>exactly as if the user typed it themselves. Do not invokestep-executordirectly — orchestration belongs to/pipeline:runand thepipeline-managerit spawns.
Tuning the negative threshold
Default --neg-threshold 1 means "any task token appearing in a pipeline's Scope.Out excludes that pipeline." That's strict and protects against the BM25-treats-negation-as-positive bug we built this for. Two reasons to raise it:
- The user has many pipelines with overlapping terminology (e.g. multiple pipelines with
Out: documentation); a single common-noun overlap is excluding good candidates. - Manual review shows specific exclusions are wrong (the Scope.Out bullet uses a common word coincidentally).
Re-run with --neg-threshold 2 (require two-term overlap) before suggesting a manifest edit. If the wrong exclusion persists, the manifest's Scope.Out is the place to fix it — make the bullet more specific so it doesn't catch unrelated tasks.
Do not
- Do not invoke
step-executordirectly. Always go through/pipeline:run. - Do not modify pipeline files during find. Matching is read-only.
- Do not paraphrase the user's task before passing it to the matcher. The matcher tokenizes the verbatim text — paraphrasing changes the token set and shifts scores in unpredictable ways. If the user's task is too short to score well, ask them to expand it rather than expanding it yourself.
- Do not fall back to LLM-based matching silently if the matcher returns no candidates. Tell the user the deterministic matcher found nothing, and let them choose: try a different phrasing, raise
--neg-threshold, or use/pipeline:dispatch(which is LLM-based) explicitly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

