AgentSkillsCN

sandboxes-python-sdk

利用 Koyeb Python SDK(koyeb-sdk)以编程方式创建并管理沙箱环境。适用于用户希望实现 Python 沙箱自动化时使用。

SKILL.md
--- frontmatter
name: sandboxes-python-sdk
description: Use the Koyeb Python SDK (koyeb-sdk) to create and manage sandboxes programmatically. Use when the user wants Python sandbox automation.
license: MIT
compatibility: Requires Python, pip, and network access.
metadata:
  author: koyeb
  version: "0.0.1"

Koyeb Sandboxes (Python SDK)

When to use

Use this skill when the user asks to manage Koyeb sandboxes from Python using the official SDK.

Prerequisites

  • Python environment
  • Package installed: koyeb-sdk
  • API token available as KOYEB_API_TOKEN

Workflow

  1. Install the SDK package.
  2. Configure authentication using KOYEB_API_TOKEN.
  3. Create, start, or stop sandboxes as needed.
  4. Execute commands or retrieve logs/status through the SDK.
  5. Clean up sandboxes when finished.

Examples

  • Install the SDK: pip install koyeb-sdk
  • Use token auth: set KOYEB_API_TOKEN in your environment

References

For detailed flags and SDK usage, see references/koyeb-sandbox-python-sdk.md.

  • references/koyeb-sdk-auth.md
  • references/koyeb-sandbox-python-sdk.md