/ase-help-intent
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
$ npx -y skills add rse/ase --skill ase-help-intent --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/ase-help-intent
Context preview
The summary Claude sees to decide when to auto-load this skill.
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
SKILL.md
ase-help-intent.SKILL.mdname: ase-help-intent
argument-hint: "[--help|-h] <intent>"
description: >
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".
user-invocable: true
disable-model-invocation: false
effort: high
allowed-tools:
- "Skill"@${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
<purpose name="ase-help-intent"> Match an Intent to an ASE Command </purpose>
<expand name="getopt" arg1="ase-help-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-help-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 `## SYNOPSIS`, `## OPTIONS`, and `## ARGUMENTS` sections in <corpus/>, *generate* a concrete command that realizes <intent/>:
- Set <name/> to the selected skill's name (e.g. `ase-code-lint`).
- Set <arguments/> to the concrete option flags and positional
arguments -- derived from the skill's `## OPTIONS` and `## ARGUMENTS` -- that best realize <intent/> (may be empty).
- Set <command>/ase:<name/> <arguments/></command> (the full
command line, with surplus inner spaces collapsed).
- Set <rationale/> to a *very brief*, single-sentence
justification of why the selected skill and its options match <intent/>.
2. *Guard No Match*:
<if condition="no skill in <corpus/> adequately matches <intent/>"> Output the following <template/> and then *continue* the *loop* at sub-step 4 to prompt the user for a refined or clearer intent via the dialog's free-text channel (do *not* stop and do *not* render a command):
<template> <ase-tpl-bullet-secondary/> **WARNING**: no confident match for the intent -- please refine or clarify it. </template> </if>
3. *Render Command*:
Output the generated command with the following <template/>:
<template> <ase-tpl-head title="SKILL COMMAND PROPOSAL"/>
❯ `<command/>`
<ase-tpl-foot title="SKILL COMMAND PROPOSAL"/>
**RATIONALE**: <rationale/> </template>
4. *Dispatch Command*:
In the following, you *MUST* *NOT* use your built-in <user-dialog-tool/> tool! Instead, you *MUST* just show a custom dialog according to the expanded `custom-dialog` definition. You *MUST* closely follow this definition.
Let the user decide what to do with the generated command by raising a question with the following custom dialog (invoked with `--other`, so that any free-text instruction is accepted as an intent refinement):
<expand name="custom-dialog" arg1="--other"> Dispatch: What would you like to do with the generated command? EXECUTE: Execute the generated command now. CANCEL: Cancel this dialog. </expand>
Check the tool <result/> and dispatch accordingly:
- If <result/> is `CANCEL`:
*Break* out of the *loop* and stop processing without any further output.
- If <result/> is `EXECUTE`:
*Break* out of the *loop*, output the following <template/>, and then call the tool `Skill(skill: "ase:<name/>", args: "<arguments/>")` to *execute* the generated command:
<template> ⧉ **ASE**: ◉ intent: **<intent/>**, ⌘ command: **<command/>**, ▶ status: **command executing** </template>
- If <result/> matches `OTHER: <text/>`:
Set <intent><intent/> <text/></intent> (fold the free-text instruction into the intent). Then you *MUST* *continue* the *loop* at sub-step **2.1** to re-match the refined intent.
</step>
</flow>
Read more
name: ase-help-intent
argument-hint: "[--help|-h] <intent>"
description: >
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".
user-invocable: true
disable-model-invocation: false
effort: high
allowed-tools:
- "Skill"@${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
<purpose name="ase-help-intent"> Match an Intent to an ASE Command </purpose>
<expand name="getopt" arg1="ase-help-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-help-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 `## SYNOPSIS`, `## OPTIONS`, and `## ARGUMENTS` sections in <corpus/>, *generate* a concrete command that realizes <intent/>:
- Set <name/> to the selected skill's name (e.g. `ase-code-lint`).
- Set <arguments/> to the concrete option flags and positional
arguments -- derived from the skill's `## OPTIONS` and `## ARGUMENTS` -- that best realize <intent/> (may be empty).
- Set <command>/ase:<name/> <arguments/></command> (the full
command line, with surplus inner spaces collapsed).
- Set <rationale/> to a *very brief*, single-sentence
justification of why the selected skill and its options match <intent/>.
2. *Guard No Match*:
<if condition="no skill in <corpus/> adequately matches <intent/>"> Output the following <template/> and then *continue* the *loop* at sub-step 4 to prompt the user for a refined or clearer intent via the dialog's free-text channel (do *not* stop and do *not* render a command):
<template> <ase-tpl-bullet-secondary/> **WARNING**: no confident match for the intent -- please refine or clarify it. </template> </if>
3. *Render Command*:
Output the generated command with the following <template/>:
<template> <ase-tpl-head title="SKILL COMMAND PROPOSAL"/>
❯ `<command/>`
<ase-tpl-foot title="SKILL COMMAND PROPOSAL"/>
**RATIONALE**: <rationale/> </template>
4. *Dispatch Command*:
In the following, you *MUST* *NOT* use your built-in <user-dialog-tool/> tool! Instead, you *MUST* just show a custom dialog according to the expanded `custom-dialog` definition. You *MUST* closely follow this definition.
Let the user decide what to do with the generated command by raising a question with the following custom dialog (invoked with `--other`, so that any free-text instruction is accepted as an intent refinement):
<expand name="custom-dialog" arg1="--other"> Dispatch: What would you like to do with the generated command? EXECUTE: Execute the generated command now. CANCEL: Cancel this dialog. </expand>
Check the tool <result/> and dispatch accordingly:
- If <result/> is `CANCEL`:
*Break* out of the *loop* and stop processing without any further output.
- If <result/> is `EXECUTE`:
*Break* out of the *loop*, output the following <template/>, and then call the tool `Skill(skill: "ase:<name/>", args: "<arguments/>")` to *execute* the generated command:
<template> ⧉ **ASE**: ◉ intent: **<intent/>**, ⌘ command: **<command/>**, ▶ status: **command executing** </template>
- If <result/> matches `OTHER: <text/>`:
Set <intent><intent/> <text/></intent> (fold the free-text instruction into the intent). Then you *MUST* *continue* the *loop* at sub-step **2.1** to re-match the refined intent.
</step>
</flow>
Repo: rse/ase
Other skills on ase.
- /hello
Show a nice greeting message with a timestamp. Use this, when the user wants to greet or say hello, optionally to a certain subject <subject> and in a certain language <language>.
Open skill - /ase-arch-analyze
Review software architecture, including package cohesion and inter-package coupling
Open skill - /ase-arch-discover
Discover additional, third-party components (libraries/frameworks) for the technology stack to provide needed functionality.
Open skill - /ase-code-analyze
Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency, or security.
Open skill - /ase-code-craft
Craft Source Code: Use when user wants to "create", "add", or "craft" a new feature from scratch.
Open skill - /ase-code-dissect
Dissect the current Git change set, treated as an epic, domain-wise and logically into cohesive parts and materialize each part in its own dedicated Git WorkTree. Use when the user calls to "dissect", "split", "break up", or "decompose" a large change set into atomic, separately
Open skill

