teardown

teardown is a skill for Claude Code, Codex from DuanZGit/D-Hub. It costs 151 tokens per session (3,165 once invoked), scanned A, original, MIT.

A workflow for building an offline, interactive 3D simulator of a real machine or mechanism as one HTML page. The page can show moving parts, controls, cutaway views, gauges, and an automatic tour driven by the same model.

In plain words
What is it for?
Use it to create simulators of engines, gearboxes, pumps, landing gear, or linkages, then render the tour as a video when the required tools are available.
Why use it?
It turns a mechanical system into a self-contained visual explanation that people can inspect without a separate application or online service.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import {runSim} from '../kit/runtime.js';.

Good fit Use it to create simulators of engines, gearboxes, pumps, landing gear, or linkages, then render the tour as a video when the required tools are available.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/DuanZGit/D-Hub
agentmods
npx agentmods add skills/duanzgit/d-hub/teardown

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for teardown

README.md
[![agentmods](https://agentmods.dev/badge/skills/duanzgit/d-hub/teardown/github.svg)](https://agentmods.dev/skills/duanzgit/d-hub/teardown)
Your own site
<a href="https://agentmods.dev/skills/duanzgit/d-hub/teardown"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/teardown/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for teardown

Your own site · 80×15
<a href="https://agentmods.dev/skills/duanzgit/d-hub/teardown"><img src="https://agentmods.dev/badge/skills/duanzgit/d-hub/teardown.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,165 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00151 $0.03165
Opus 5.5 $0.00060 $0.01266
Sonnet 5.5 $0.00030 $0.00633
Haiku 4.5 $0.00015 $0.00316

Measured 29d ago against content hash 9395e463e8ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

teardown scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

The scan reads SKILL.md. This mod also ships 34 executable files (paths.mjs, run_sfx.py, sfx/__init__.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/teardown/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Teardown

One machine, one page. The visitor sees the thing run, presses a button, and the part doing the work opens up while the gauges around it read the real numbers. Left alone, the page tours itself with a cursor. The same code records a film of the tour, frame by frame, with a score built on the same timeline.

SKILL_DIR below is the folder this file lives in. Builds and renders go to ./teardown-out of the folder you run from.

First run

cd "$SKILL_DIR" && npm install && npx playwright install chromium

The pages need nothing else. The video needs ffmpeg on PATH and the score needs Python 3 (standard library only). Set FFMPEG, PYTHON or CHROMIUM to point at other binaries.

The 3 examples

Build one, open the HTML, press buttons. Copy the closest one when you start a new machine.

The machine What drives it Worth stealing
v8-* A cross-plane V8 with glass liners: the charge burns inside the cylinder you track, valves lift on their cams, 8 pistons move from the exact slider-crank. Crank angle. Firing order 1-8-4-3-6-5-7-2, a chamber pressure model for the indicator diagram. Cutaway modes (glass, section, solid), the firing order as a cylinder picker, live charts synced to the crank.
cessna-* The Cessna 337 main landing gear folding into the airframe on takeoff and dropping on landing. Stroke 0..1: a 201 mm rack turns a 32-tooth pinion (module 4 mm) through exactly 180°. One degree of freedom posing a whole mechanism, flight phases as functions of time, a runway that rolls under the model.
strandbeest-* Theo Jansen's Strandbeest, 20 legs on one crankshaft, walking broadside over sand. Wind. The crank speed is integrated from it; every joint follows by circle intersection from Jansen's 11 link lengths. An exact linkage solver in 67 lines, instanced tubes, foot traces, a contact chart of all 20 feet.

Each comes in 3 folders: <name>-shared/ holds the machine, <name>-film/ the recorded tour, <name>-live/ the page you drive.

Read the full file on GitHub · 145 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago First seen · 145 lines · 151 tokens per session scan A 9395e463e8ff

Subscribe to this mod's changes

teardown is a skill published in the GitHub repository DuanZGit/D-Hub (0 stars, last pushed yesterday), licensed MIT. It adds 151 tokens to every session and 3,165 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

teardown compared with skills from other repositories

teardown next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
teardownDuanZGit/D-HubSkill0yesterdayMITA151Claude Code, Codex
edgeone skill scannerTencent/AI-Infra-GuardSkill7.9k3d agoApache-2.0A148Claude Code, Codex
babysitkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A45Claude Code
rubber-duckkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A161Claude Code, Codex
project-wikiGeminiLight/MindOSSkill707yesterdayMITA63Claude Code, Codex
mindos-zhGeminiLight/MindOSSkill707yesterdayMITA490Claude Code
mindos-maxGeminiLight/MindOSSkill707yesterdayMITA145Claude Code