Agent skill

Ctf Key Recovery

by manyuegong33 in manyuegong33/r0crawl_skills

Reconstruct CTF key, serial, and flag verifiers using known plaintext, repeating XOR, encoded constants, bytecode replacement, hash constraints, SMT, and bounded brute force.

No licenceAuto-check passedSecurity

Install Ctf Key Recovery

skills CLI
$ npx skills add manyuegong33/r0crawl_skills --skill ctf-key-recovery -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install manyuegong33/r0crawl_skills ctf-key-recovery --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/manyuegong33/r0crawl_skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ctf-key-recovery .claude/skills/ctf-key-recovery && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ctf-key-recovery
GitHub stars
312
Token cost
~434 tokens
SKILL.md length
166 words
Files
4 (incl. scripts, references)
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Reconstruct CTF key, serial, and flag verifiers using known plaintext, repeating XOR, encoded constants, bytecode replacement, hash constraints, SMT, and bounded brute force.

  • Works in 5 steps: algebraic inversion → known-plaintext constraints → printable/format constraints → …
  • A reverse challenge requests a key
  • SKILL.md covers Reconstruct the exact verifier, Use the cheapest invertible…, Validate twice and Quality gates
  • Runs Python scripts from its folder

What it does

Ctf Key Recovery is an agent skill from manyuegong33/r0crawl_skills. Reconstruct CTF key, serial, and flag verifiers using known plaintext, repeating XOR, encoded constants, bytecode replacement, hash constraints, SMT, and bounded brute force. Use when a reverse challenge requests a key or serial and the verifier or encrypted target bytes can be recovered statically or dynamically.

Its SKILL.md is about 430 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts and reference files (for example `agents/openai.yaml`, `references/verifier-checklist.md` and `scripts/recover_repeating_xor.py`).

It sits in Security, covering Capture the flag. The repository describes itself as: r0crawlskills is a massive reverse-engineering skill arsenal for web, Android, iOS, Frida, native binaries, protocols, malware, firmware, and anti-analysis—built for beginners…

When your agent uses it

  • A reverse challenge requests a key
  • Serial and the verifier
  • Encrypted target bytes can be recovered statically

Example prompts

  • “/ctf-key-recovery”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. algebraic inversion
  2. known-plaintext constraints
  3. printable/format constraints
  4. SMT solver
  5. bounded brute force

What it can do on your machine

Read from SKILL.md and the folder at commit b9eb545. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ctf Key Recovery loads about 434 tokens when it runs, and up to ~568 if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 166 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~434
With references · SKILL.md plus every file in references/, read only if the agent opens them
~568

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 166 words (~434 tokens).

“Write down input normalization, encoding, required length, transforms, comparison bytes, success condition, and retry behavior. Separate presentation decoding from authentication logic; similar XOR loops may use different keys.”

— opening of SKILL.md by manyuegong33
name
ctf-key-recovery

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (scripts, references) in skills/ctf-key-recovery of manyuegong33/r0crawl_skills.

  • SKILL.md
  • agents/openai.yaml
  • references/verifier-checklist.md
  • scripts/recover_repeating_xor.py

Open the folder on GitHubat commit b9eb545

Compare with similar skills

Ctf Key Recovery next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ctf Key Recovery compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ctf Key Recovery this skillmanyuegong33/r0crawl_skills312—~434Automated safety check: PassNone
Ctf Osintljagiello/ctf-skills3.4k1 repos~2.3kAutomated safety check: NotesMIT
Helloctf SkillProbiusOfficial/Hello-CTF4.2k—~387Automated safety check: PassGPL-3.0
Secknowledge SkillPa55w0rd/secknowledge-skill425—~2.7kAutomated safety check: PassNone
Vuln Researchtanweai/xianzhi-research185—~847Automated safety check: PassNone
Alibabacloud Ecs Sec Kernelaliyun/alibabacloud-ecs-troubleshoot-skills148—~2.4kAutomated safety check: NotesApache-2.0

Similar skills

  • Ctf Osint

    ljagiello/ctf-skills

    Provides open source intelligence techniques for CTF challenges.

    3.4k GitHub starsUsed in 1 repo~2.3k tokens
    SecurityAuto-check: notes
  • Helloctf Skill

    ProbiusOfficial/Hello-CTF

    Hello CTF 技能树 —— 基于国内 CTF 竞赛体系整理的全方向攻防知识库。当用户在学习 CTF、备战比赛、解赛题(Web / Crypto / Misc / Pwn / Reverse / AI / 云安全 / 数据安全 / 区块链 / 工控 / 物联网 / 应急响应 / 渗透测试)需要定位知识点、查询利用手法或规划学习路线时使用。也适用于按知识域出题、查漏补缺。

    4.2k GitHub stars~387 tokensUpdated today
    SecurityAuto-check passed
  • Secknowledge Skill

    Pa55w0rd/secknowledge-skill

    Web+AI 安全测试知识库。融合 WooYun 88,636 案例 + 先知 L1-L4 方法论 + GAARM 173 风险 + OWASP Top 10 (LLM/ASI/WSTG)。

    425 GitHub stars~2.7k tokensUpdated 3 mo ago
    SecurityAuto-check passed
  • Vuln Research

    tanweai/xianzhi-research

    安全研究元思考方法论 - 从先知社区5600+篇安全文档中提炼的漏洞挖掘方法论框架. An agent skill from tanweai/xianzhi-research.

    185 GitHub stars~847 tokensUpdated 8 mo ago
    SecurityAuto-check passed
  • Alibabacloud Ecs Sec Kernel

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 内核态 CVE 漏洞检测与 PoC 验证工具,专为 AI Agent 设计. An agent skill from aliyun/alibabacloud-ecs-troubleshoot-skills.

    148 GitHub stars~2.4k tokensUpdated 1 mo ago
    SecurityAuto-check: notes
  • Ctf Malware

    ljagiello/ctf-skills

    Provides malware analysis and network traffic techniques for CTF challenges.

    3.4k GitHub stars~2.1k tokensUpdated 27 days ago
    SecurityAuto-check: notes

