write-globalvar-as-yaml

Writes GV analysis results to a per-platform YAML file next to the source binary.

60|11|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/HLND2T/CS2_VibeSignatures --skill write-globalvar-as-yaml-hlnd2t
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-globalvar-as-yaml
Source: https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/write-globalvar-as-yaml
Command: npx skills add https://github.com/HLND2T/CS2_VibeSignatures --skill write-globalvar-as-yaml-hlnd2t

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Persist global variable analysis results to a YAML file beside the binary using IDA Pro MCP.

Core Features & Use Cases

  • Persist global-variable data: writes GV details (name, VA, RVA, GV signature, and reference instruction data) to a per-platform YAML file next to the binary.
  • Platform-aware: detects Windows (.dll) vs Linux (.so) and computes GV relative addresses accordingly.
  • Automation-friendly: outputs the YAML into the same directory as the input binary for easy integration into pipelines.

Quick Start

Run the included IDA Pro MCP script after GV identification to generate the YAML alongside the binary.

Frequently Asked Questions about write-globalvar-as-yaml

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist global variable analysis results to a YAML file using IDA Pro?

To persist global variable analysis, run the IDA Pro MCP script after GV identification to generate a YAML file containing gv_name, gv_va, gv_rva, and signature data beside the target binary.

What global variable details are saved when exporting IDA Pro binary analysis to YAML?

The global variable YAML export saves gv_name, gv_va, gv_rva, gv_sig, gv_sig_va, gv_inst_offset, gv_inst_length, and gv_inst_disp to provide a reproducible artifact for reverse engineering.

Does IDA Pro global variable YAML export support both Windows and Linux binaries?

Yes, the IDA Pro MCP global variable export detects platform based on the DLL or SO file extension, computing GV relative virtual addresses accordingly for each operating system.

How do I automate global variable signature persistence across binary updates in reverse engineering?

You can automate signature persistence by running the IDA Pro MCP script to output a per-platform YAML file next to the binary, ensuring global variable analysis remains reproducible across updates.

Where does the IDA Pro MCP script output the global variable YAML file?

The IDA Pro MCP script outputs the per-platform global variable YAML file into the same directory as the input binary, using the naming convention <gv_name>.<platform>.yaml for pipeline integration.

What are the limitations of using YAML for global variable persistence in binary analysis?

YAML persistence requires prior global variable identification and signature generation within IDA Pro, making it dependent on upstream binary analysis steps before generating the reproducible artifact.