devchiniwala/heyclara/modal-cli

Claude Code and agent skill by devchiniwala/heyclara

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install devchiniwala/heyclara/modal-cli

SKILL.md

The same SKILL.md was published earlier as devchiniwala/heyclara/modal-cli.

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

CommandPurpose
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 listList deployed apps
modal app logs <name>Stream logs for a deployed app
modal app stop <name>Stop a running app
modal shellInteractive 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

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/devchiniwala/heyclara/modal-cli/badge)](https://verified-skill.com/skills/devchiniwala/heyclara/modal-cli)

Something wrong with this skill or its page? Tell us.