Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Code Execution (bulk-operation token saver)

Runs a local Python runtime to handle bulk file operations and return only summaries, cutting token use by 90%+.

Dev & CodingIntermediate★ 678⑂ 96AI score 9/10Last updated: Jul 25, 2026

What it does

Instead of pulling whole source files into the conversation, this skill calls a local Python runtime (execution_runtime) to do the work and returns summaries only.

  • fs: copy/paste line ranges, search & replace, batch copy
  • code: find functions/classes, analyze dependencies and complexity (metadata only, never full source)
  • transform: project-wide identifier rename, debug-statement removal, batch refactor
  • git: status / add / commit / push

It includes a savings table: ~90% for 10 files, ~99% for 100 files.

Who it's for

  • Python developers doing frequent large-scale refactors
  • Anyone who keeps hitting context limits on multi-file tasks
  • Teams wanting automated repo-wide complexity audits

Examples

  1. Rename across 50 files: transform.rename_identifier('.', 'oldName', 'newName', '**/*.py') → returns {files_modified: 50, total_replacements: 247}
  2. Extract utility functions: locate .*_util$ functions with code.find_functions, then move them via fs.copy_lines + fs.paste_code into utils.py
  3. Audit 100 files: use code.analyze_dependencies to list only files 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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 && mkdir -p ~/.claude/skills && 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.

  1. Open a terminal and clone the repo: git clone https://github.com/mhattingpete/claude-skills-marketplace.git
  2. Create the skills folder: mkdir -p ~/.claude/skills
  3. Copy the skill: cp -r claude-skills-marketplace/code-operations-plugin/skills/code-execution ~/.claude/skills/
  4. Install the Python runtime: if installed as a plugin, run ~/.claude/plugins/marketplaces/mhattingpete-claude-skills/execution-runtime/setup.sh; if you cloned manually, run execution-runtime/setup.sh inside the cloned folder.
  5. Restart Claude Code, then try a request like "rename oldName to newName across every .py file in this repo" to trigger the skill.
  6. Commit your work with git first — the transform functions edit files in place.
View source on GitHub ↗License: Apache-2.0