Agent skill
localsetup-task-skill-matcher
Match user tasks to installed Localsetup skills, recommend top matches, and run single-task or batch skill-selection flow with minimal interruption. Includes top-3 complementary public-skill suggestions and public-index refresh handling.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/localsetup-task-skill-matcher
Metadata
Additional technical details for this skill
- version
- 1.1
SKILL.md
Task-to-skill matcher
Purpose: Provide one consistent flow for choosing the best installed skill for a user task. Use this when the user asks "what skill should I use?", asks to "pick the best", or when skill choice is unclear.
When to use this skill
- User asks for skill recommendation or best-skill selection.
- Task-to-skill match is uncertain.
- User asks to auto-pick skills for a multi-step or batch run.
Do not use this skill
- If user names a specific skill to run, load that skill directly and skip this matcher.
Sources and scope
- Read installed-skill candidates from the current platform's context loader/index (see
_localsetup/docs/PLATFORM_REGISTRY.md). - Cursor:
.cursor/rules/localsetup-context-index.md(or skills section of.cursor/rules/localsetup-context.mdc). - Claude Code:
.claude/CLAUDE.md. - Codex:
AGENTS.md. - Other platforms: workspace context per platform registry (see PLATFORM_REGISTRY.md).
- Use public-skill suggestions from
_localsetup/docs/PUBLIC_SKILL_INDEX.yaml.
Mode detection
- Treat as batch when user request includes multiple distinct subtasks, or says "batch", "multiple steps", or "run the whole thing".
- Otherwise treat as single task.
Workflow
-
Collect intent
- Extract user intent and any task constraints.
- If user already named a skill, stop matching and load that skill.
-
Rank installed skills
- Compare intent against each installed skill's "when to use" text.
- Rank by relevance (keyword and description relevance).
- If uncertain, prepare top 3 candidates with one-line "why it fits".
-
Single-task flow
- If one clear installed match exists, ask once: "Use this skill?"
- Same turn: include up to 3 complementary public skills (one-line reason each).
- If public index is missing or stale, still show match and "Use this skill?" first, then ask: "Complementary suggestions need the public index. Want me to refresh it now so I can recommend installable skills?"
-
Batch / long-running flow
- Prompt once at start with options:
- Auto-pick best skill for the whole run.
- Parcel-by-parcel prompts.
- Parcel auto-pick.
- If auto-pick is chosen, show planned skill sequence first (best-effort), then proceed without repeated skill prompts.
- If user chooses parcels and phases are unclear, propose one parcel (whole task), then ask prompt-vs-auto-pick for that parcel.
- Prompt once at start with options:
-
No installed fit
- State that no installed skill is a good fit.
- Offer up to 3 complementary public skills to import.
- Optionally suggest creating a new skill with
localsetup-skill-creator.
Public index rules
- Stale definition:
_localsetup/docs/PUBLIC_SKILL_INDEX.yamlmissing, missingupdated, orupdatedolder than 7 days. - For complementary suggestions: return up to 3 public skills, each with one-line fit reason.
- To import suggestions, point user to
localsetup-skill-importer(or run it if user asks).
Output style
- Keep outputs short, actionable, and consistently structured.
- For uncertain match: show top 3 installed candidates, each with one-line reason, then ask user to choose or say "pick the best".
- For single clear match: ask once, then show complementary public options in the same response.
- For public complementary suggestions, use available enriched fields from
_localsetup/docs/PUBLIC_SKILL_INDEX.yaml:- Prefer
summary_shortover raw description. - Include notable
requirementsorrisk_flagsin one short line.
- Prefer
- Rendering fallback:
- Rich/basic markdown: numbered list with labeled fields.
- Plain text/ascii: numbered list with
Skill:,Why:,Risks:.
References
_localsetup/docs/TASK_SKILL_MATCHING.md_localsetup/docs/SKILLS_AND_RULES.md_localsetup/docs/PLATFORM_REGISTRY.md_localsetup/docs/PUBLIC_SKILL_INDEX.yamllocalsetup-skill-importerlocalsetup-skill-creator
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?