classify-functions

classify-functions is a skill for Claude Code, Codex from marcosd4h/DeepExtractRuntime. It costs 105 tokens per session (2,854 once invoked), scanned A, original, MIT.

A tool that automatically groups every function in a DeepExtractIDA database by likely purpose, such as file access, registry use, networking, cryptography, security, telemetry, dispatch, or initialization. It uses code, strings, names, API calls, and structural measurements.

In plain words
What is it for?
Use it to create a function index, identify functions related to files, registries, networks, cryptography, or security, and prioritize functions for deeper review.
Why use it?
It helps researchers triage large Windows binaries, where manually reviewing thousands of functions would take too long. The categories point attention toward relevant parts of a module.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .claude/skills/decompiled-code-extractor/scripts/find_module_db.py --list.

Good fit Use it to create a function index, identify functions related to files, registries, networks, cryptography, or security, and prioritize functions for deeper review.

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/marcosd4h/DeepExtractRuntime
agentmods
npx agentmods add skills/marcosd4h/deepextractruntime/classify-functions

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 classify-functions

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcosd4h/deepextractruntime/classify-functions/github.svg)](https://agentmods.dev/skills/marcosd4h/deepextractruntime/classify-functions)
Your own site
<a href="https://agentmods.dev/skills/marcosd4h/deepextractruntime/classify-functions"><img src="https://agentmods.dev/badge/skills/marcosd4h/deepextractruntime/classify-functions/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 classify-functions

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcosd4h/deepextractruntime/classify-functions"><img src="https://agentmods.dev/badge/skills/marcosd4h/deepextractruntime/classify-functions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,854 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.00105 $0.02854
Opus 5.5 $0.00042 $0.01142
Sonnet 5.5 $0.00021 $0.00571
Haiku 4.5 $0.00011 $0.00285

Measured 3mo ago against content hash 8da9b8409cc0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

classify-functions 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 3mo ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/_common.py, scripts/classify_function.py, scripts/classify_module.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/classify-functions/SKILL.md · 272 lines

How it starts

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

Function Purpose Classification & Triage

Purpose

Automatically categorize every function in a DeepExtractIDA analysis database into purpose categories using multiple signal sources:

  • API usage signature: outbound xrefs classified by category (file I/O, registry, network, crypto, etc.)
  • String analysis: registry paths, error messages, format strings, URLs, ETW providers
  • Naming patterns: Wpp*/_tlg*/wil_* = telemetry; ??0/??1 = constructors/destructors; sub_* = unnamed
  • Assembly metrics: instruction count, call count, branch count, leaf detection (from raw assembly)
  • Structural metrics: loop count, cyclomatic complexity from loop analysis

Output is a categorized function index for the entire module, enabling researchers to triage 1000+ function binaries and focus effort on the most interesting functions.

When NOT to Use

  • Deep security analysis of a specific function -- use security-dossier or taint-analysis
  • Understanding what a specific function does line-by-line -- use re-analyst or /explain
  • Generating a full module report with imports, exports, and architecture -- use generate-re-report
  • Mapping entry points and ranking by attack value -- use map-attack-surface
  • Scanning for specific vulnerability patterns -- use ai-memory-corruption-scanner or ai-logic-scanner

Data Sources

SQLite Databases (primary)

Individual analysis DBs in extracted_dbs/ provide per-function data:

  • simple_outbound_xrefs -- API calls (classified into categories)
  • string_literals -- string content analysis
  • function_name / mangled_name -- naming pattern matching
  • assembly_code -- structural metrics (instruction/call/branch counts)
  • loop_analysis -- loop count and cyclomatic complexity
  • dangerous_api_calls -- security-relevant API usage

Finding a Module DB

Reuse the decompiled-code-extractor skill's find_module_db.py:

python .claude/skills/decompiled-code-extractor/scripts/find_module_db.py --list
python .claude/skills/decompiled-code-extractor/scripts/find_module_db.py appinfo.dll

Read the full file on GitHub · 272 lines

Files

What ships with it

6 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. 3mo ago First seen · 272 lines · 105 tokens per session scan A 8da9b8409cc0

Subscribe to this mod's changes

classify-functions is a skill published in the GitHub repository marcosd4h/DeepExtractRuntime (21 stars, last pushed 2mo ago), licensed MIT. It adds 105 tokens to every session and 2,854 once invoked, about $0.0004 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-08-30.

Related

classify-functions compared with skills from other repositories

classify-functions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
classify-functionsmarcosd4h/DeepExtractRuntimeSkill212mo agoMITA105Claude Code, Codex
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
diagnosing-missing-recordingsPostHog/posthogSkill41ktodaynoneA76Claude Code, Codex