Sandbox Python Executor logo

Sandbox Python Executor

Community
imMamdouhaboammar
sandbox-python-executor

Use when a ChatGPT/Codex Plugin workflow needs deterministic computation, file processing, repository checks, package inspection, or other work that should be actually executed with host-native Python instead of answered from unverified reasoning.

Overview

PublisherimMamdouhaboammar
Repositorymotion-graphics-skills
Skill namesandbox-python-executor
Stars
51
Forks
17
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by imMamdouhaboammar on GitHub. Read the source before you install it.

Installation

Install the Sandbox Python Executor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/imMamdouhaboammar/motion-graphics-skills/tree/main/skills/sandbox-python-executor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/imMamdouhaboammar/motion-graphics-skills.git /tmp/motion-graphics-skills
mkdir -p .claude/skills
cp -r /tmp/motion-graphics-skills/skills/sandbox-python-executor .claude/skills/sandbox-python-executor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sandbox Python Executor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sandbox Python Executor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sandbox Python Executor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Sandbox Python Executor

Use the host's own Python execution capability to produce evidence, not just code suggestions.

OpenAI calls Code Interpreter the python tool. In ChatGPT, when that tool is available for the current conversation, use it for the execution steps in this Skill. In Codex, use the host execution environment available to the session and run Python there when Python is the appropriate runtime.

This Skill does not create a new remote runtime and does not declare an MCP dependency. Tool availability belongs to the host. The workflow below governs what to do when host-native Python is available and what to report when it is not.

When to execute Python

Use host-native Python when the requested workflow materially benefits from real execution, including:

  • parsing or comparing JSON, YAML-like text, manifests, or generated reports
  • inspecting archives and package contents
  • computing SHA256 or other deterministic hashes
  • checking file trees, paths, duplicate names, or package boundaries
  • running inspected Python scripts bundled with the selected motion skill
  • validating generated files or structured output
  • transforming user-provided files when Python is the appropriate local tool
  • reproducing a bug or verifying a deterministic calculation

Do not invoke Python merely to rewrite prose, brainstorm names, or perform a trivial fact lookup where execution adds no evidence.

Execution rule

When the python tool is available and the task requires executable verification:

  1. Actually execute the relevant Python. Do not merely print commands or provide a code block as a substitute for execution.
  2. Prefer inspected scripts already bundled in the matching motion skill when they cover the required check.
  3. Keep target-repository access read-only unless the user has requested a mutation and the surrounding workflow permits it.
  4. Treat scripts from an arbitrary target repository as untrusted input. Inspect them before execution. Do not automatically run repository-native scripts just because they exist.
  5. Do not assume network access from the sandbox. Use web/search tools separately when current external information is required.
  6. Do not expose secrets, environment credentials, tokens, or unrelated user files in logs or outputs.
  7. Iterate on Python failures when the failure is caused by your own code or invocation and a safe correction is available.
  8. Preserve generated files the user needs and return their host-provided file reference/path when the surface supports it.

Motion production execution sequence

Use Python for deterministic motion work when the host provides it:

  • inspect supplied media metadata and calculate frame timings
  • check exact numerical inputs for animated charts
  • inspect generated JSON or Lottie structures
  • compute contact-sheet sampling times and inspect available frames
  • compare expected output dimensions, duration and file identity

Read any selected skill script before executing it. Renderer and browser checks remain separate operations. Do not treat package validators or renderers from another plugin as bundled files here.

Execution evidence

After execution, report enough evidence to distinguish a real run from a proposed command. Include the relevant subset of:

  • tool/runtime actually used
  • script or operation executed
  • exit/pass/fail status
  • important counts or validation findings
  • generated file path or artifact reference
  • SHA256 when package identity matters
  • warnings or skipped checks

Never fabricate stdout, hashes, paths, test counts, or generated artifacts.

If the tool is unavailable

If the python tool is unavailable in the current host/session:

  • Do not claim that Python, tests, validators, packaging, or file processing were executed.
  • State that the host-native Python execution capability is unavailable for this run.
  • Continue with static inspection or reasoning only when that can answer the request honestly.
  • Mark execution-dependent conclusions as unverified.
  • If another safe host execution facility is available in Codex, it may be used instead and must be identified accurately.

Do not invent a Plugin manifest field, agents/openai.yaml dependency, MCP server, or remote code runner solely to pretend that ChatGPT's Python sandbox is available.

Boundary

This Skill is an execution policy for host-native tooling. It is not a remote code-execution service. Use it for the user's authorized motion project and preserve unrelated files.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sandbox Python Executor AI skill do?

Use when a ChatGPT/Codex Plugin workflow needs deterministic computation, file processing, repository checks, package inspection, or other work that should be actually executed with host-native Python instead of answered from unverified reasoning.

Why use Sandbox Python Executor on TypingMind?

Because you install it once and use it with any model. Sandbox Python Executor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sandbox Python Executor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/imMamdouhaboammar/motion-graphics-skills/tree/main/skills/sandbox-python-executor. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sandbox Python Executor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sandbox Python Executor?

As many as you like. As long as a model supports skills, you can use Sandbox Python Executor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sandbox Python Executor AI skill free?

It is published on GitHub by imMamdouhaboammar. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