Skills for Real Engineers. Straight from my .agents directory.
competition-race-condition-state-drift
Agent skill fromzhaoxuya520/reverse-skill
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for race windows, ordering bugs, idempotency failures, lock gaps, concurrent worker drift, and state inconsistencies that produce decisive effects. Use when the user asks to reproduce timing-sensitive bugs, concurrent state corruption, duplicate actions, stale reads, or privilege or balance drift caused by request ordering. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here.
How to install competition-race-condition-state-drift
npx skills add zhaoxuya520/reverse-skill# or add only this skill to Claude Code: copy the folder
CTF-Sandbox-Orchestrator/competition-race-condition-state-drift/
# into
~/.claude/skills/competition-race-condition-state-drift/ (all projects)
.claude/skills/competition-race-condition-state-drift/ (one project)
1# Competition Race Condition State Drift23Use 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.45Use this skill when the decisive behavior depends on request timing, async ordering, lock gaps, or stale state.67Reply in Simplified Chinese unless the user explicitly requests English.89## Quick Start10111. Identify mutable state first: rows, cache keys, queue payloads, session fields, counters, or files.122. Reproduce with smallest concurrent sequence and fixed timing assumptions.133. Capture one baseline run and one racing run with only one variable changed.144. Track read, check, write, enqueue, and commit boundaries separately.155. Prove final state drift from a clean reset.1617## Workflow1819### 1. Map Mutable Boundaries2021- Record transaction scope, lock behavior, retry logic, idempotency keys, cache invalidation, and queue handoff.22- Note where read-check-write is split across requests, workers, or services.23- Keep each boundary tied to exact timestamps or sequence numbers.2425### 2. Reproduce Timing Window2627- Build deterministic concurrent inputs with controlled delay, duplicate requests, or reordered worker execution.28- Compare accepted and rejected paths under identical payloads.29- Record which condition flips when ordering changes.3031### 3. Reduce To Decisive Race Chain32…
Excerpt shown under the repository's MIT license.
More skills in reverse-skill
- ▸reverse-skill-router
- ▸competition-ad-certificate-abuse
- ▸competition-agent-cloud
- ▸competition-android-hooking
- ▸competition-browser-persistence
- ▸competition-bundle-sourcemap-recovery
- ▸competition-cloud-metadata-path
- ▸competition-container-runtime
- ▸competition-crypto-mobile
- ▸competition-custom-protocol-replay
- ▸competition-dpapi-credential-chain
- ▸competition-file-parser-chain
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
