Ase task rename
Rename the current or given task plan. Use when the user calls to "rename", "move" or "relabel" the "task", "plan", "spec", or "specification".From its SKILL.md
npx -y skills add rse/ase --skill ase-task-renameAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
3.7 KB, 930 tokens by cl100k_base, as published. Nobody here has run it
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md @${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md @${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
<skill name="ase-task-rename"> Rename a Task Plan </skill> <expand name="getopt" arg1="ase-task-rename"> $ARGUMENTS </expand> <objective> *Rename* the task plan. </objective>Procedure
-
Determine Task:
-
Parse <arguments><getopt-arguments/></arguments> into a whitespace-separated list of tokens. Inherit the always existing <ase-task-id/> and <ase-session-id/> from the current context. Do not output anything.
- <if condition="<arguments/> contains two tokens"> Set <old/> to the first token of <arguments/>. Set <new/> to the second token of <arguments/>. Do not output anything. </if>
- <if condition="<arguments/> contains exactly one token"> Set <old><ase-task-id/></old>. Set <new/> to the single token of <arguments/>. Do not output anything. </if>
- <if condition="<arguments/> is empty OR contains more than two tokens"> Only output the following <template/> and then immediately *STOP* processing the entire current skill: <template> ⧉ **ASE**: ☻ skill: **ase-task-rename**, ▶ ERROR: expected `[<old>] <new>` arguments </template> </if>
- <if condition="<old/> does NOT match the regexp `^[a-zA-Z][a-zA-Z0-9_-]*$` OR <new/> does NOT match the regexp `^[a-zA-Z][a-zA-Z0-9_-]*$`"> Only output the following <template/> and then immediately *STOP* processing the entire current skill: <template> ⧉ **ASE**: ☻ skill: **ase-task-rename**, ▶ ERROR: invalid task id (expected `^[a-zA-Z][a-zA-Z0-9_-]*$`) </template> </if>
- <if condition="<old/> is equal <new/>"> Only output the following <template/> and then immediately *STOP* processing the entire current skill: <template> ⧉ **ASE**: ◉ task: **<old/>**, ▶ status: **task unchanged (old and new task id are equal)** </template> </if>
-
-
Perform Operation:
-
Call the
ase_task_rename(old: "<old/>", new: "<new/>")tool of theaseMCP server to rename the task plan and set <text/> to thetextoutput field of thisase_task_renametool call. Do not output anything related to this MCP tool call.-
If <text/> starts with
<template> ⧉ **ASE**: ◉ task: **<old/>**, ▶ status: **<text/>** </template>ERROR:orWARNING:: Set <renamed/> tofalse. Only output the following <template/>: -
If <text/> starts NOT with
<template> ⧉ **ASE**: ◉ task: **<new/>**, ▶ status: **task renamed** </template>ERROR:and NOT withWARNING:: Set <renamed/> totrue. Only output the following <template/>:
-
- <if condition="<renamed/> is `true` AND <old/> is equal <ase-task-id/>"> Set <ase-task-id><new/></ase-task-id>. Call the `ase_task_id(id: "<ase-task-id/>", session: "<ase-session-id/>")` tool from the `ase` MCP server to switch the task to the renamed task. Only output the following <template/>: <template> ⧉ **ASE**: ◉ task: **<ase-task-id/>**, ▶ status: **task switched** </template> </if>
-
What ships with it: 1 file
1013 B alongside SKILL.md
- help.md1013 B