Skip to content
Agentmart
Submit a tool

code-executor

执行 Python 代码以进行数学计算、数据处理、字符串操作或算法验证。当遇到复杂的逻辑问题或需要精确计算时使用。

Skill by huangusaki

IndexedMIT★ 14
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/huangusaki-code-executor

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

执行 Python 代码以进行数学计算、数据处理、字符串操作或算法验证。当遇到复杂的逻辑问题或需要精确计算时使用。

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/code-executor

What's inside

Skill name
code-executor
Description
执行 Python 代码以进行数学计算、数据处理、字符串操作或算法验证。当遇到复杂的逻辑问题或需要精确计算时使用。
License
MIT
Instructions
36 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: "code-executor" does not match folder "code_executor"

Files (2)

  • SKILL.md
  • execute.py · scripts/

SKILL.md (first lines)

# Code Executor

## Instructions
本技能提供了一个安全的 Python 执行环境。
你需要使用提供的 Python 脚本 `scripts/execute.py` 来运行代码。

### Steps
1. **编写代码**: 生成简洁、高效的 Python 代码。
2. **执行代码**:
   使用 Python 运行 `scripts/execute.py`,可以通过 `--code` 参数传递代码字符串。
   ```bash
   python skills/code_executor/scripts/execute.py --code "print('Hello World')"
   ```
   *注意*: 对于复杂的代码,建议将其写入临时文件然后运行,或者确保命令行转义正确。

## Examples

**User**: "计算 100 以内的斐波那契数列。"
**Assistant**:
```bash
python skills/code_executor/scripts/execute.py --code "a, b = 0, 1; result = []; 
while a < 100: result.append(a); a, b = b, a+b; 
print(result)"
```
**Output**: 
`[0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89]`

**User**: "验证 'racecar' 是否是回文。"
**Assistant**:
```bash
python skills/code_executor/scripts/execute.py --code "s = 'racecar'; print(s == s[::-1])"
```
**Output**: 
`True`

From huangusaki/Aurora, MIT.

Signals

Stars
14
Forks
1
Open issues
0
Last commit (this folder)
Feb 8, 2026 (8 months ago)
Last release
Mar 21, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from huangusaki

Cite this page

code-executor skill. Agent Mart. https://agentmart.dev/skills/huangusaki-code-executor (last updated 2026-10-24)