nuitka-nbc-rebuilder

nuitka-nbc-rebuilder is a skill for Claude Code, Codex from DimaReverse/nuitka-static-unpacker. It costs 142 tokens per session (2,120 once invoked), scanned A, original, MIT.

A forensic reconstruction skill for recovering Python source from Nuitka .nbc files. Nuitka is a tool that packages Python programs, while an .nbc file contains compiled and reconstructed module data rather than ordinary source code.

In plain words
What is it for?
Use it when working with .nbc files or sections such as @OPS, @ASM, @CONSTS, and @FORENSICS to rebuild one or more Python modules.
Why use it?
It helps recover readable code when the original Python source is unavailable, while marking parts that the available evidence cannot establish.

Skill for Claude CodeCodex

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

Good fit Use it when working with .nbc files or sections such as @OPS, @ASM, @CONSTS, and @FORENSICS to rebuild one or more Python modules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dimareverse/nuitka-static-unpacker/nuitka-nbc-rebuilder-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DimaReverse/nuitka-static-unpacker --skill nuitka-nbc-rebuilder-skill
Clone the repo
git clone --depth 1 https://github.com/DimaReverse/nuitka-static-unpacker

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 nuitka-nbc-rebuilder

README.md
[![agentmods](https://agentmods.dev/badge/skills/dimareverse/nuitka-static-unpacker/nuitka-nbc-rebuilder-skill/github.svg)](https://agentmods.dev/skills/dimareverse/nuitka-static-unpacker/nuitka-nbc-rebuilder-skill)
Your own site
<a href="https://agentmods.dev/skills/dimareverse/nuitka-static-unpacker/nuitka-nbc-rebuilder-skill"><img src="https://agentmods.dev/badge/skills/dimareverse/nuitka-static-unpacker/nuitka-nbc-rebuilder-skill/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 nuitka-nbc-rebuilder

Your own site · 80×15
<a href="https://agentmods.dev/skills/dimareverse/nuitka-static-unpacker/nuitka-nbc-rebuilder-skill"><img src="https://agentmods.dev/badge/skills/dimareverse/nuitka-static-unpacker/nuitka-nbc-rebuilder-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,120 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00142 $0.02120
Opus 5 $0.00071 $0.01060
Sonnet 5 $0.00028 $0.00424
Haiku 4.5 $0.00014 $0.00212

Measured 12d ago against content hash f0ca76da0deb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

nuitka-nbc-rebuilder 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 12d ago.

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.

nuitka-nbc-rebuilder-skill/SKILL.md · 179 lines

How it starts

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

Nuitka NBC -> Python Source

Rebuild Python source from a Nuitka .nbc file with maximum fidelity to the original module. Treat the .nbc as forensic evidence, not as a normal Python bytecode listing. Nuitka may have removed comments, formatting, some local names, and may have inlined or optimized logic; never promise exact 1:1 output when the evidence is incomplete.

If the user needs to generate inputs first, prefer:

python nuitka_decompiler.py --source target.exe --output OUT --only app,app.* --nbc-only

Output Contract

Emit one Python code block per module:

# MODULE: <module.dotted.name>
# CONFIDENCE: <percent>% evidence-backed reconstruction
# UNCERTAIN SPANS: <count>

<imports>
<globals>
<classes>
<functions>

No prose outside the code block unless the user explicitly asks for explanation. If a required .nbc section is missing, ask for the missing data instead of fabricating code.

Non-Negotiable Rules

  1. Do not invent logic. Every emitted statement must be supported by @OPS, @ASM, @CONSTS, @IMPORTS, @CODE_OBJECTS, or @FORENSICS.
  2. Preserve every literal exactly as shown in @CONSTS: strings, URLs, numbers, dict keys, format strings, escapes, and casing.
  3. Preserve imported names exactly when they are evidenced. Do not add imports for convenience.
  4. Mark uncertain code with # UNCERTAIN: <specific reason>.
  5. Prefer a short uncertain body over a plausible but unsupported body.
  6. Do not add comments, docstrings, logging, exception handling, async, crypto primitives, decorators, or helper functions unless the .nbc supports them.
  7. Do not collapse an evidenced sequence into .... If @OPS and @ASM show imports, attribute chains, calls, branches, or returns, reconstruct the smallest Python statement sequence that matches that evidence and mark only the missing operand or receiver as uncertain.

NBC/2 Sections

  • @NBC 2: format marker.
  • @MOD: module name.
  • @VER: CPython target version.
  • @ENTRY: native VA of the module entry function.
  • @MODULE_TABLE: loader-table metadata; func_ptr confirms the module entry.
  • @RAW_CHUNK: base64 of the original Nuitka constants chunk. Use it only to verify or re-parse evidence; do not decode it by hand unless necessary.
  • @CONSTS <count> mode=full_repr: authoritative mod_consts table.
  • @IMPORTS: analyzer-suggested import statements.
  • @FUNCS_DETECTED: inferred function signatures.
  • @CODE_OBJECTS: code-object metadata where Nuitka preserved it.
  • @BLOCKS: summary of disassembled native blocks.
  • @OPS <va> # <qualname>: virtual operations derived from native code.
  • @ASM <va>: source-relevant annotated native assembly. Low-signal native moves may be omitted by the emitter; use this to resolve ambiguous @OPS, arithmetic, comparisons, attribute names, and C-API calls.
  • @FORENSICS and @NO_OPS <qualname>: evidence for functions without a reachable @OPS body.
  • Bare @NO_OPS: the whole module lacks disassembly; emit only signatures and constants-backed globals with uncertainty markers.

Read the full file on GitHub · 179 lines

Files

What ships with it

4 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. 12d ago First seen · 179 lines · 142 tokens per session scan A f0ca76da0deb

Subscribe to this mod's changes

nuitka-nbc-rebuilder is a skill published in the GitHub repository DimaReverse/nuitka-static-unpacker (132 stars, last pushed 20d ago), licensed MIT. It adds 142 tokens to every session and 2,120 once invoked, about $0.0007 per session on Opus 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-08-30.

Related

Other skills, from other repositories

python-code-quality

Code quality checks, linting, formatting, and type checking commands for the Agent Framework Python codebase. Use this when running checks, fixing lint errors, or troubleshooting CI failures.

microsoft/agent-framework · 40 tokens

plugin-architecture-patterns

Design, implement, or diagnose Xberg plugin traits, typed registries, priority collisions, lifecycle, native extractors, and Alef-generated Python plugin bridges. Load for plugin-system work, not ordinary extractor parsing.

xberg-io/xberg · 49 tokens

test-corpus

The testdocuments submodule is a bucket-fetched fixture corpus that is not committed. This skill covers readtestfixture, missing fixtures, valid A/B controls, and submodule push order. Load before running Rust tests on a fresh clone, setting up an A/B control, adding a fixture-backed test, or diagnosing…

xberg-io/xberg · 72 tokens

idapython

IDA Pro Python scripting for reverse engineering. Use when writing IDAPython scripts, analyzing binaries, working with IDA's API for disassembly, decompilation (Hex-Rays), type systems, cross-references, functions, segments, or any IDA database manipulation. Covers ida modules (50+), idautils iterators, and common…

mrexodia/ida-pro-mcp · 77 tokens

stack-trace-python-probe

Internal helper for meta-stack-trace-investigator. Use when a Python traceback needs Python-specific root-cause checks, pytest reproducer guidance, and defensive patch targets.

opensquilla/opensquilla · 40 tokens

python-debug-execution-911f17

Debug Python script execution failures by capturing full tracebacks and verifying working directory.

HKUDS/OpenSpace · 23 tokens