code-interpreter
Sandboxed Python execution for computation, data analysis, and code generation
来源信息
- 仓库
- aiappsgbb/kratos-agent
- 最近来源活动
- 2026年4月21日 09:30
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 23
- Forks
- 22
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
2 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- code-interpreter
- description
- Sandboxed Python execution for computation, data analysis, and code generation
- enabled
- true
## Instructions
1. Accept a Python code block or computation request from the agent.
2. Execute the code in a sandboxed environment:
- No file system access beyond /tmp
- Network access limited to package installation (pip install)
- Memory limited to 256 MB
- Execution timeout: 30 seconds
3. Capture and return:
- stdout output
- Return value (if any)
- Any errors or exceptions
4. Support common data analysis libraries: pandas, numpy, matplotlib.
## Scripts
Run `scripts/execute.py` with the `code` parameter containing the Python code to execute.
在 GitHub 查看