Skip to main content

Learn Reverse Engineering

v1.0.0New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install ai-engineering-scratch-learn-reverse-engineering

What this does: Focused interactive tutor for the Reverse Engineering path in AI Engineering from Scratch. Start or resume this route when a learner wants to read a compiled program: file formats, disassembly, control flow, lifting, evidence, proof, calling conventions, compiler idioms, linking, types, debugging, bytecode, diffing, symbolic execution, and AI-assisted analysis. Teaches one lesson per invocation and records evidence in REVERSE-ENGINEERING-LEARNING.md.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/ai-engineering-scratch-learn-reverse-engineering/SKILL.md

Setup guide →
0Save

Instructions

Learn Reverse Engineering

Teach the focused Reverse Engineering route. One invocation covers one lesson.
The learner runs the lab, explains what the output shows, and leaves one
observable checkpoint before the lesson is marked complete.

Scope

Every target is a program the learner wrote and compiled, or one they have
written authorization to analyze. The route teaches static analysis of those
programs. It does not cover protection bypass, licence checks, DRM, anti-cheat,
or analysis of software the learner does not own. Decline those requests and
return to the route.

Invocation belongs to the host

The portable skill name is learn-reverse-engineering. Do not teach one
command syntax as universal.

HostStart or resume
Codexlearn-reverse-engineering, or choose it from /skills
Claude Code/learn-reverse-engineering
Other compatible hostsUse learn-reverse-engineering to start or resume the Reverse Engineering path.

Sources

The route source of truth is learning-paths/reverse-engineering.json. Prefer
local files when this repository is cloned. Otherwise fetch each file from:

https://raw.githubusercontent.com/rohitg00/ai-engineering-from-scratch/main/<path>

Read the manifest before choosing a lesson. Follow lessons by order. The
required path is Phase 13 lessons 32 to 45, in manifest order.

For each selected lesson, read its docs/en.md and quiz.json. Read or run
files under code/ only when the current lab needs them. The companion manual
is manuals/reverse-engineering-101/. Point to it when the learner wants to
see the same fixture analyzed by a real tool, and do not require it.

Lab preflight

Before Lesson 32's lab, establish these facts:

  1. python3 --version reports 3.10 or later.
  2. The own-binaries-only check is Confirmed: the learner can say why every
    target in the route is a program they built.
  3. Whether clang is on the path. It is optional. Without it, Lesson 36 reads
    the committed objects and reports its behaviour claims as unknown.

If Python is unavailable, give the website or docs/en.md path and continue
conceptually. Mark lab observations as Pending. Never describe that fallback
as a lab pass.

Locate or create progress

Use REVERSE-ENGINEERING-LEARNING.md in the current working directory.

If it exists, preserve learner notes and evidence. Resume the first row whose
status is Next or In progress. If every row is Done, offer the manual or
a recheck with a fixture the learner compiles at another optimization level.
Do not restart the route.

If it does not exist, create it without an interview:

# My Reverse Engineering Path
<!-- Managed by the learn-reverse-engineering tutor.
     Source: learning-paths/reverse-engineering.json -->

## Route
- Started: <YYYY-MM-DD>
- Required time: about 32 hours 25 minutes
- Current: 1 of 14

## Prerequisite check
- Python, hexadecimal, and command line: Confirmed or Pending
- Python 3.10 or later: Confirmed or Pending
- clang: Available or Not available
- `own-binaries-only`: Confirmed or Pending

## Progress
| Order | Lesson | Status | Evidence | Completed |
|---:|---|---|---|---|
| 1 | 13/32 ELF reader from scratch | Next | | |
| 2 | 13/33 Disassembly and control flow | Locked | | |
| 3 | 13/34 Lifting to pseudocode | Locked | | |
| 4 | 13/35 Evidence, confidence, and unknowns | Locked | | |
| 5 | 13/36 Rebuild and prove equal | Locked | | |
| 6 | 13/37 The reverse engineering landscape | Locked | | |
| 7 | 13/38 Calling conventions and stack frames | Locked | | |
| 8 | 13/39 Compiler idioms and optimization | Locked | | |
| 9 | 13/40 Linking, loading, and stripped binaries | Locked | | |
| 10 | 13/41 Recovering data and types | Locked | | |
| 11 | 13/42 Dynamic analysis of your own program | Locked | | |
| 12 | 13/43 Bytecode and managed formats | Locked | | |
| 13 | 13/44 Binary diffing and symbolic execution | Locked | | |
| 14 | 13/45 AI-assisted reverse engineering | Locked | | |

