sandbox-promote

sandbox-promote is a command for Claude Code from Marcel-Bich/marcel-bich-claude-marketplace. It costs 24 tokens per session (570 once invoked), scanned A, original, MIT.

A command for moving accepted preliminary work from Credo's temporary sandbox folder into its versioned sandbox folder. It asks for approval before moving the work and updates related references.

In plain words
What is it for?
Use it to promote a reviewed sandbox artifact, update its links and index entry, and preserve the two-stage sandbox workflow.
Why use it?
It keeps unfinished experiments separate from work that is ready to retain, while preventing accidental replacement of an existing item.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; positional $N argument.

Part of the credo plugin — 26 skills, 15 commands, 6 hooks shipped together

Good fit Use it to promote a reviewed sandbox artifact, update its links and index entry, and preserve the two-stage sandbox workflow.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/marcel-bich/marcel-bich-claude-marketplace/sandbox-promote
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.

Clone the repo
git clone --depth 1 https://github.com/Marcel-Bich/marcel-bich-claude-marketplace

Made for: Claude Code.

Or install credo, the plugin that ships this one along with the rest of its 26 skills, 15 commands, 6 hooks.

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 sandbox-promote

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/marcel-bich/marcel-bich-claude-marketplace/sandbox-promote"><img src="https://agentmods.dev/badge/commands/marcel-bich/marcel-bich-claude-marketplace/sandbox-promote.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 570 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.00024 $0.00570
Opus 5 $0.00012 $0.00285
Sonnet 5 $0.00005 $0.00114
Haiku 4.5 $0.00002 $0.00057

Measured 12d ago against content hash c7bb1b5c3a76, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

sandbox-promote 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 12d 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.

plugins/credo/commands/sandbox-promote.md · 50 lines

What it actually says

Promote sandbox pre-work

Promote an accepted, version-worthy WIP artifact from .credo/sandbox-tmp/<slug>/ to .credo/sandbox/<slug>/. <slug> is the sandbox-tmp folder name (argument: $1).

First invoke the sandbox skill via the Skill tool for the two-folder model, the reference search order, and the guardrails. Then run this flow:

  1. Confirm with the user (Ask). Recommend promotion only when the artifact is good enough: the pre-work answered its clarify question and is worth versioning. Ask via AskUserQuestion whether to promote sandbox-tmp/<slug> to sandbox/<slug>. The user decides; do not promote on your own initiative.

  2. On YES, move the folder. Refuse to clobber an existing destination:

    src=".credo/sandbox-tmp/$1"
    dest=".credo/sandbox/$1"
    [ -d "$src" ] || { echo "sandbox-promote: no such WIP folder: $src" >&2; exit 1; }
    [ -e "$dest" ] && { echo "sandbox-promote: refusing to clobber existing $dest" >&2; exit 1; }
    mkdir -p .credo/sandbox
    mv "$src" "$dest"
    
  3. Fix up references. Update the item's ## Sandbox pre-work pointer from sandbox-tmp/ to sandbox/; add the entry to sandbox/INDEX.md; and mark the sandbox-tmp/INDEX.md entry as promoted (or remove it).

Notes

  • This move is NOT an item status move: the folder is not under items/[0-9]_*, so the credo-item-move guard does not apply here and does not block it.
  • Versioning follows the credo folder policy: in a tracked repo .credo/sandbox/ is versioned; the WIP .credo/sandbox-tmp/ stays local. Only the task / build role (role-task) commits the promotion - the plan / clarify role never commits (a single index owner avoids the .git/index.lock race).
  • Extraction into docs/ is a separate step the user prompts for explicitly - not part of this command.
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. 12d ago First seen · 50 lines · 24 tokens per session scan A c7bb1b5c3a76

Subscribe to this mod's changes

sandbox-promote is a command published in the GitHub repository Marcel-Bich/marcel-bich-claude-marketplace (13 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 570 once invoked, about $0.0001 per session on Opus 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.