delegating-to-agents
Pass
Audited by Gen Agent Trust Hub on Nov 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill establishes a structured 'handoff contract' for delegating work to subordinate agents. While this process involves the interpolation of potentially untrusted task data into sub-agent prompts, the skill provides mitigating controls.
- Ingestion points: Task 'briefs' or
task.mdfiles passed to sub-agents as instruction sources. - Boundary markers: Recommends using the
HANDOFF_JSON=prefix and structured fields to separate instructions from state data. - Capability inventory: Sub-agents like Cursor, Codex, and Claude Code have high-capability access to the shell and filesystem.
- Sanitization: Emphasizes a 'review and commit' workflow where the coordinating agent must verify changes before integration, and mandates the use of sandboxed modes for worker agents.
- [COMMAND_EXECUTION]: The skill provides operational instructions for executing external agent CLI tools and terminal multiplexer commands (
cursor-agent,codex,claude,cmux). - Evidence: Specific command templates are provided for various agent CLIs, but they are accompanied by clear security warnings. For example, the skill notes that 'run-everything' flags like
--yoloor--permission-mode bypassPermissionsshould only be used with explicit user approval and that sandboxed modes are preferred.
Audit Metadata