Skip to content
Agentmart
Submit a tool

modal-cli

Modal CLI for serverless GPU/cloud compute.

Skill by DevChiniwala

IndexedMIT★ 1
Write a review

Chalk Labs

Need help deploying modal-cli?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/devchiniwala-modal-cli

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Modal CLI for serverless GPU/cloud compute. Use when user mentions modal, deploying to modal, running GPU workloads, or serverless Python functions. Check `which modal` first — if missing, offer: `pip install modal && modal setup`. Covers run/serve/deploy, apps, containers, secrets, volumes, and workspace management.

Use cases: devops, cloud, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/modal-cli

What's inside

Skill name
modal-cli
Description
Modal CLI for serverless GPU/cloud compute. Use when user mentions modal, deploying to modal, running GPU workloads, or serverless Python functions. Check `which modal` first — if missing, offer: `pip install modal && modal setup`. Covers run/serve/deploy, apps, containers, secrets, volumes, and workspace management.
License
MIT
Instructions
114 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Prerequisites

Before any modal command, verify the CLI is available:

```bash
which modal
```

**If not found**, ask the user:

> Modal CLI not found. Install it?
>
> ```bash
> pip install modal
> ```

After install, run auth setup:

```bash
modal setup
```

This opens a browser for token auth. If `modal` still isn't on PATH after pip install, use:

```bash
python -m modal setup
```

**If found but not authed**, check with:

```bash
modal token info
```

If that errors, run `modal setup` to authenticate.

## Core Commands

| Command | Purpose |
|---------|---------|
| `modal run <file>` | One-off execution of a script/function |
| `modal serve <file>` | Local dev with hot-reload |
| `modal deploy <file>` | Production deployment |
| `modal app list` | List deployed apps |
| `modal app logs <name>` | Stream logs for a deployed app |
| `modal app stop <name>` | Stop a running app |
| `modal shell` | Interactive shell in Modal environment |

## Workflows

### First-time setup
```bash
pip install modal
modal setup
modal run hello.py  # validate end-to-end
```

### Develop and deploy
```bash
modal run my_app.py        # test locally
modal serve my_app.py      # hot-reload dev
modal deploy my_app.py     # ship it
```

### Debug containers
```bash
modal container list
modal container logs <id>
modal container exec <id> -- bash -lc "nvidia-smi"
```

### Manage resources
```bash
modal secret create my-secret KEY=value
modal volume create my-vol
modal environment create dev
modal config set-environment dev
```

## Auth & Profiles

- `modal token info` — check current auth
- `modal token new` — create token via browser
- `modal token set` — set token credentials directly
- `modal profile list` / `activate` — switch workspaces
- `modal config show` — print effective config

Environment variables: `MODAL_TOKEN_ID`, `MODAL_TOKEN_SECRET`, `MODAL_ENVIRONMENT`, `MODAL_PROFILE`

## Resource Management

- **Secrets**: `modal secret list/create/delete` (supports `.env` import)
- **Volumes**: `modal volume create/list/ls/put/get/rm/delete`
- **Dicts**: `modal dict create/list/items/get/clear/delete`
- **Queues**: `modal queue create/list/peek/len/clear/delete`
- **NFS**: `modal nfs list/create/ls/put/get/rm/delete`
- **Environments**: `modal environment list/create/delete/update`

## Decision Points

- User says "deploy to modal" / "run on GPU" → `modal deploy` or `modal run`
- User says "check my modal apps" → `modal app list`
- User says "modal logs" → `modal app logs <name>`
- User needs interactive debug → `modal shell` or `modal container exec`
- modal not installed → offer install, don't silently fail
- modal not authed → run `modal setup`

## References

- Guide: https://modal.com/docs/guide
- CLI reference: https://modal.com/docs/reference/cli/
- Status: https://status.modal.com

From DevChiniwala/HeyClara, MIT.

More from DevChiniwala/HeyClara

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jul 5, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DevChiniwala

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get modal-cli running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying modal-cli?

CallGet help
Cite this page

modal-cli skill. Agent Mart. https://agentmart.dev/skills/devchiniwala-modal-cli (last updated 2026-10-24)