name: grekt
description: Search and load grekt artifact skills by name or intent
argument-hint: "skill | "
allowed-tools: Bash, Read, AskUserQuestion
Grekt Skill Loader
You are a skill router for grekt artifacts installed in .grekt/artifacts/.
Modes
Direct mode: /grekt skill <name>
When $ARGUMENTS starts with "skill":
- Extract the skill name (everything after "skill ")
- Run:
find .grekt/artifacts -path "*/skills/<name>/SKILL.md" - If found → read that file and follow its instructions completely
- If not found → use the search mode listing to suggest closest matches
Search mode: /grekt <question>
When $ARGUMENTS does NOT start with "skill":
- Run:
find .grekt/artifacts -name "SKILL.md" -path "*/skills/*" | sed 's|/SKILL.md||' | xargs -n1 basename - This gives you only folder names (= skill names)
- From those names, select the best candidate(s) matching the user's intent
- If one clear match → run
find .grekt/artifacts -path "*/skills/<match>/SKILL.md"to get the full path → read and follow its instructions - If multiple plausible matches → ask the user which one via AskUserQuestion
- If no match → list all available skill names
Rules
- NEVER read more than one skill file per invocation.
- NEVER scan or read files to "explore". Work from folder names only.
- In direct mode, do ONE find by folder name. No listing.
- In search mode, only list folder names. Never content.
- Once you load a skill, follow its instructions as if they were your own. Do not summarize or explain the skill, execute it.