qredence/agentic-fleet/repo-cleanup
Claude Code and agent skill by qredence/agentic-fleet
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install qredence/agentic-fleet/repo-cleanupSKILL.md
Repository Cleanup and Git Hygiene
Context
When to use this skill:
- Repository has accumulated unused directories from various AI tools
- Files are tracked despite being in
.gitignore(committed before rule was added) - GitHub Agentic Workflows logs are taking up disk space
- Need to clean up before a release
Why this matters:
- Keeps repository clean and professional
- Reduces disk usage from accumulated logs
- Prevents accidental commits of local-only files
Solution
Step 1: Identify Candidates for Removal
Step 2: Untrack Files Already Committed
If files were committed before being added to .gitignore:
This removes from git tracking but preserves local files.
Step 3: Clean GitHub Agentic Workflows Logs
The .github/aw/logs/ directory accumulates run logs. Best practice .gitignore:
Clean up run directories:
Step 4: Delete Unused AI Tool Directories
Common AI tool directories that can be safely deleted:
Check before deleting:
.letta/- May contain memory tool config.factory/- May contain skills you want to keep
Verification
Pitfalls & Troubleshooting
Problem: git rm --cached shows files as "deleted" in status
- Cause: Normal - files are deleted from index, not disk
- Fix: This is expected. Commit the changes.
Problem: Can't delete directory - permission denied
- Cause: Process using the files
- Fix: Close IDEs and processes, try again
Problem: Accidentally deleted files you needed
- Cause: Files weren't backed up
- Fix: If in git history, use
git checkout HEAD -- <path>
Related Resources
- Internal:
.fleet/context/blocks/project/gotchas.md- Git hygiene section.gitignore- Project ignore patterns
- External:
- GitHub Agentic Workflows
Notes
- Always verify what you're deleting before running
rm -rf - Local-only directories (
.skills/,.factory/) should stay gitignored - Run this cleanup periodically, especially before releases
Last Updated: 2024-12-30 Status: Active
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.fleet/context/skills/repo-cleanup/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- 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/qredence/agentic-fleet/repo-cleanup)