AGENT SKILL

re-triage-preflight

Run a fast, hash-cached reverse-engineering TRIAGE preflight on an unknown binary BEFORE deep analysis — folds file-format detection, Shannon-entropy packer triage (works with zero external tools), Detect-It-Easy (diec), FLOSS auto string-deobfuscation, and capa capabilities into ONE structured TRIAGE block, cached by SHA-256 so re-runs are instant. Use when you are about to reverse a native binary (PE/ELF/Mach-O/DEX/.so), triage an unknown/suspicious file, check whether a sample is packed/obfuscated, or want a cheap first-pass before opening IDA/Ghidra/radare2. Advisory only — never blocks, degrades gracefully when a tool is missing. Inert until an RE context. Triton dynamic-taint and VulnHuntr/objdiff+m2c are documented opt-in follow-ons; the revula mega-bundle is rejected.

License 许可
MIT
最近更新
2026-11-02
Stars
★ 0
Forks
0

01 前言 Front Matter

name
re-triage-preflight
origin
user
description
Run a fast, hash-cached reverse-engineering TRIAGE preflight on an unknown binary BEFORE deep analysis — folds file-format detection, Shannon-entropy packer triage (works with zero external tools), Detect-It-Easy (diec), FLOSS auto string-deobfuscation, and capa capabilities into ONE structured TRIAGE block, cached by SHA-256 so re-runs are instant. Use when you are about to reverse a native binary (PE/ELF/Mach-O/DEX/.so), triage an unknown/suspicious file, check whether a sample is packed/obfuscated, or want a cheap first-pass before opening IDA/Ghidra/radare2. Advisory only — never blocks, degrades gracefully when a tool is missing. Inert until an RE context. Triton dynamic-taint and VulnHuntr/objdiff+m2c are documented opt-in follow-ons; the revula mega-bundle is rejected.

02 资源文件 1

03 SKILL.md 正文

re-triage-preflight Skill

A cheap, deterministic first pass over an unknown binary that answers the questions you always ask before opening a disassembler:

  • What is this file? (PE / ELF / Mach-O / DEX / ZIP-APK / script / raw)
  • Is it packed or obfuscated? (entropy verdict + Detect-It-Easy, if present)
  • What strings does it hide? (FLOSS static + auto-deobfuscated stack/decoded)
  • What can it do? (capa capability rules → ATT&CK, if the CLI is present)

Everything is folded into one TRIAGE: block and cached by SHA-256, so the second time you touch the same file the answer is instant.

This rides the existing re-harness bus (same re-ensure idiom, same SUCCESS:/FAILED: terminal markers). Folding the block into re_launch.py as an auto-inject is a follow-on (see Follow-ons below) — this skill ships the standalone script first.

Script

C:/Users/agentuser/.Codex/skills/re-triage-preflight/triage.py — stdlib-only, Python 3.9+. External tools (diec / FLOSS / capa / Triton) are invoked as subprocesses only (never imported), so the script is import-safe even when they are absent.

# Fast default (format + entropy packer verdict + DiE if installed). Sub-second.
python triage.py /path/to/sample

# Deep pass: also FLOSS (all string types = deobfuscation) + capa.
python triage.py /path/to/sample --full

# Machine-readable
python triage.py /path/to/sample --json

# Just the FLOSS deobfuscation, longer budget
python triage.py /path/to/sample --tools format,entropy,floss --floss-full --timeout 300

### Availability report / internal unit checks
### What each signal means
### Contract (why this is safe to run anywhere)
### Installing the optional tools
### Follow-ons (documented, not built here)
### Verify

04 同仓库更多 Skills

Prekzursil
Prekzursil/agent-skills-toolchain

clarify-requirements

Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

openmm-md

Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

visual-review

Take screenshots of web pages and UI using Playwright for visual review and iteration

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

status

Diagnostic status report — shows metaswarm installation state, project setup, and potential issues

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

start

Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work

★ 0
Prekzursil
Prekzursil/agent-skills-toolchain

setup

Interactive project setup — detects your project, configures metaswarm, writes project-local files

★ 0