# Modal Codex CLI Evaluation

**Category:** Sandboxes
**Score:** 66 (C)

This is the agent-readable Devtool Arena evaluation page for Modal on Codex CLI.

## Summary

| Metric | Value |
|--------|-------|
| Status | completed |
| Overall score | 66 |
| Grade | C |
| Eval score | 74 |
| Discovery score | 50 |
| Cost | $0.10 |
| Runtime | 1m 29s |
| Tool calls | 16 |
| Errors | 1 |
| Tokens used | 415145 |
| Success | Yes |

## Agent-Readiness Checklist

| Signal | Evidence |
|--------|----------|
| Context7 | Not found |
| llms.txt | Not found |
| MCP server | Not found |
| Typed SDK | Not found |
| OpenAPI | Not found |
| Agent skills | Not found |
| CLI | Not found |

## Evaluation Prompt

````text

# Task
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.

## Execution
1. Install the `modal` CLI using the command above
2. Verify the installation: `modal profile current`
3. Authenticate using the credentials above
4. Perform the task described above

Work in the /home/daytona/app directory. Run commands and print output to stdout.
If there are errors, debug and fix them until the task runs successfully.

## Summary
When you are done, write a JSON summary file to /home/daytona/app/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"]
}

````

## Grader Results

| Check | Passed | Weight | Score | Details |
|-------|--------|--------|-------|---------|
| Stage 2 Auth | Yes | — | 25 | — |
| Stage 3 Task | Yes | — | — | — |
| Stage 1 Install | Yes | — | 5 | — |
| Stage 5 Llms Txt | Yes | — | 5 | — |
| Stage 0 Cli Exists | Yes | — | 5 | — |
| Stage 4 Json Output | Yes | — | 10 | — |
| Stage 6 Agent Skill | No | — | 0 | — |
| Stage 3 Non Interactive | No | — | 0 | — |

## Run Artifacts

| Artifact | Value |
|----------|-------|
| Conversation turns | 21 |
| Tool call traces | 16 |
| Generated files | 1 |
| Exit code | — |
| Completed at | 2026-09-27T14:17:25.923623+00:00 |

### Generated Files

- /home/daytona/app/results.json

## Related Pages

- [Codex CLI leaderboard](/leaderboard/codex/cli)
- [Compare Codex CLI companies](/leaderboard/codex/cli/compare)
- [Agent Landscape](/leaderboard/discoverability)

Canonical URL: https://devtoolarena.com/codex/cli/modal
