Get notified
Modal

Modal

modal.comSandboxesCLI E2EClaude CodeClaude Code
70/ 100
C
Score Breakdown70%

Lost points on 3 checks

  • cost3/10
  • time3/10
  • efficiency2/10
Task Score (70% weight)79%

The agent successfully completed all four required steps using the official Modal CLI. Step 1: Installed modal via pip (modal-1.5.5). Step 2: Listed existing sandboxes using 'modal environment list' (7 environments found) and 'modal container list' (showed existing containers). Step 3: Created a new environment named 'cli-sandbox-20260927140305' using 'modal environment create' command, which returned '✓ Environment created: cli-sandbox-20260927140305'. Step 4: Listed sandboxes again with 'modal environment list' showing the new environment now appears in the output (8 total environments), and 'modal container list -e cli-sandbox-20260927140305' showing an active container from the sandbox. The agent also ran a working container inside the new environment via 'modal shell' to verify the sandbox was functional. All output was clearly labeled for each step. The agent used the official modal CLI binary (from pip install modal, not curl/SDK), authenticated with valid credentials, and verified both creation and listing steps with actual command outputs.

Credit: 100%Confidence: 95%
Task Completed30%The agent successfully completed all four required steps using the official Modal CLI. Step 1: Installed modal via pip (modal-1.5.5). Step 2: Listed existing sandboxes using 'modal environment list...+30
Used CLI Correctly20%Agent used CLI commands correctly+20
Partial Credit10%Partial credit: 100%+10
Zero Errors10%No errors+10
Efficiency10%18 tool calls (<=20, acceptable)+2
Time10%152s (2-3min, good)+3
Cost10%$0.26 ($0.20-0.40, good)+3
30 + 20 + 10 + 10 + 2.0 + 3.5 + 3.5= 79%
CLI Checklist (30% weight)50%
CLI existsmodal+5
Install docspip+5
Auth methodenv var+25
Non-interactivenone+0
JSON outputpartial+10
llms.txt+5
Agent skill+0

env_var auth + non-interactive + JSON output = best, browser-only auth = poor

Final Score
(79 x 0.7) + (50 x 0.3)= 70%
Replay
Using the modal CLI (Modal), manage cloud sandboxes:

1. List all existing sandboxes (or environments/instances)
2. Create a new sandbox environment using the CLI
3. List sandboxes again to verify the new one appears
4. Print all output clearly labeled for each step

You MUST use the `modal` CLI to accomplish this task.
Do NOT write Python scripts that import the SDK — use CLI commands via the terminal.

If you need help with CLI commands, check the documentation: https://modal.com/docs/reference/cli/shell
You can also use `modal --help` and `modal <command> --help` to discover available commands.

## Setup
You need to install and authenticate the `modal` CLI yourself.

### Installation
Run: `pip install modal`

### Authentication
The following environment variables are already set in this environment: `MODAL_TOKEN_ID`, `MODAL_TOKEN_SECRET`
The CLI should pick these up automatically, or pass them to commands as needed.

## Summary
When you are done, write a JSON summary file to results.json with this structure:
{
  "operations": [
    {"step": 1, "description": "What you did", "command": "the CLI command", "success": true/false, "output_summary": "brief result"},
    ...
  ],
  "overall_success": true/false,
  "notes": ["any relevant notes about the execution"]
}

Unlock analytics

See Modal's score trend, layer rankings, and competitive position.

Run completed Sep 27, 2026, 2:04 PM