shadow-frog-dream

shadow-frog-dream is a skill for Claude Code, Codex from microsoft/ShadowFrog. It costs 128 tokens per session (12,977 once invoked), scanned B, original, MIT.

An autonomous code-experiment tool that investigates a repository while the user is away, including bug hunting, feature design, refactoring, optimization, and security review.

In plain words
What is it for?
Use it to run named investigations, record findings in a ShadowFrog knowledge base, and save experiment work on persistent Git branches.
Why use it?
It lets experiments be implemented and tested in isolated Git worktrees, preserving the results for later review.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; positional $N argument.

Good fit Use it to run named investigations, record findings in a ShadowFrog knowledge base, and save experiment work on persistent Git branches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/shadowfrog/shadow-frog-dream
About the project

ShadowFrog is a suite of coding-agent skills that maintains a file-backed knowledge base of tacit information about a codebase, such as fragile dependencies, untested invariants, and hard-to-notice edge cases. It helps coding agents preserve lessons from code reading, experiments, and conversations across future work. The catalogue contains skills that create, update, explore, organize, and view this shadow knowledge base.

microsoft/ShadowFrog · 30 stars · on GitHub

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 microsoft/ShadowFrog --skill shadow-frog-dream
Clone the repo
git clone --depth 1 https://github.com/microsoft/ShadowFrog

Made for: Claude Code, Codex.

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 shadow-frog-dream

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/shadowfrog/shadow-frog-dream/github.svg)](https://agentmods.dev/skills/microsoft/shadowfrog/shadow-frog-dream)
Your own site
<a href="https://agentmods.dev/skills/microsoft/shadowfrog/shadow-frog-dream"><img src="https://agentmods.dev/badge/skills/microsoft/shadowfrog/shadow-frog-dream/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 shadow-frog-dream

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/shadowfrog/shadow-frog-dream"><img src="https://agentmods.dev/badge/skills/microsoft/shadowfrog/shadow-frog-dream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,977 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 12 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 40
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
  • high Privilege Escalation · line 202
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 203
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Tool Misuse · line 830
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 1126
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • high Tool Misuse · line 1126
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
  • medium Excessive Agency · line 652
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Agent Snooping · line 139
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 309
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 507
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 809
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 917
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00128 $0.12977
Opus 5.5 $0.00051 $0.05191
Sonnet 5.5 $0.00026 $0.02595
Haiku 4.5 $0.00013 $0.01298

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

Security

Grade B, and why

shadow-frog-dream scanned grade B with 1 finding 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 29d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (_dream_namespace.py, _worktree_paths.py, _worktree_safety.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

followed by `git worktree prune`, with a safety-gated `rm -rf` fallback if

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/shadow-frog-dream/SKILL.md · 1,243 lines

How it starts

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

ShadowFrog Dream

Autonomous experimentation while the user is away. Every task is an experiment — implement real code in a worktree, run it, persist as a named git branch pushed to a remote the user can write to. Dream's unique value is implementation experience that compounds across sessions.

Modes: Broad or Coherent

Accept mode=broad (default) or mode=coherent, for example /shadow-frog-dream mode=coherent. Resolve the requested mode before planning. Carry it into every task/subagent prompt, manifest, report, and validation invocation. Use /shadow-frog-nap instead when the desired deliverable is a lightweight feature-task brief rather than an executed experiment.

Broad mode keeps the category, coverage, and breadth rules below.

Coherent mode regularizes parent-child edges, not siblings or a whole tree. Each child has its own goal and identifies a parent capability, finding, limitation, or design decision motivating its work. It can extend, integrate, challenge, replace, simplify, or offer an alternative. The shared parent_connection format is defined in /shadow-frog.

  • Ten children of one parent may pursue ten different worthwhile directions. Sibling summaries help avoid duplicates; they do not impose a common goal, file-disjointness requirement, or fixed diversity quota.
  • Technical independence is not an automatic rejection. A justified alternative can be coherent even without calling the parent's modules. Shared keywords, a parent ID, or merely touching the same file are not enough.
  • A challenge needs a reason or evidence; do not manufacture flaws to lengthen a chain. Preserve unchanged user requirements and name superseded decisions.
  • There is no fixed tree-wide feature objective. Direction can evolve through substantive local transitions. Stop a path when no useful continuation exists.
  • Descendants wait for their actual parent implementation. Siblings may run in parallel in separate worktrees, including on the same files. Refresh the selected parent branch/tip after each accepted step rather than relying on the session-start branch snapshot for newly created parents.

Read the full file on GitHub · 1,243 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. 29d ago Changed · +27 lines 84c49979554e
  2. 1mo ago Changed · -69 lines 6224955abd9e
  3. 1mo ago Changed · +77 lines · +22 tokens per session 3c2cba965be7
  4. 1mo ago First seen · 1,208 lines · 106 tokens per session scan B 2ba12893d226

Subscribe to this mod's changes

shadow-frog-dream is a skill published in the GitHub repository microsoft/ShadowFrog (30 stars, last pushed 6d ago), licensed MIT. It adds 128 tokens to every session and 12,977 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

cwv-optimizer

Diagnose and fix Core Web Vitals issues on AEM Edge Delivery Services pages. Goes deeper than generic CWV advice by understanding EDS-specific performance patterns including the 100KB LCP budget, E-L-D loading phases, block rendering behavior, and third-party script impact. Produces specific fixes for LCP, CLS, and…

adobe/skills · 112 tokens

incident-response-incident-response

Coordinate production incident triage, mitigation, investigation, recovery, and follow-up. Use when responding to outages or other incidents that require structured operational coordination.

rmyndharis/antigravity-skills · 36 tokens

ci-fixer

CI failures - read error, minimal fix, verify.

sipyourdrink-ltd/bernstein · 15 tokens