callgraph-tracer

callgraph-tracer is a skill for Claude Code, Codex from marcosd4h/DeepExtractRuntime. It costs 84 tokens per session (4,091 once invoked), scanned A, original, MIT.

A tool for tracing which functions call which across Windows program files, including calls that cross DLL boundaries. It can also find paths between functions and produce call-graph diagrams.

In plain words
What is it for?
Use it to trace a function’s callers or callees, find a route between two functions, examine cross-module dependencies, or create a call graph from analysis databases.
Why use it?
It helps you follow a program’s execution without manually inspecting every function or module. This makes cross-DLL dependencies and execution routes easier to see.

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 trace a function’s callers or callees, find a route between two functions, examine cross-module dependencies, or create a call graph from analysis databases.

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/callgraph-tracer

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 callgraph-tracer

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marcosd4h/deepextractruntime/callgraph-tracer"><img src="https://agentmods.dev/badge/skills/marcosd4h/deepextractruntime/callgraph-tracer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,091 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.00084 $0.04091
Opus 5.5 $0.00034 $0.01636
Sonnet 5.5 $0.00017 $0.00818
Haiku 4.5 $0.00008 $0.00409

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

Security

Grade A, and why

callgraph-tracer 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 7 executable files (scripts/_common.py, scripts/analyze_detailed_xrefs.py, scripts/build_call_graph.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/callgraph-tracer/SKILL.md · 383 lines

How it starts

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

Call Graph Tracer & Cross-Module Chain Analysis

Purpose

Trace execution paths and call chains across extracted Windows PE binaries. Builds directed call graphs from simple_outbound_xrefs / simple_inbound_xrefs in analysis DBs, supports path finding, reachability analysis, and cross-module chain analysis -- following function calls across DLL boundaries to retrieve decompiled code at each step.

When NOT to Use

  • Tracing how a specific parameter or data value flows through functions -- use data-flow-tracer
  • PE-level import/export dependency mapping (loader-level, not code xrefs) -- use import-export-resolver
  • General function explanation or understanding decompiled code -- use re-analyst or /explain
  • Ranking entry points by attack value -- use map-attack-surface
  • Tracing attacker-controlled input to dangerous sinks -- use taint-analysis

Data Sources

  • Individual analysis DBs (extracted_dbs/{module}_{hash}.db): Per-function xrefs, decompiled code, signatures
  • Tracking DB (extracted_dbs/analyzed_files.db): Maps module names to their analysis DB paths
  • Xref fields used: simple_outbound_xrefs (callees) and simple_inbound_xrefs (callers)

Key xref properties for cross-module resolution:

  • function_id: non-null = callee is in the same module (query by ID)
  • function_id: null = callee is external (use module_name to find its DB)
  • module_name: DLL name (e.g., kernel32.dll) matching file_name in analyzed_files.db

Not all xrefs are function calls. The module_name field uses sentinel values:

  • "data" (function_type=4): global variable / data references -- not calls, skipped automatically
  • "vtable" (function_type=8): vtable dispatch references -- indirect, not directly followable
  • "internal" (function_type=1): same-module function -- followable via function_id
  • "static_library" (function_type=2): statically linked -- followable via function_id

All scripts automatically filter out data and vtable refs from call graphs and chain traversal. See reference.md for the full sentinel value table.

Read the full file on GitHub · 383 lines

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 · 383 lines · 84 tokens per session scan A 36d01cb4df78

Subscribe to this mod's changes

callgraph-tracer is a skill published in the GitHub repository marcosd4h/DeepExtractRuntime (21 stars, last pushed 2mo ago), licensed MIT. It adds 84 tokens to every session and 4,091 once invoked, about $0.0003 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

callgraph-tracer compared with skills from other repositories

callgraph-tracer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
callgraph-tracermarcosd4h/DeepExtractRuntimeSkill212mo agoMITA84Claude 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