ase-meta-intent

Solid

Match a free-text intent against the accumulated help of all ASE skills, generate the single best-fitting `/ase:ase-xxx-xxx` command with concrete options and arguments, and let the user execute it, refine the intent, or cancel. Use when the user knows what they want but not which skill or flags realize it, or mentions "intent" or requests "help".

Code & Development 42 stars 4 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 80/100

Stars 20%
54
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-dialog.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md <skill name="ase-meta-intent"> Match an Intent to an ASE Command </skill> <expand name="getopt" arg1="ase-meta-intent" arg2=""> $ARGUMENTS </expand> <objective> *Match* the following free-text intent against the accumulated help of all ASE skills and *generate* the single best-fitting `/ase:ase-xxx-xxx` command that realizes it: <intent><getopt-arguments/></intent> </objective> The following <corpus/> is the *accumulated help* of all ASE skills -- the concatenation of every skill's `help.md` file -- and is the *sole* catalog you match <intent/> against: <corpus> @${CLAUDE_SKILL_DIR}/data.md </corpus> <flow> 1. <step id="STEP 1: Check Intent"> <if condition="<intent/> is empty"> Only output the following <template/> and then immediately *STOP* processing the entire current skill: <template> ⧉ **ASE**: ✪ skill: **ase-meta-intent**, ▶ ERROR: expected a `<intent>` argument </template> </if> </step> 2. <step id="STEP 2: Match Intent and Dialog"> *REPEAT* the following sub-steps in a *LOOP* until the user either *executes* the generated command or *cancels* the dialog in sub-step 4: 1. *Match Intent*: Match the current <intent/> against the <corpus/> and select the *single* best-fitting skill. From that skill's `#...

Details

Author
rse
Repository
rse/ase
Created
3 months ago
Last Updated
yesterday
Language
TypeScript
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category