One-click install
npx skills add https://github.com/3xecutablefile/opencode-rev-forensics --skill ctf-rev-3xecutablefile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ctf-rev
Source: https://github.com/3xecutablefile/opencode-rev-forensics/tree/main/skills/ctf-rev
Command: npx skills add https://github.com/3xecutablefile/opencode-rev-forensics --skill ctf-rev-3xecutablefile

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you solve CTF reverse-engineering challenges by turning compiled, obfuscated, or custom-logic binaries into actionable understanding so you can extract the flag, key, or password.

Core Features & Use Cases

  • Goal-oriented comprehension: Identify what the program expects, what it does to your input, and how to reverse it to reach success.
  • Systematic analysis workflow: Use static analysis to trace the critical path from input handling to validation, then optionally use hybrid steps to verify derived solutions.
  • Strategy selection: Choose between top-down (from win condition), bottom-up (from input), pattern recognition (crypto/encoding/validation), and constraint solving (for equation-like checks).
  • CTF-relevant extraction tactics: Locate input validation logic, extract constants/expected values, reverse transformations, and validate results.

Quick Start

Ask the AI to reverse a CTF binary by first identifying the flag-validation function and then working backwards to derive the input that satisfies all comparisons.

Frequently Asked Questions about ctf-rev

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract a flag from a binary by reversing program logic?

Reverse a CTF binary by locating the flag-validation function, tracing the input-to-validation data flow, and working backwards to derive the input that satisfies all program comparisons.

What is the best way to solve key validator crackmes under time pressure?

Solve key validators by triaging win/lose logic, selecting a top-down or bottom-up analysis strategy, and applying constraint solving to recover the expected key or password values.

How does static analysis help with binary decompilation and algorithm recovery?

Static analysis enables algorithm recovery by tracing the critical data flow from input handling to validation, extracting constants, and reversing transformations to derive the expected input.

When do I need constraint solving for CTF reversing challenges?

Use constraint solving for CTF reversing when the binary applies equation-like checks, allowing you to mathematically derive the exact input values that satisfy all validation comparisons.

Can I use this approach for obfuscated code and binary bombs?

Yes, this approach handles obfuscated code and binary bombs by systematically tracing the input-to-validation data flow, selecting appropriate analysis strategies, and extracting the hidden success conditions.

Why does my reverse engineering workflow get stuck at input validation logic?

Workflows stall at input validation when transformation logic is obfuscated or uses complex constraints, requiring you to apply pattern recognition, hybrid reasoning, or constraint solving to reverse the checks.