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.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00042 $0.02046
Sonnet 5 $0.00017 $0.00818
Haiku 4.5 $0.00008 $0.00409

Measured 6d ago against content hash 36d01cb4df78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 (19 stars, last pushed 4mo ago), licensed MIT. It adds 84 tokens to every session and 4,091 once invoked, about $0.0004 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

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

systematic-debugging

Use when debugging a failing test, build error, or runtime issue that isn't immediately obvious. Guides a 4-phase root cause analysis instead of random fix attempts.

open-metadata/OpenMetadata · 37 tokens

diagnose

Trace from a reproduced symptom to the source code that causes it. Pin the specific file and approximate line, rate confidence in the cause and clarity of the fix independently, and always propose a concrete fix.

emdash-cms/emdash · 43 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

log-error-digest

Analyze log files to troubleshoot errors, identify peak error periods, and produce error clustering, frequency statistics, and time distribution reports. Supports JSON, syslog, and Nginx formats with automatic detection. Use when a user uploads a .log file and asks to analyze errors, find patterns, debug issues, or…

zebbern/claude-code-guide · 71 tokens

byted-util-volcengine-detect-retry

Orchestrates Volcengine Cloud Detect (云拨测) false-alarm reduction for failing periodic-task dial points. Use for scheduled task scans, retrying failed nodes, control-testing node health, distinguishing real target outages from broken dial points, and suggesting same-type LastMile/IDC/Private replacement nodes. Runs the…

bytedance/agentkit-samples · 101 tokens