Clean up prompts older than 7 days
Removes prompts older than 7 days from storage after showing preview and requesting confirmation.
/plugin marketplace add tmdgusya/language-skills/plugin install language-skills@language-skillsRemove prompts older than 7 days from storage.
~/.language-skills/prompts.jsonlRead the file and count:
Show the user:
## Cleanup Preview
- Total prompts: <count>
- To be deleted (>7 days old): <count>
- To be kept: <count>
Oldest prompt date: <date>
Newest prompt date: <date>
Proceed with cleanup? (Reply "yes" to confirm)
~/.language-skills/prompts.jsonl with only prompts from the last 7 days## Cleanup Complete
- Deleted: <count> prompts
- Remaining: <count> prompts
- Space freed: <approximate size>
If all prompts are within 7 days:
All prompts are within the 7-day retention period. Nothing to clean up.
If the file doesn't exist:
No prompt data found. Nothing to clean up.