Sandbox Python Executorのロゴ

Sandbox Python Executor

コミュニティ
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.

概要

公開者imMamdouhaboammar
リポジトリmotion-graphics-skills
スキル名sandbox-python-executor
スター
51
フォーク
17
同梱ファイル
1
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    imMamdouhaboammarがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSandbox Python ExecutorをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/imMamdouhaboammar/motion-graphics-skills/tree/main/skills/sandbox-python-executor
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSandbox Python Executorを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSandbox Python Executorを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Sandbox Python Executorは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでSandbox Python Executorを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Sandbox Python Executorはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSandbox Python Executorをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/imMamdouhaboammar/motion-graphics-skills/tree/main/skills/sandbox-python-executorを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Sandbox Python Executorを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Sandbox Python Executorは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSandbox Python Executorを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Sandbox Python Executor」は無料ですか?

imMamdouhaboammarがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