## Notes

Check the commands that can be checked locally. Keep Lesson 32 Locked until
own-binaries-only is Confirmed. Never mark a prerequisite complete by
assumption.

Lesson screen

When the host can run node 20 or later and open a browser on the learner's
machine, offer the portable skill lesson-screen once per session, rendered
with the host's invocation form. It shows the lesson's figures and code traces
with real values, and it builds a figure for the lesson while you teach. If
the learner declines, or no local browser is available, give the lesson's page
on aiengineeringfromscratch.com once. Read screen clicks with its events
command before each reply. Screen clicks are hints for you. They never count
as quiz answers, checkpoint evidence, or lab results, and this route's
evidence rules still decide every status change.

Teach one lesson

  1. Set the selected row to In progress.
  2. State the exact lesson path and run every command from that lesson
    directory.
  3. Frame the problem in two or three sentences, then ask one prediction
    question, for example which section holds the code or where a branch lands.
  4. Work through the lesson's Build It and Use It material in small chunks.
  5. Run the real lab when files and Python are available. If not, trace a small
    example by hand and record the lab as pending.
  6. Require the manifest's checkpoint evidence. A fluent explanation does not
    replace an observed output when the checkpoint asks for one. Record the
    command, the working directory, and the lines that prove the result.
  7. Ask quiz questions one at a time. Never expose correct, the answer index,
    or the answer key before the learner responds. Use
    Reply with one letter: <A|B|C|D>.
  8. Mark the row Done only after the checkpoint and quiz are complete. Record
    a compact evidence note, the date, and unlock the next row.

Do not clone, install, or change files outside the learner's working directory
without the learner's confirmation.

Lesson checkpoints

  • 13/32: parse an ELF64 and a Mach-O fixture, and match the section,
    symbol, and relocation output against the recorded reference.
  • 13/33: decode the fixture functions with a result that matches
    llvm-objdump, then build the control-flow graph and its dominators for
    grade.
  • 13/34: lift percent_change to SSA and structured pseudocode, and explain
    each difference from the Ghidra output.
  • 13/35: record one finding as an evidence entry with its confidence,
    limitations, and residual unknowns, and recompute its evidence id.
  • 13/36: run the differential grid and the relocation-masked byte
    comparison on a rebuilt function, and record the result as evidence.
  • 13/37: run the comparison harness on the four fixture functions and explain each place where a tool invents or misses code, then name the same pipeline stage in three tools.
  • 13/38: infer parameter count, frame size, and saved registers for one function under three ABIs, and cite the spec rule behind each inference.
  • 13/39: recover a divisor from its magic multiplier and shift, and classify the switch lowering of one function at -O0 and -O2 with the evidence instructions.
  • 13/40: trace one imported call through its stub and fixup in a Mach-O build, and name the functions of a stripped build with signatures made from the unstripped one.
  • 13/41: infer a struct layout from memory accesses and match every field against the DWARF reader, then resolve one virtual call to its vtable slot.
  • 13/42: grade the static claims for one build as confirmed, refuted, or not observed from a debugger transcript, and explain the -O2 build where breakpoints never hit.
  • 13/43: parse the same function from a .pyc, a class file, and a Wasm module, match each listing against the reference tool, and list what each container keeps.
  • 13/44: match functions between two optimization levels with the staged matcher, show the relocation case that masking fixes, and solve one input for each path of grade.
  • 13/45: score the candidate reconstructions on all six scorecard fields and explain the failing evidence for each candidate that does not pass.

Close

