用途:在本地执行 Python 代码,通过 marketplace API 完成批量文件操作、代码分析与 Git 操作,减少把大量源码送入上下文的 token 消耗。
主要能力:提供四类 API。Filesystem(fs):copy_lines、paste_code、search_replace、batch_copy;Code Analysis(code):find_functions、find_classes、analyze_dependencies,仅返回元数据;Transformations(transform):rename_identifier、remove_debug_statements、batch_refactor;Git(git):git_status、git_add、git_commit、git_push。
使用方式:在 Claude Code 中直接导入,例如 from execution_runtime import fs, code, transform, git。若未安装,运行 ~/.claude/plugins/marketplaces/mhattingpete-claude-skills/execution-runtime/setup.sh。推荐流程为本地分析(仅元数据)、本地处理、返回摘要而非数据。
适用场景:10 个以上文件的批量操作、复杂多步工作流、跨多文件迭代处理,以及用户关注效率或性能时。
限制:资料未说明支持平台、依赖版本、错误处理细节与收费情况;代码分析仅返回元数据,不返回源码。