delete_skill_file
Remove unwanted files from skill directories to clean up outdated scripts, temporary data, or corrupted files permanently.
Instructions
Delete a file from a skill directory permanently.
This tool allows you to:
Remove files that are no longer needed
Clean up outdated scripts or data files
Delete temporary files or corrupted files
Parameters:
skill_name: The name of the skill directory (e.g., 'my-skill')
file_path: Relative path to the file to delete (e.g., 'scripts/old_script.py', 'data/temp.csv')
Important:
This operation is permanent and cannot be undone
The file must exist or an error will be returned
File_path must be relative to the skill's root directory
Cannot delete directories (only individual files)
Cannot delete outside the skill directory (path traversal prevented)
Returns: Success message confirming deletion.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | Relative path to the file to delete within the skill directory | |
skill_name | Yes | Name of the skill |