unequip_skill
Removes an equipped skill from the active skills folder to free prompt context after a task. Deletes only the specified skill directory and safely returns a notice if it is not installed.
Instructions
Uninstalls and removes an equipped skill from the assistant's active skills folder to clean up environment state and preserve context tokens. Mutating file operation: safely deletes only the specified skill directory from the target skills folder (defaulting to ~/.gemini/config/skills or .agents/skills); leaves all other skills and workspace files untouched. Requires no network access or authentication. If the skill is not installed, safely returns a notice without throwing an error.
When to use: Call when a specialized task is completed and you no longer need the skill instructions in prompt context. When NOT to use: Do not use to delete skills from the permanent offline vault (skills-vault/); this tool only removes temporary equipped copies from the active assistant environment. Returns: Confirmation message stating whether the skill was successfully removed or was not present in the active directory.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"skill_name": "<skill_name>"
},
"name": "unequip_skill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skill_name | Yes | Name of the equipped skill folder to remove (e.g. 'taste-skill', 'antislop-ui', 'game-design-studio', 'kubernetes-expert'). Case-insensitive. Required. | |
| target_path | No | Custom destination folder path where the skill was installed. If omitted or empty, automatically resolves to the active global skills directory (~/.gemini/config/skills) or local .agents/skills. |