package

Remove caches, virtual environments, build artifacts, and secrets from Python projects.

21|2|Updated May 19, 2026
One-click install
npx skills add https://github.com/wutongyuonce/MODULAR-RAG-MCP --skill package-wutongyuonce
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: package
Source: https://github.com/wutongyuonce/MODULAR-RAG-MCP/tree/main/.claude/skills/package
Command: npx skills add https://github.com/wutongyuonce/MODULAR-RAG-MCP --skill package-wutongyuonce

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill cleans a project by removing caches, virtual environments, build artifacts, and sensitive data to produce a minimal, distribution-ready codebase, saving time and reducing leakage risks.

Core Features & Use Cases

  • Dry-run previews to show what would be removed before any deletion.
  • Execute cleanup to remove caches, venvs, build artifacts, data, and secrets, with an option to sanitize config values.
  • Safety toggles such as --keep-data and --no-sanitize to tailor the workflow for different project needs.

Quick Start

Run the cleanup script in dry-run mode first to preview removals, then run with --execute to apply changes and sanitize secrets.

Frequently Asked Questions about package

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I clean a Python project for distribution and remove build artifacts?

To clean a Python project for distribution, remove caches, virtual environments, and build artifacts to produce a minimal, shareable codebase. Use a dry-run preview first to see removals, then execute cleanup to apply changes and sanitize secrets.

How do I sanitize API keys in settings.yaml before sharing my codebase?

Sanitize API keys in settings.yaml by running a project cleanup script with sanitization enabled. The process targets sensitive config values in settings.yaml, removing or masking them to prevent secret leakage when distributing your Python project.

Can I preview what files will be removed before cleaning my Python project?

Yes, you can preview file removals by running the cleanup script in dry-run mode. Dry-run previews show exactly which caches, venvs, build artifacts, and data files would be deleted before any actual changes are applied to your project.

How do I keep data files when removing caches and virtual environments?

To keep data files while removing caches and virtual environments, use the --keep-data safety toggle during cleanup execution. This tailors the workflow to preserve data directories while still removing build artifacts and sanitizing secrets for distribution.

What is the best way to prepare a reproducible Python distribution workflow?

The best way to prepare a reproducible Python distribution workflow is cleaning the project to remove non-essential artifacts. This involves dry-run previewing, then executing removal of caches, venvs, and secrets, ensuring a minimal, safe, reproducible codebase.

When should I skip config sanitization during project cleanup?

You should skip config sanitization during project cleanup when your settings.yaml contains non-sensitive values needed for execution. Use the --no-sanitize toggle to bypass secret removal, keeping config values intact while still removing caches and build artifacts.