exec

exec is a command for Claude Code from superfly/claude-plugins. It costs 10 tokens per session (376 once invoked), scanned A, original, MIT.

A command that runs shell commands inside an active Sprite cloud sandbox. It can run a command once or keep a long-running command in a detachable background session.

In plain words
What is it for?
It runs commands with a chosen directory or environment variables and supports detachable sessions for development servers and other long-running processes.
Why use it?
It lets developers build, test, or run services in the remote environment without manually opening a separate shell there.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/sprite/myproject.

Part of the sprite-handoff plugin — 1 skill, 6 commands, 1 agent, 1 MCP server shipped together

Good fit It runs commands with a chosen directory or environment variables and supports detachable sessions for development servers and other long-running processes.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add superfly/claude-plugins
Claude Code
/plugin install sprite-handoff

Made for: Claude Code.

Or install sprite-handoff, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 1 agent, 1 MCP server.

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 exec

README.md
[![agentmods](https://agentmods.dev/badge/commands/superfly/claude-plugins/exec/github.svg)](https://agentmods.dev/commands/superfly/claude-plugins/exec)
Your own site
<a href="https://agentmods.dev/commands/superfly/claude-plugins/exec"><img src="https://agentmods.dev/badge/commands/superfly/claude-plugins/exec/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 exec

Your own site · 80×15
<a href="https://agentmods.dev/commands/superfly/claude-plugins/exec"><img src="https://agentmods.dev/badge/commands/superfly/claude-plugins/exec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 376 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.
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.00010 $0.00376
Opus 5.5 $0.00004 $0.00150
Sonnet 5.5 $0.00002 $0.00075
Haiku 4.5 $0.00001 $0.00038

Measured 1mo ago against content hash dab84e1a3c47, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

exec 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 1mo 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.

sprite-handoff/commands/exec.md · 59 lines

What it actually says

Execute Commands in Sprite

Run commands in the active sprite cloud sandbox. Supports one-off execution, detachable sessions for background tasks, and environment variables.

Execution Modes

One-off (default)

Run a command and return the output:

sprite exec "npm run build"

Detachable Session

Run in background, can detach and reattach later:

sprite exec -detachable "npm run dev"
# Press Ctrl+\ to detach

With Environment Variables

sprite exec -env NODE_ENV=production,DEBUG=true "npm start"

With Working Directory

sprite exec -dir /home/sprite/myproject "npm test"

Argument Parsing

Parse the user's input to determine:

  • Command: The shell command to run (required)
  • --detach or -d: Use detachable mode for long-running tasks
  • --env or -e: Environment variables (KEY=VAL,KEY2=VAL2)
  • --dir: Working directory in the sprite

Behavior

  1. Get the active sprite name with sprite use
  2. If no active sprite, tell user to run /sprite:create first
  3. Build the appropriate sprite exec command with flags
  4. Run the command and show output
  5. For detachable mode, explain how to detach (Ctrl+) and reattach

Tips

  • Use detachable mode for dev servers, builds, or anything long-running
  • Sessions persist even if you close your terminal
  • Use /sprite:sessions to manage running sessions
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. 1mo ago First seen · 59 lines · 10 tokens per session scan A dab84e1a3c47

Subscribe to this mod's changes

exec is a command published in the GitHub repository superfly/claude-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 10 tokens to every session and 376 once invoked, about $0.0000 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-10-29.

Related

exec compared with commands from other repositories

exec next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
execsuperfly/claude-pluginsCommand21mo agoMITA10Claude Code
cost-optimizewshobson/agentsCommand43kyesterdayMITA26Claude Code
deploybutterbase-ai/butterbase-skillsCommand5371mo agoMITA20Claude Code
envvercel/vercel-pluginCommand358todaynoneA35Claude Code
firebase-publishPierry/harness-kitCommand41mo agoMITA20Claude Code
scanprajapatimehul/claude-aws-cost-saverCommand245mo agoMITA6Claude Code
workersFandhe-AI/agent-reference-skillsCommand5todaynoneA0Claude Code