Code Execution (Bulk Token Saver)
Runs bulk file analysis and refactors through a local Python runtime to cut token usage by 90%+.
What it does
Instead of pulling full source files into the conversation, this skill routes bulk work through a local Python runtime (execution_runtime) and returns only summaries.
fs: copy/paste line ranges, search-replace, batch copycode: find functions/classes, analyze dependencies and complexity (metadata only)transform: rename identifiers project-wide, strip debug statements, batch refactorgit: status, add, commit, push
It enforces an "analyze → process locally → return summary" pattern, targeting ~150K tokens down to ~1K for a 100-file job.
Who it's for
- Developers refactoring large Python codebases regularly
- Anyone who hits context limits mid-way through multi-file edits
- Teams running repeated code audits or complexity checks
Examples
- Bulk rename: "Rename
oldNametonewNameeverywhere" → 50 files, 247 replacements, only the counts come back. - Extract utilities: find
*_utilfunctions inapp.pyand move them toutils.pywithout loading function bodies into context. - Code audit: analyze dependencies for every
.pyfile and report only those with complexity above 15.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/mhattingpete/claude-skills-marketplace/HEAD/code-operations-plugin/skills/code-execution/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the code-operations-plugin/skills/code-execution folder from the GitHub repo mhattingpete/claude-skills-marketplace into my ~/.claude/skills/code-execution/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/mhattingpete/claude-skills-marketplace.git && cp -r claude-skills-marketplace/code-operations-plugin/skills/code-execution ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and clone the repo:
git clone https://github.com/mhattingpete/claude-skills-marketplace.git - Copy the skill folder:
cp -r claude-skills-marketplace/code-operations-plugin/skills/code-execution ~/.claude/skills/ - Install the runtime by running
execution-runtime/setup.shfrom the repo (or~/.claude/plugins/marketplaces/mhattingpete-claude-skills/execution-runtime/setup.shif installed as a plugin). - Verify with
python -c "import execution_runtime". - Restart Claude Code, then try a prompt like "rename this function across the whole project".
- Because it edits files directly, run
git commitfirst so you have a rollback point.