$npx -y skills add zhaoxuya520/reverse-skill --skill competition-agent-cloudInternal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for AI-agent, prompt-injection, MCP or toolchain, cloud, container, CI/CD, and supply-chain challenges. Use when the user asks to analyze prompt-to-tool flows, retrieval poisoning, mounted secrets, deplo
| 1 | # Competition Agent Cloud |
| 2 | |
| 3 | Use this skill only as a downstream specialization after `$ctf-sandbox-orchestrator` is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to `$ctf-sandbox-orchestrator` first. |
| 4 | |
| 5 | Use this skill when the challenge path is driven by prompt-to-tool execution, retrieval and memory boundaries, deployment drift, or build and release provenance. |
| 6 | |
| 7 | Reply in Simplified Chinese unless the user explicitly requests English. |
| 8 | |
| 9 | ## Quick Start |
| 10 | |
| 11 | 1. Decide whether the dominant path is agentic or infrastructure-driven. |
| 12 | 2. Map one minimal control chain: untrusted input -> visible context -> tool or deployment side effect. |
| 13 | 3. Distinguish checked-in intent from live runtime truth. |
| 14 | 4. Keep prompts, tool args, manifests, mounts, and provenance steps in compact evidence blocks. |
| 15 | 5. Reproduce the exploit or misconfiguration with minimal context and minimal instrumentation. |
| 16 | |
| 17 | ## Workflow |
| 18 | |
| 19 | ### 1. Agent And Prompt Injection |
| 20 | |
| 21 | - Treat prompts, tool schemas, retrieved chunks, planner notes, memory files, and handoffs as challenge artifacts. |
| 22 | - Prove one minimal chain from untrusted content to model-visible instruction to tool side effect. |
| 23 | - Distinguish claimed capability from runtime-exposed capability. |
| 24 | |
| 25 | ### 2. Cloud, Containers, And CI/CD |
| 26 | |
| 27 | - Split build-time, deploy-time, and runtime. |
| 28 | - Reconcile compose or kube manifests with live mounts, env, logs, and traffic. |
| 29 | - Trace provenance from source to dependency resolution to build to publish to runtime consumer. |
| 30 | |
| 31 | ## Read This Reference |
| 32 | |
| 33 | - Load `references/agent-cloud.md` for the control-stack checklist, deployment-truth checklist, and evidence packaging. |
| 34 | - If the task is specifically about prompt-boundary abuse or retrieved-content-to-tool drift, prefer `$competition-prompt-injection`. |
| 35 | - If the task is specifically about CI, dependency provenance, registry drift, or shipped artifacts, prefer `$competition-supply-chain`. |
| 36 | - If the task is specifically about queue payloads, async worker drift, retries, or worker-only runtime state, prefer `$competition-queue-worker-drift`. |
| 37 | - If the task is specifically about SSRF to internal control surfaces, metadata endpoints, or metadata-derived token pivots, prefer `$competition-ssrf-metadata-pivot`. |
| 38 | - If the task is specifically about proxy-upstream parse differentials, ambiguous headers, path normalization drift, or request smuggling behavior, prefer `$competition-request-normalization-smuggling`. |
| 39 | - If the task is specifically about metadata-service access, instance or workload identity, link-local token paths, or metadata-derived privilege, prefer `$competition-cloud-metadata-path`. |
| 40 | - If the task is specifically about kube API permissions, service-account trust, admission behavior, controller drift, or cluster secret exposure, prefer `$competition-k8s-control-plane`. |
| 41 | - If the task is specifically about live mounts, sidecars, init containers, or runtime-only secret exposure, prefer `$competition-container-runtime`. |
| 42 | - If the task is specifically about container-to-host boundary crossing, kernel-surface prerequisites, or escape primitive verification, prefer `$competition-kernel-container-escape`. |
| 43 | |
| 44 | ## What To Preserve |
| 45 | |
| 46 | - Prompt snippets, retrieved chunks, planner transitions, and final tool args |
| 47 | - Compose or Kubernetes fragments tied to live mounts or routes |
| 48 | - Artifact hashes, dependency drift, CI steps, and the resulting runtime consumer |