agentsclimarketplace

Sandbox agent workspace

Skill kjuhwa/skills-hub/skills/agents/sandbox-agent-workspace

Run an agent inside an isolated sandbox workspace with a manifest-defined filesystem using SandboxAgent.From its SKILL.md

Install
npx -y skills add kjuhwa/skills-hub --skill sandbox-agent-workspace

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.2 KB, 390 tokens by cl100k_base, as published. Nobody here has run it

sandbox-agent-workspace

Use SandboxAgent with a Manifest to define a workspace (git repos, local files, URLs) that the agent can inspect and modify. Run with SandboxRunConfig specifying the sandbox client.

When to apply

Long-horizon tasks that need a real filesystem: inspecting repos, editing code, running shell commands, applying patches. Available from SDK version 0.14.0+.

Core snippet

import asyncio
from agents import Runner
from agents.run import RunConfig
from agents.sandbox import Manifest, SandboxAgent, SandboxRunConfig
from agents.sandbox.entries import GitRepo
from agents.sandbox.sandboxes import UnixLocalSandboxClient

agent = SandboxAgent(
    name="Workspace Assistant",
    instructions="Inspect the sandbox workspace before answering.",
    default_manifest=Manifest(
        entries={
            "repo": GitRepo(repo="openai/openai-agents-python", ref="main"),
        }
    ),
)

async def main():
    result = await Runner.run(
        agent,
        "Inspect the repo README and summarize what this project does.",
        run_config=RunConfig(
            sandbox=SandboxRunConfig(client=UnixLocalSandboxClient())
        ),
    )
    print(result.final_output)

asyncio.run(main())

Key notes

  • SandboxAgent extends Agent with default_manifest, base_instructions, capabilities, run_as
  • Manifest.entries maps names to GitRepo, LocalDir, LocalFile, RemoteFile etc.
  • UnixLocalSandboxClient uses the local filesystem; other clients can use Docker or remote environments
  • SandboxRunConfig is nested inside RunConfig(sandbox=...)
  • The agent has access to ApplyPatchTool, ShellTool, and other workspace-native tools

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.