delegate-to-claude-code

Pass

Audited by Gen Agent Trust Hub on Jul 20, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The skill uses a bash script (claude-rc-spawn) to orchestrate local commands including tmux, git, and the claude CLI. It generates a temporary launch.sh script to manage the session, employing printf %q for all shell arguments to prevent command injection into the generated script.
  • [DATA_EXFILTRATION]: The orchestration script specifically unsets CLAUDE_CODE_OAUTH_TOKEN and ANTHROPIC_API_KEY by default when launching sessions. This is a security feature designed to prevent local authentication tokens from being exposed to or interfering with browser-based Remote Control authentication.
  • [INDIRECT_PROMPT_INJECTION]: This skill facilitates delegation to a subagent, creating a surface for indirect prompt injection if input data is untrusted.
  • Ingestion points: The skill reads prompt content from files in the .agent-runs/ directory or from standard input.
  • Boundary markers: No specific boundary markers are added by the script; it passes the raw prompt content directly to the claude CLI.
  • Capability inventory: The subagent (Claude Code) has broad capabilities including file system access and shell command execution.
  • Sanitization: No sanitization is performed on the prompt text; the documentation provides best practices for users to write clear and constrained briefs for the subagent.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 20, 2026, 07:37 PM