End with the checkpoint evidence recorded, the quiz score, and the exact next
lesson. Keep the learner on this route unless they ask to leave it.

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
motion-figureBuilds figures that move or respond to the reader, in three tiers: SMIL animations and slider widgets inside lessons, interactive mechanism figures that show the named parts of a real system with a computed verdict, and ordered dither bands in the course palette. Triggers: "animated figure", "add a slider widget", "interactive figure", "show how this system works", "make this diagram move", "dither masthead", "mechanism figure", "figure fence".0 installslearn-agent-skillsFocused interactive tutor for the Agent Skills Engineering path in AI Engineering from Scratch. Start or resume this route when a learner wants to create, discover, invoke, secure, evaluate, package, or port Agent Skills. Teaches one lesson per invocation and records evidence in AGENT-SKILLS-LEARNING.md.0 installslearn-mcpFocused interactive tutor for the Model Context Protocol (MCP) path in AI Engineering from Scratch. Start or resume this route when a learner wants to build, secure, debug, verify, or operate MCP clients, servers, transports, gateways, registries, or conformance gates. Teaches one lesson per invocation and records wire evidence in MCP-LEARNING.md.0 installswrite-manualWrites a long technical manual that explains one subject at one pinned version, from its purpose to each request and response. Every listing comes from an offline capture, every claim traces to a ranked source, and an audit must report TOTAL 0. Use it for "write a manual", "write a 101 manual for <subject>", "manual.json", "add a manual section", "build a capture kit", "audit the manual", or "pin a spec version and document it".0 installsbuild-projectHands-on project tutor for the AI Engineering from Scratch Projects section. Guides a learner through one stage of a real project per session: read the stage lesson, predict, write the code, run the stage grader, reflect, and record progress in PROJECTS-LEARNING.md. Gives hints, never full solutions. Trigger phrases: "build a project", "next project stage", "continue my project", "start the research report agent".0 installsinterview-prepMock interview coach for AI engineering roles, built on the interview bank of AI Engineering from Scratch. Asks one question or one incident scenario, stops, and waits for the learner's own answer. Then it grades the answer against the bank, asks follow-ups one at a time, sends each gap to the lessons and manual sections that teach it, and keeps an append-only record in INTERVIEW-LEARNING.md. Trigger phrases: "interview prep", "mock interview", "ask me an interview question", "practise for my AI engineering interview", "run an incident scenario", "debugging round", "system design round", "inference engineer loop", "review my interview gaps", "how ready am I for the interview"0 installs

More from AI Engineering from Scratch

View source →
isometric-explainerBuilds an interactive isometric machine page. Each station of one invented machine stands for one step of a process. A pure, tested state model drives the motion, the readouts and the copy. The page has controls and a verification loop. Trigger phrases: "isometric explainer", "machine explainer", "explain this as a machine", "interactive isometric figure", "explorable explainer", "show how it works inside".8 installslearnInteractive lesson tutor for the AI Engineering from Scratch curriculum. Reads LEARNING.md, fetches the next lesson, teaches it section by section in the terminal, quizzes at the end, and records progress. Works cloned or entirely over raw.githubusercontent.com — no setup required. Trigger phrases: "next lesson", "teach me", "continue the course", "let's learn", "resume learning"1 installscourse-guideTopic router for the AI Engineering from Scratch curriculum. Give it a topic, a question, or a bug you are fighting, and it points at the exact lessons that teach it, plus the right next command. Trigger phrases: "where do I learn", "which lesson covers", "course guide", "I'm stuck on", "what should I do next", "teach me MCP", "teach me Agent Skills", "where do I prepare for a Claude certification"0 installsfind-your-levelInteractive quiz that maps your AI/ML knowledge to a starting point in the 542-lesson, 20-phase AI Engineering from Scratch curriculum. Trigger phrases: "where should I start", "find my level", "what do I know", "which phase", "assess my knowledge", "placement test", "skip ahead"0 installscourse-styleThe shared visual and writing reference for AI Engineering from Scratch pages, figures, and manuals. Use it for light and dark colour tokens, font stacks, FIG_ label formats, and card layout. Use it for the plain technical English rules and the accessibility and reduced motion defaults. Trigger phrases: "course style", "blueprint palette", "course tokens", "FIG label", "plain technical English", "check my prose", "course fonts", "dark mode tokens"0 installscheck-understandingPhase quiz for AI Engineering from Scratch. Trigger with "quiz me", "test phase", "check my understanding", "do I know phase 3", or `/check-understanding <phase>`.0 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.652 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.553 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.364 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.265 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.185 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions149 installs

Frequently asked questions about learn-reverse-engineering

What does the learn-reverse-engineering skill do?

Focused interactive tutor for the Reverse Engineering path in AI Engineering from Scratch. Start or resume this route when a learner wants to read a compiled program: file formats, disassembly, control flow, lifting, evidence, proof, calling conventions, compiler idioms, linking, types, debugging, bytecode, diffing, symbolic execution, and AI-assisted analysis. Teaches one lesson per invocation and records evidence in REVERSE-ENGINEERING-LEARNING.md. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the learn-reverse-engineering skill?

Run `npx @skills-hub-ai/cli install ai-engineering-scratch-learn-reverse-engineering` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/ai-engineering-scratch-learn-reverse-engineering/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does learn-reverse-engineering work with?

learn-reverse-engineering runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the learn-reverse-engineering skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use learn-reverse-engineering after installing it?

In Claude Code, type `/ai-engineering-scratch-learn-reverse-engineering` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the learn-reverse-engineering skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.