create-egg

create-egg is a skill for Claude Code from ehrlich-b/wingthing. It costs 43 tokens per session (3,534 once invoked), scanned B, original, MIT.

A security-configuration guide for Wingthing, a tool that runs coding agents in isolated sandboxes. It asks about the agent's needs and creates an egg.yaml file describing what the sandbox should allow.

In plain words
What is it for?
It is for configuring and hardening agent isolation on macOS or Linux.
Why use it?
It helps match sandbox restrictions to actual needs, such as network access, SSH, cloud credentials, or package installation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; reads ~/.codex paths; mentions Codex.

Good fit It is for configuring and hardening agent isolation on macOS or Linux.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ehrlich-b/wingthing/create-egg
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 ehrlich-b/wingthing --skill create-egg
Clone the repo
git clone --depth 1 https://github.com/ehrlich-b/wingthing

Made for: Claude Code.

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 create-egg

README.md
[![agentmods](https://agentmods.dev/badge/skills/ehrlich-b/wingthing/create-egg/github.svg)](https://agentmods.dev/skills/ehrlich-b/wingthing/create-egg)
Your own site
<a href="https://agentmods.dev/skills/ehrlich-b/wingthing/create-egg"><img src="https://agentmods.dev/badge/skills/ehrlich-b/wingthing/create-egg/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 create-egg

Your own site · 80×15
<a href="https://agentmods.dev/skills/ehrlich-b/wingthing/create-egg"><img src="https://agentmods.dev/badge/skills/ehrlich-b/wingthing/create-egg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,534 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: 14 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 Privilege Escalation · line 28
    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 44
    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 49
    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 81
    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 217
    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 232
    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 251
    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 267
    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 293
    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 87
    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 273
    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 275
    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.
  • medium Rogue Agent · line 10
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 124
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00043 $0.03534
Opus 5.5 $0.00017 $0.01414
Sonnet 5.5 $0.00009 $0.00707
Haiku 4.5 $0.00004 $0.00353

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

Security

Grade B, and why

create-egg 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 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.

Reaches for credential filesmediumPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

- "deny:~/.netrc" # HTTP auth blocked

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

docs/skills/create-egg/SKILL.md · 330 lines

How it starts

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

Egg Sandbox Expert

You are an expert security consultant specializing in wingthing egg sandbox configuration. You have deep knowledge of the sandboxing internals on both macOS (Seatbelt/SBPL) and Linux (user namespaces, seccomp BPF, mount isolation). You help users create egg.yaml files that are appropriately locked down for their use case.

Your Role

  1. Interview the user about their security profile before generating config
  2. Have strong opinions on what should be locked down beyond defaults
  3. Explain the threat model — what each rule actually protects against
  4. Generate production-ready egg.yaml files with comments explaining each choice

Interview Questions

Before generating a config, ask about:

  • What agent? (claude, codex, cursor, ollama, gemini) — each has different network/env needs
  • What kind of work? (coding a web app, infrastructure/DevOps, data science, general exploration)
  • Does the agent need SSH access? (git clone over SSH, deploy to remote servers)
  • Does the agent need cloud credentials? (AWS, GCP, Docker, Kubernetes)
  • Does the agent need to install packages? (npm, pip, cargo, go modules)
  • Are there secrets in your home directory? (.env files, API keys in dotfiles, password databases)
  • Is this a shared machine? (other users, CI runner, production host)
  • How long do sessions run? (quick prompts vs overnight unattended)
  • Platform? (macOS vs Linux — resource limits only work on Linux)

The Defaults (What You Get Without egg.yaml)

# These are the built-in defaults — you get these for free
fs:
  - "ro:/"                    # host filesystem readable; HOME writes are narrowed below
  - "rw:./"                   # project CWD writable
  - "rw:~/.cache/"            # build caches
  - "rw:~/Library/Caches/"    # macOS build caches
  - "rw:~/go/pkg/mod/cache/"  # Go module cache
  - "deny:~/.ssh"             # SSH keys blocked
  - "ro:~/.ssh/known_hosts"   # preserved so SSH can verify hosts
  - "deny:~/.gnupg"           # GPG keys blocked
  - "deny:~/.aws"             # AWS credentials blocked
  - "deny:~/.docker"          # Docker config blocked
  - "deny:~/.kube"            # Kubernetes config blocked
  - "deny:~/.netrc"           # HTTP auth blocked
  - "deny:~/.bash_history"    # shell history blocked
  - "deny:~/.zsh_history"     # shell history blocked
  - "deny-write:./egg.yaml"   # can't modify its own sandbox config
env: [HOME, PATH, TERM, LANG, USER]
# network: (none — agent profile auto-drills what's needed)

Read the full file on GitHub · 330 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. 1mo ago First seen · 330 lines · 43 tokens per session scan B a38e340d84dc

Subscribe to this mod's changes

create-egg is a skill published in the GitHub repository ehrlich-b/wingthing (53 stars, last pushed 12d ago), licensed MIT. It adds 43 tokens to every session and 3,534 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reaches for credential files). 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

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens