modal

modal is a skill for Claude Code, Codex from BlockRunAI/blockrun-mcp. It costs 62 tokens per session (2,286 once invoked), scanned A, original, MIT.

A way to run code in a temporary remote container, with optional access to graphics processors (GPUs).

In plain words
What is it for?
Use it for one-off compute jobs, isolated code execution, or workloads needing a GPU. The input notes that its service is currently unavailable and that runtime is billed in advance.
Why use it?
It provides isolation for untrusted code and remote hardware for jobs that are too heavy or unsuitable for a local computer.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it for one-off compute jobs, isolated code execution, or workloads needing a GPU. The input notes that its service is currently unavailable and that runtime is billed in advance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blockrunai/blockrun-mcp/modal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add BlockRunAI/blockrun-mcp --skill modal
Clone the repo
git clone --depth 1 https://github.com/BlockRunAI/blockrun-mcp

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin modal — /plugin install modal after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for modal

README.md
[![agentmods](https://agentmods.dev/badge/skills/blockrunai/blockrun-mcp/modal/github.svg)](https://agentmods.dev/skills/blockrunai/blockrun-mcp/modal)
Your own site
<a href="https://agentmods.dev/skills/blockrunai/blockrun-mcp/modal"><img src="https://agentmods.dev/badge/skills/blockrunai/blockrun-mcp/modal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for modal

Your own site · 80×15
<a href="https://agentmods.dev/skills/blockrunai/blockrun-mcp/modal"><img src="https://agentmods.dev/badge/skills/blockrunai/blockrun-mcp/modal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,286 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00062 $0.02286
Opus 5.5 $0.00025 $0.00914
Sonnet 5.5 $0.00012 $0.00457
Haiku 4.5 $0.00006 $0.00229

Measured 23d ago against content hash 06c632aa2412, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

modal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/modal/SKILL.md · 172 lines

How it starts

The opening of the file, as written. The whole thing — 172 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Disposable remote containers (with optional GPU) via Modal, paid per call in USDC. No Modal account, no GPU procurement.

Base only in wallet mode; fine on an API key. sol.blockrun.ai carries the /v1/modal/* routes but has no Modal backend configured, so every action — create, exec, status, terminate — answers 503. That reads as "the sandbox service is down" rather than "wrong chain", which is exactly the wrong conclusion to act on: retrying will not help. The tool checks the active chain first and says so. Switch with blockrun_wallet action:"chain" chain:"base". Prices below are Base prices and include its per-transaction fee.

READ THIS BEFORE SETTING timeout

timeout is the BILLED lifetime, charged upfront in full, and never refunded — not an idle timeout. Above 300s the price switches from a flat rate to per-hour billing for the entire duration you ask for, whether you use it or not. Terminating early refunds nothing.

That makes timeout the single most expensive field in this MCP:

what you ask for what you pay
{ timeout: 300 } $0.0110
{ timeout: 300, gpu: "A100" } $0.2010
{ timeout: 600, gpu: "A100" } $1.1677
{ timeout: 300, gpu: "T4", cpu: 8, memory: 32768 } $0.3343
{ timeout: 86400, gpu: "H100" } $216.0010

A 24h H100 sandbox costs $216 upfront, non-refundable, even if your job finishes in a minute.

So: ask for the time you need, not a safe-looking ceiling. Need 20 minutes of H100? timeout: 1200 is $3.00, not $216. Keep timeout ≤ 300, cpu ≤ 1 and memory ≤ 1024 and you stay on the flat rate.

How to Call from MCP

// 1. Create — timeout: 300 keeps you on the FLAT rate ($0.0110, or $0.2010 with A100).
//    Anything above 300, or above 1 CPU or 1024 MB, bills hourly for the full requested lifetime, no refund.
blockrun_modal({ path: "sandbox/create", body: {
  image: "python:3.11",
  gpu: "A100",
  timeout: 300,
  setup_commands: ["pip install torch transformers"]
}})
// returns { sandbox_id, ... }

// 2. Exec
blockrun_modal({ path: "sandbox/exec", body: {
  sandbox_id: "sb_abc...",
  command: ["python", "-c", "import torch; print(torch.cuda.get_device_name(0))"]
}})

// 3. Terminate
blockrun_modal({ path: "sandbox/terminate", body: { sandbox_id: "sb_abc..." } })

Read the full file on GitHub · 172 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · -2 lines 06c632aa2412
  2. 2mo ago Changed 4c2404547ab6
  3. 3mo ago First seen · 174 lines · 62 tokens per session scan A 6f0eaa3881a8

Subscribe to this mod's changes

modal is a skill published in the GitHub repository BlockRunAI/blockrun-mcp (392 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 2,286 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

modal compared with skills from other repositories

modal next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
modalBlockRunAI/blockrun-mcpSkill3922d agoMITA62Claude Code, Codex
stripe-projectsNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
lambdasimlangwatch/langwatchSkill5.1ktodayApache-2.0A112Claude Code
langbot-deploylangbot-app/LangBotSkill19ktodayApache-2.0B104Claude Code, Codex
compute-env-setupUnicomAI/wanwuSkill2.4k5d agoApache-2.0A134Claude Code, Codex
gcp-triagenirholas/three.wsSkill2872d agoApache-2.0A93Claude Code
cncf-landscapemagnus919/agent-skillsSkill199yesterdayMITA90Claude Code, Codex