reverse-engineer
Analyze objects, photos, video, sketches, descriptions, and named-but-unseen artifacts into disciplined reverse-engineering notes: observed facts, inferred facts, assumptions, unknowns, confidence-marked dimensions, follow-up measurements, mechanism hypotheses, material/process guesses, and builder handoffs. Works on platforms that can render images and on platforms that can't (Codex CLI without vision, Gemini CLI text mode, mobile zip-upload, pasted-link-only flows) by switching to named-object, dictated, video, or description-only intake modes. Use when the user says "reverse engineer this", "how does this work?", "make my own version of this", "extract dimensions from this photo", "infer the mechanism", "what is inside this?", or otherwise asks to understand or recreate a real thing from incomplete evidence. Can end in an executable parametric recreation (photo -> image-conditioned code-CAD -> BOSL2/OpenSCAD with editable parameters) via the Parametric Recreation Branch — use for "turn this photo into a 3D model", "recreate this as CAD", "make a printable version of this". Pair with `maker-engineering`, `makerspace`, or `instrument-maker` when analysis turns into design or fabrication. Do not use for software reverse engineering or protocol analysis.
- License 许可
- MIT
- 最近更新
- 2026-09-02
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- reverse-engineer
- version
- 1.7.0
- description
- Analyze objects, photos, video, sketches, descriptions, and named-but-unseen artifacts into disciplined reverse-engineering notes: observed facts, inferred facts, assumptions, unknowns, confidence-marked dimensions, follow-up measurements, mechanism hypotheses, material/process guesses, and builder handoffs. Works on platforms that can render images and on platforms that can't (Codex CLI without vision, Gemini CLI text mode, mobile zip-upload, pasted-link-only flows) by switching to named-object, dictated, video, or description-only intake modes. Use when the user says "reverse engineer this", "how does this work?", "make my own version of this", "extract dimensions from this photo", "infer the mechanism", "what is inside this?", or otherwise asks to understand or recreate a real thing from incomplete evidence. Can end in an executable parametric recreation (photo -> image-conditioned code-CAD -> BOSL2/OpenSCAD with editable parameters) via the Parametric Recreation Branch — use for "turn this photo into a 3D model", "recreate this as CAD", "make a printable version of this". Pair with `maker-engineering`, `makerspace`, or `instrument-maker` when analysis turns into design or fabrication. Do not use for software reverse engineering or protocol analysis.
- last-updated
- 1782950400000
02 资源文件 18
- 参考文档agents/openai.yaml271 B
- 参考文档CHANGELOG.md4.9 KB
- 参考文档evals/round-1-eval.md7.5 KB
- 参考文档evals/round-2-cross-platform.md6.4 KB
- 参考文档references/builder-handoff-template.md3.2 KB
- 参考文档references/cadfit-correction-loop.md1.5 KB
- 参考文档references/cadfit-feature-extractor.md1.4 KB
- 参考文档references/cadfit-setup-license.md3.5 KB
- 参考文档references/cadfit-test-cad-program.md1.6 KB
- 参考文档references/confidence-language.md4.2 KB
- 参考文档references/image-access-recovery.md4.7 KB
- 参考文档references/measurement-request-checklist.md3.2 KB
- 参考文档references/observation-template.md3.8 KB
- 参考文档references/parametric-recreation.md5.6 KB
- 脚本scripts/cadfit_correction_loop.py3.6 KB
- 脚本scripts/cadfit_feature_extractor.py4.6 KB
- 脚本scripts/cadfit_test_cad_program.py3.4 KB
- 脚本scripts/check_cadfit_license_gate.py1.3 KB
03 SKILL.md 正文
Reverse Engineer
Connectors
This skill works best with these MCP connectors. Claude will suggest connecting any that aren't already linked at the point they're needed (via mcp__mcp-registry__suggest_connectors).
- Adobe for Creativity (
22854937-9510-4b57-9230-62c820102d8f) — optional for photo analysis, scale-bar overlay, multi-image stacking for dimension extraction. - Wolfram (
de1d1dc7-ec10-459d-b511-797982834b43) — optional for dimension/mass back-calculation, mechanism-hypothesis math, statistical confidence intervals on inferred dimensions. - Blender (local stdio MCP — no registry UUID, requires the Blender MCP add-on) — optional for recreating the object as a parametric 3D model during teardown documentation. Skip
suggest_connectors; direct the user to install the add-on.
Trigger phrases
reverse engineer this/analyze this objecthow does this work?/what's inside this?make my own version of this/clone this designextract dimensions from this photoinfer the mechanism/how is this assembled?teardown notes/document this existing thingturn this photo into a 3D model/recreate this as CAD/make a printable version of this
Do not trigger for
- Software reverse engineering, protocol analysis, or binary disassembly.
- Design work after the object is already understood — route to
maker-engineeringormakerspace. - Requests to reproduce proprietary products commercially — pause and confirm legal scope before writing a production handoff.
Turn incomplete evidence about a real thing into a structured, uncertainty-preserving analysis. The job is not to guess confidently; it is to separate what is visible, what is measured, what is inferred, what is assumed, and what remains unknown so a builder or specialist skill can act without inheriting hidden fiction.
Core Rule
Never present inferred dimensions, materials, mechanisms, internal structure, or provenance as facts. Every non-observed claim needs a confidence level, evidence note, and next measurement or test that could confirm it.
Workflow
-
Image-access preflight (mandatory). Before producing any analysis, decide which
image_access_modeapplies and record it. Allowed values:direct— the runtime can render the image inline and the agent has actually seen pixels.file-path— a local file path was supplied that the agent can read with its tooling (verify with aReador equivalent before claiming this mode).description-only— the user provided prose, voice, or a name for the object; the agent has not seen the image.missing— the user referred to an image that did not arrive (stripped attachment, broken link, expired upload).partial— multiple images were referenced; some are viewable and some are not.
If the mode is
missingorpartial, ask once for recovery using the prompts inreferences/image-access-recovery.md. If the user declines recovery or the runtime cannot accept files, proceed underdescription-onlywith the mode noted and the user's choice recorded.Emit the standardized degraded-mode banner (see "Degraded-Mode Banner" below) as the first line of every output artifact whenever
image_access_modeis anything other thandirect. Do not paraphrase it — downstream automation parses the exact pattern. -
Define the analysis mode:
- Photo/object observation for visual inventories, visible features, and image limits.
- Dimension inference for scale estimates, proportions, tolerances, and missing views.
- Mechanism explanation for motion, force paths, assemblies, hidden components, and failure modes.
- Material/process inference for likely materials, finish, tooling, wear, manufacturing traces, and assembly sequence.
- Handoff-to-builder when there is enough data for
maker-engineering,makerspace, orinstrument-maker.
-
Inventory the inputs. Note images, sketches, links, user-provided dimensions, known scale references, object access, measurement tools, and usage context. The preflight result from step 0 belongs in the input inventory: record
image_access_mode, count of images referenced, count actually viewable, and the user's recovery decision. -
Create the observation ledger using
references/observation-template.md. The template'sintake:YAML block must be filled in before any other section. Fill observed facts before making inferences. -
Mark every claim as one of:
observed: directly visible or user-stated as measured.measured: supplied by the user or derived from a reliable measurement tool.inferred: reasoned from visible evidence, proportions, comparable parts, physics, or known construction methods.assumed: chosen to continue analysis, not evidenced enough to rely on.unknown: needed, but not available from current evidence.
-
Attach confidence language from
references/confidence-language.mdto inferred or assumed claims. -
Ask for only the measurements that would materially reduce risk. Use
references/measurement-request-checklist.md. -
If the user asks to build, repair, clone, or commission the thing, decide whether the evidence is builder-ready:
- If enough: write a handoff with
references/builder-handoff-template.md. - If not enough: write a "blocked from builder handoff" note with the minimum measurements or tests needed.
- If enough: write a handoff with
-
Route the next phase:
maker-engineering: turn verified analysis into engineered design choices, tolerances, simulations, or trade studies.makerspace: fabricate fixtures, shop plans, cut lists, toolpaths, or physical parts.instrument-maker: create instrument design/build packets after critical acoustic and dimensional data is validated.
CADFit Mesh/Scan Branch
Use the CADFit branch only when the user supplies a real local mesh, scan, or point-cloud artifact such as .stl, .obj, .ply, .off, .step, or .stp. Do not trigger CADFit for photo-only, sketch-only, named-object, dictated-description, or missing-image intake. Those stay in the normal observation-led workflow above.
Before using CADFit tooling:
- Open
references/cadfit-setup-license.mdand honor the license gate. CADFit is optional external research code and is not bundled in this skill. - Confirm the input is a mesh/scan path and record whether it appears watertight or repaired enough for kernel scoring.
- Run the mesh branch:
- Feature Extractor:
scripts/cadfit_feature_extractor.py - Candidate scoring:
scripts/cadfit_test_cad_program.py - Correction/pruning:
scripts/cadfit_correction_loop.py
- Feature Extractor:
- Treat kernel failures and missing native dependencies as normal data signals, not crashes.
- Use
references/builder-handoff-template.mdfor any builder handoff. Mark the handoffprovisionalunless dimensions, interfaces, material/process assumptions, and manufacturing review are all satisfied.
Graceful fallback message when CADFit cannot run:
CADFit mesh/scan branch unavailable: this runtime does not have a usable watertight mesh plus local CadQuery/OpenCascade/CADFit tooling. I will continue with the standard reverse-engineering ledger and list the exact mesh/kernel setup needed before CADFit scoring can run.
Never present CADFit IoU as builder readiness by itself. High overlap can still be a manufacturing-wrong CAD tree.
Parametric Recreation Branch (image → executable CAD)
When the user wants the analysis to end in a model they can edit and print
— "turn this photo into a 3D model", "recreate this as CAD" — branch to
references/parametric-recreation.md after the observation ledger exists.
The branch turns confidence-marked dimensions into an image-conditioned
code-CAD generation (reference pipeline: local CADAM + Claude via OpenRouter
→ BOSL2/OpenSCAD with a named module per part and editable parameters),
then validates the compiled mesh against an objective gate (renders /
watertight / envelope / min-wall / body count).
Non-negotiables, enforced by the reference:
- The prompt is built from the ledger — stated dims carry their values,
unknowns become named placeholder parameters, measurement-gated features are declared as placeholders in the prompt itself. - State fabrication floors (min wall, envelope) in the prompt; thin display geometry is the universal failure mode of image-conditioned generation.
- Every artifact carries provenance (pipeline, source image, cost, gate
scores) and the label GENERATED — not a measured master; recreations
from degraded intake are
provisionallike any other handoff. - Extract source from the tool's database, not its DOM; compile and gate locally, never trust the in-browser preview.
This branch complements CADFit: CADFit starts from a mesh/scan, this branch starts from photos + the ledger. Both end in parametric CAD with validation, and neither is builder-ready by itself.
Degraded-Mode Banner
When image_access_mode is anything other than direct, the first paragraph of every analysis artifact (notes, builder handoff, agent record summary) must be the following banner. Use the exact wording so downstream tooling can detect it; only fill the bracketed fields:
> **Image-access mode: <mode>.** This analysis was produced without analyst-verified pixels of [N] referenced image(s). All "observed" claims below are transcriptions of the user's prose, name, voice, or sketch — not pixel-verified. Dimensional confidence is capped per `references/confidence-language.md`. Builder handoffs derived from this analysis are **provisional** by default.
Where <mode> is one of description-only, missing, partial, file-path (when the file is present but pixels were not actually rendered by the runtime), or named-object.
Pair the banner with the intake: YAML block at the top of the observation ledger so a script can both render the warning to a human and parse the structured field.
Image Handling
When images are available, be explicit about viewpoint limits. Report visible features and occlusions separately. If no scale reference exists, estimate only proportions, ratios, counts, and qualitative geometry; ask for a ruler, caliper, coin, grid mat, known fastener, or known object in the next image before claiming absolute dimensions.
For photo-based dimension inference, prefer:
- Known scale object in the same plane as the feature.
- Orthographic front/side/top/bottom views.
- Close macro shots of joints, fasteners, wear, seams, labels, and mechanisms.
- Repeated-part counts and spacing.
- Shadow, perspective, and lens distortion warnings where relevant.
Intake When You Can't See Images
This skill has to work on platforms that don't render uploaded images and on mobile zip-upload paths that strip attachments. When that happens, fall back to one of these intake modes — each is legitimate, and each comes with its own confidence ceiling.
- Named-object mode. The user can identify the object ("vintage Coleman 200A lantern", "Yamaha YPT-220 keyboard", "duduk"). Treat the name as a strong but unverified pointer: pull on widely-known facts about the class, but mark every class-derived claim as
inferredwithclass-knowledgeas the basis and ask the user to confirm specifics (year, model variant, condition, modifications). Never fold class-typical dimensions into a builder handoff without per-instance measurement. - Voice/dictated description. The user speaks or types a description. Mirror their language back as
observedonly when they explicitly assert it ("I'm holding it now and I can see..."), and asassumedwhen they're describing memory or speculation. Ask for the same close-up details the photo checklist would request — just verbally. - Video. If the runtime can play or summarize video, use it the same as photos and additionally extract motion, sequence, and acoustic cues. If it can't, ask the user to scrub through and describe specific moments, or to extract still frames.
- Sketch or diagram. Treat as a stylized image: good for topology and connections, weak for absolute dimensions and proportions.
- Written description only. The leanest mode. Stick to topology, function, and named parts. Do not produce a dimension table from prose alone — produce a "feature register" instead and route every quantitative question into Measurement Requests.
In every no-vision mode, state the mode at the top of the analysis ("intake mode: named-object + dictated description, no images viewable") so the user knows what discipline you're operating under. Pair with instrument-maker's description-only intake when the object is a musical instrument.
Output Shape
For a normal analysis, produce these sections:
Input InventoryObserved FactsMeasured ValuesInferred FactsAssumptionsUnknownsMechanism or Construction HypothesisDimension TableMaterial and Process NotesConfidence NotesMeasurement RequestsBuilder ReadinessNext Handoff
For quick questions, compress the sections but keep the claim labels and confidence notes.
Builder-Ready Gate
Emit a builder-ready handoff only when all of these are true:
- The functional goal is clear.
- Critical dimensions are measured or have conservative tolerance ranges.
- Materials are known or acceptable substitutions are stated.
- Interfaces, fasteners, joints, or acoustic/contact surfaces are documented.
- Safety, legal, and product-boundary risks have been surfaced.
- Remaining unknowns are non-critical or are explicitly assigned to a test/prototype.
When image_access_mode is description-only, missing, partial, or named-object, the builder handoff is provisional by default. The header must read Handoff status: provisional and the assumptions list must mark each chosen dimension as assumed (intake degraded) with a retire-by step. Do not flip to builder-ready without either (a) the user explicitly accepting provisional outputs or (b) a follow-up pass with image_access_mode == direct or measured values supplied.
If a user asks to reproduce a proprietary product for commercial use, pause and ask for legal review before writing a production handoff. You may still provide learning-focused analysis, noncommercial repair notes, or high-level functional explanation.
Reference Map
references/observation-template.md: Claim ledger, dimension table, mechanism notes, and unknown register. Includes the requiredintake:YAML block.references/measurement-request-checklist.md: Follow-up photo and measurement checklist by object type.references/confidence-language.md: Approved confidence terms and phrases to avoid. Includes the dimensional-confidence cap for degraded-intake modes.references/builder-handoff-template.md: Compact handoff format formaker-engineering,makerspace, andinstrument-maker. Includes the provisional-by-default rule for degraded intake.references/image-access-recovery.md: Per-runtime recovery prompts when an image arrived but cannot be rendered (Claude Code, Codex CLI, web vision, Gemini CLI text mode, mobile zip-upload).references/parametric-recreation.md: Image → executable parametric CAD branch — CADAM/Fable prompt recipe built from the observation ledger, BOSL2/OpenSCAD conventions, DB source extraction, objective mesh-gate validation, cost telemetry, and GENERATED-labeling provenance. Proven on the 2026-07-02 four-instrument pilot series (fujara gate 1.000).references/cadfit-setup-license.md: CADFit optional external setup, attribution, runtime availability matrix, and license gate. Open before any CADFit mesh/scan workflow. CADFit is not bundled in this skill; the license gate currently flags redistribution/commercial-use risk.references/cadfit-feature-extractor.md: CADFit-style mesh/scan feature extractor adapter. Use only when a real mesh or point-cloud path exists; it returns candidate sketch profiles, slicing planes, revolution axes, or a degraded result asking for usable mesh input.references/cadfit-test-cad-program.md: CADFit-shapedtest_cad_program()scoring adapter. Use for candidate CadQuery program feedback; returns Invalid-Ratio, Volumetric IoU, and kernel failure/unavailable signals as data.references/cadfit-correction-loop.md: Error-guided correction and backward-pruning loop. Use after score payloads to map over-reconstruction tocut(), under-reconstruction tounion(), define termination, and preserve manufacturing-critical operations.
04 同仓库更多 Skills
clean-skill
Fixture skill with complete manifest metadata.
untracked-skill
Fixture skill absent from manifest.yaml.
tracked-skill
Fixture skill missing version, last-updated, and changelog coverage.
stale-changelog
Fixture skill whose changelog omits the canonical version.
yoga-sequencer
Design vinyasa-first yoga class sequences, peak-pose progressions, anatomical prep, counter-poses, heated-room safety adjustments, shorthand protocol parsing, transition-matrix lookup, Rosetta shorthand-transcript alignment, phase-gated class ingest, Reverse Sequence Engine scaffolds, DJI Mic capture QA, full class plans with phase timing plus playlist-builder handoff data, transitions-only classes where poses are never named and the connective tissue between shapes is the unit of instruction, and savasana-backward classes designed from final rest toward the minimum disturbance required to earn it. Use when planning a yoga class, sequencing for hips, shoulders, twists, or backbends, choosing prep for a peak pose, adapting a hot-room class, defining shorthand tokens or macros, parsing a five-line shorthand class, inspecting transitions between poses, aligning shorthand to transcript spans, phase-gating captured class JSON, splitting DJI Mic captures into transcript/audio paths, expanding shorthand into a 60-minute reviewed script scaffold, turning a class arc into music-ready phases, teaching movement without ever naming a pose, or designing stillness-first classes from a SavasanaSpec.
voice-to-cad
Turn a rough spoken or written product idea into a gated prototype: design brief, concept-image A/B, and parametric code CAD with provenance. Use for new-object brainstorming or voice-to-CAD requests; route existing-object reconstruction to reverse-engineer and finished specifications to maker-engineering.