tooyoung:cc-session-cleaner
Cleans up unnecessary Claude Code sessions by listing and allowing users to delete selected session files and directories.
Install this skill
or
60/100
Security score
The tooyoung:cc-session-cleaner skill was audited on May 31, 2026 and we found 8 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
medium line 120
Template literal with variable interpolation in command context
SourceSKILL.md
| 120 | ```bash |
medium line 154
Template literal with variable interpolation in command context
SourceSKILL.md
| 154 | ```bash |
medium line 3
Access to hidden dotfiles in home directory
SourceSKILL.md
| 3 | description: "清理当前项目的 Claude Code 会话:列出 ~/.claude/projects 下最近会话,按序号或 sessionId 选择,经二次确认后删除对应 .jsonl 与同名附件目录。Trigger words: 清理 cc 会话, 删除历史会话, cc resume 会话, clean cc sessions, cc session cleaner" |
medium line 12
Access to hidden dotfiles in home directory
SourceSKILL.md
| 12 | 清理 Claude Code `~/.claude/projects/<project-slug>/` 下不再需要的会话文件。默认不是按标题自动删除,而是先列出当前项目最近会话,让用户挑选后再删除。 |
medium line 16
Access to hidden dotfiles in home directory
SourceSKILL.md
| 16 | 每个 CC 会话在 `~/.claude/projects/<project-slug>/` 下通常对应两类路径: |
medium line 43
Access to hidden dotfiles in home directory
SourceSKILL.md
| 43 | 1. **定位项目目录**:按「项目目录推导」探测当前 cwd 对应的 `~/.claude/projects/<project-slug>/`。 |
medium line 110
Access to hidden dotfiles in home directory
SourceSKILL.md
| 110 | CC 把每个项目的会话存在 `~/.claude/projects/<slug>/`,但 slug 规则随 CC 版本演进,磁盘上可能多代命名并存: |
medium line 134
Access to hidden dotfiles in home directory
SourceSKILL.md
| 134 | 候选全空时,列出 `~/.claude/projects/` 目录请用户确认,**不要擅自模糊匹配**。 |
Scanned on May 31, 2026
View Security DashboardGitHub Stars 17
Rate this skill
Categorydevelopment
UpdatedJune 15, 2026
shiqkuangsan/oh-my-daily-skills