code-executor

Execute Python code in an isolated environment and capture stdout and stderr.

12|1|Updated Jan 1, 2026
One-click install
npx skills add https://github.com/huangusaki/Aurora --skill code-executor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-executor
Source: https://github.com/huangusaki/Aurora/tree/main/skills/code_executor
Command: npx skills add https://github.com/huangusaki/Aurora --skill code-executor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill provides a secure Python execution environment to run code for mathematical calculations, data processing, string operations, and algorithm validation, enabling quick experimentation without leaving the chat.

Core Features & Use Cases

  • Safe, isolated Python execution with a dedicated runner (scripts/execute.py).
  • Run code via the --code parameter or by supplying a script file, with stdout and stderr captured for clear results.
  • Use cases include calculating values, transforming data, validating algorithms, and testing small snippets in a controlled environment.

Quick Start

Provide a Python code snippet via the --code flag to execute securely.

Frequently Asked Questions about code-executor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute Python code for math and data transformations directly in chat?

To execute Python code for math and data transformations, you can provide your snippet via the --code flag or a script file. The isolated runner captures stdout and stderr, returning clear computational results or errors for review.

Can I test small algorithm snippets safely without setting up a local Python environment?

Yes, you can test small algorithm snippets safely without a local Python environment. This skill provides a controlled, isolated Python runtime that securely executes code and returns deterministic, auditable outputs directly within the chat.

What is the best way to validate string processing logic without leaving my current workflow?

The best way to validate string processing logic is using an isolated Python execution environment. It safely runs your code snippets, captures any standard output or errors, and delivers quick, auditable results for immediate review.

Does the Python sandbox capture error output when running script files?

Yes, the Python sandbox captures error output when running script files. The dedicated runner captures both stdout and stderr, ensuring you receive comprehensive output and error logs to debug your executed code.

Are there limitations when running Python code for quick algorithm checks in a sandbox?

Limitations when running Python code for quick algorithm checks include its design for small computations and data transformations. As an isolated sandbox, it focuses on deterministic, auditable results rather than heavy, persistent processing tasks.