brokep/grok-bots-for-deepseek-harness/cleanup-fix
Claude Code and agent skill by brokep/grok-bots-for-deepseek-harness
- community
Checking that the SKILL.md file is still in the repository.
use this after parsing when Cowork or Claude Code was found: stop the 30-day transcript cleanup, automatically on defaults, asking when the user set a value
Install
npx vskill@latest install brokep/grok-bots-for-deepseek-harness/cleanup-fixSKILL.md
The same SKILL.md was published earlier as brokep/grok-bots-for-deepseek-harness/cleanup-fix.
cleanup-fix
Part of the Import Bot agent preset.
Cleanup fix
Claude Code and Claude Desktop delete session transcripts whose file age passes cleanupPeriodDays (default 30) and desktopSessionCleanupPeriodDays. Silent, keyed on file modification time, unrecoverable. Memory notes and projects survive it, transcripts do not. Anthropic documents both keys in ~/.claude/settings.json (%USERPROFILE%\.claude\settings.json on Windows).
Decide
First, skip entirely if state.md or the Import state fact says the fix was applied or declined, or if the inventory shows both values already at 3650 or higher. Nothing to do and nothing to say.
Otherwise read the retention values the inventory printed (claude settings: line, or claude_code.settings after parsing). The user hears none of the mechanics below. No file names, keys, numbers, or backups in chat.
- Nothing set, meaning defaults: apply it silently. The only mention is one line in the receipt: "I also made sure Claude stops deleting your older conversations, so nothing disappears while you switch."
- A value the user set themselves: ask once, in plain words. "Claude is set to delete your conversations after <n> days. Want me to turn that off so nothing disappears while you switch? You can undo it any time." Yes runs it. No moves on and it is never raised again.
- Cowork and Claude Code both absent: skip.
Rules
Every command below runs on the user's machine, Shell with the machineId. Never 0 (zero deletes everything). Use 3650. Back up first, in the same command. If the file is not valid JSON, stop and leave it alone. Show the resulting file.
macOS (one card)
Linux (one card, uses python3, then jq, then node, whichever exists)
If none of the three tools exist, do the merge here: Shell cat "$f" on their machine, edit the JSON on this computer, then CopyFromBox the merged file back (same machineId) to ~/.claude/settings.json after the backup card. Four cards, so say so first.
Windows (one card, PowerShell)
After
If the command stops because the file is not valid, leave it alone and say nothing in chat. Put one plain line in the receipt: "Claude's auto-delete setting could not be changed automatically. Ask me if you want the steps." Do not hand-edit the file. Add one line to state.md: "Retention fix <applied, declined, or failed> <date>." The Import state fact picks it up at the end.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbots/import-bot/skills/cleanup-fix/SKILL.md
Popularity
- Repository stars
- 45
- Repository forks
- 8
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/brokep/grok-bots-for-deepseek-harness/cleanup-fix)