More from manyuegong33/r0crawl_skills

All 9 skills in this repo
  • Kctf ML Backdoor Linear

    manyuegong33/r0crawl_skills

    Solve KCTF model backdoors and small linear/ReLU crackmes from raw weights.

    312 GitHub stars~443 tokensUpdated 21 days ago
    Auto-check passed
  • Cpython Runtime Introspection

    manyuegong33/r0crawl_skills

    Inspect embedded or packaged CPython processes at runtime by tracing child processes, acquiring the GIL, injecting Python, replacing builtins.input, walking frame.fback, exporting frame code…

    312 GitHub stars~537 tokensUpdated 21 days ago
    Auto-check passed
  • Python Frozen App Reversing

    manyuegong33/r0crawl_skills

    Recover logic from PyInstaller, cxFreeze, py2exe, Nuitka, and other frozen Python applications, including modified bootloaders, decoy entry scripts, patched frozen standard-library modules, embedded…

    312 GitHub stars~666 tokensUpdated 21 days ago
    Auto-check passed
  • R0crawl Skills

    manyuegong33/r0crawl_skills

    面向新手的全谱系逆向工程路由器,覆盖 Web/JavaScript、Android/iOS、Frida、脱壳、反分析、原生二进制、协议、固件、恶意软件、游戏、云 API、CTF、可复现一致性测试。用于逆向、起步、脱壳、反编译、hook、Frida、绕过检测、APK/SO/DEX/JS/PCAP/WASM/PE/ELF/Mach-O 分析、签名还原,或从样本到验证结果的完整调查。

    312 GitHub stars~1.2k tokensUpdated 21 days ago
    Auto-check passed
  • Kctf Algebraic Crackme Chain

    manyuegong33/r0crawl_skills

    Solve KCTF Windows crackmes with layered codecs, 32/64-bit shell thunks, .data-resident code, and final algebraic or polynomial checks.

    312 GitHub stars~467 tokensUpdated 21 days ago
    Auto-check passed
  • Kctf Windows Smc Chain

    manyuegong33/r0crawl_skills

    KCTF 2026 第八题“亥子合辰·塔影迷楼”两级 SMC、反调试、Feistel 与 GF(2^127-39) 多项式求根的可复用解题流程。

    312 GitHub stars~467 tokensUpdated 21 days ago
    Auto-check passed

Categories

Questions about Ctf Key Recovery

What does Ctf Key Recovery do?

Reconstruct CTF key, serial, and flag verifiers using known plaintext, repeating XOR, encoded constants, bytecode replacement, hash constraints, SMT, and bounded brute force. Ctf Key Recovery is an agent skill from manyuegong33/r0crawl_skills. Reconstruct CTF key, serial, and flag verifiers using known plaintext, repeating XOR, encoded constants, bytecode replacement, hash constraints, SMT, and bounded brute force.

When should I use Ctf Key Recovery?

Ctf Key Recovery fits situations like: A reverse challenge requests a key; serial and the verifier; encrypted target bytes can be recovered statically.

How do I install Ctf Key Recovery in Claude Code?

Run `npx skills add manyuegong33/r0crawl_skills --skill ctf-key-recovery -a claude-code`. Or copy the skill folder (skills/ctf-key-recovery in manyuegong33/r0crawl_skills) into .claude/skills/ctf-key-recovery in your project. Claude Code loads it when a task matches its description.

How do I install Ctf Key Recovery in Codex?

Run `npx skills add manyuegong33/r0crawl_skills --skill ctf-key-recovery -a codex`. Or copy the skill folder (skills/ctf-key-recovery in manyuegong33/r0crawl_skills) into .agents/skills/ctf-key-recovery in your project. Codex loads it when a task matches its description.

Can I use Ctf Key Recovery in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add manyuegong33/r0crawl_skills --skill ctf-key-recovery -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ctf-key-recovery, .gemini/skills/ctf-key-recovery, .github/skills/ctf-key-recovery and .opencode/skills/ctf-key-recovery in your project.

What does Ctf Key Recovery need to run?

Going by SKILL.md and its folder, Ctf Key Recovery needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Ctf Key Recovery access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ctf Key Recovery safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Ctf Key Recovery use?

No licence was found for Ctf Key Recovery or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Ctf Key Recovery use?

About 434 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 134 tokens, read only when the agent opens those files.

What are the alternatives to Ctf Key Recovery?

Skills that share tags, products or a category with Ctf Key Recovery: Ctf Osint (ljagiello/ctf-skills, 3.4k stars), Helloctf Skill (ProbiusOfficial/Hello-CTF, 4.2k stars), Secknowledge Skill (Pa55w0rd/secknowledge-skill, 425 stars) and Vuln Research (tanweai/xianzhi-research, 185 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ctf Key Recovery?

manyuegong33 (a GitHub user) maintains it in manyuegong33/r0crawl_skills, which has 312 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on September 20, 2026.

Source: manyuegong33/r0crawl_skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.