write-structoffset-as-yaml

Save struct member offset analysis results to standardized YAML files.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires idaapi, os, yaml.

What problem does it solve?

This Skill automates the process of saving identified struct member offsets and their associated metadata into a standardized YAML format, preventing data loss and ensuring consistency.

Core Features & Use Cases

  • Structured Data Persistence: Saves struct name, member name, offset, and optional size/signature details to a YAML file.
  • Cross-Platform Compatibility: Automatically detects and appends the correct platform extension (.windows.yaml or .linux.yaml) to the output file.
  • Use Case: After analyzing a C++ struct in IDA Pro and finding the offset for a critical member like m_health within CPlayer, use this skill to generate CPlayer_m_health.windows.yaml for later reference or integration into other tools.

Quick Start

Use the write-structoffset-as-yaml skill to save the offset for the 'm_iHealth' member of the 'CBaseEntity' struct as 0x408 on the current binary.

Frequently Asked Questions about write-structoffset-as-yaml

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

FAQPage Schema
How do I save struct member offsets from IDA Pro to a YAML file?

To save struct member offsets to a YAML file, use this Skill to persist the struct name, member name, and hexadecimal offset directly from IDA Pro. It automatically generates a standardized YAML file with the correct platform extension.

How do I persist IDA Pro struct offsets for cross-platform reverse engineering?

Persisting IDA Pro struct offsets for cross-platform reverse engineering is done by exporting the analysis results to YAML. The Skill automatically detects the input binary extension and appends `.windows.yaml` or `.linux.yaml`.

Can I include byte signatures and displacements when saving struct offsets to YAML?

Yes, you can include byte signatures and displacements when saving struct offsets to YAML. The Skill supports persisting optional size and byte signature metadata alongside the struct name, member name, and offset.

What is the best way to document C++ struct member offsets for later reference?

The best way to document C++ struct member offsets is to persist them into standardized YAML files. This prevents data loss and ensures consistency, generating files like `CBaseEntity_m_iHealth.windows.yaml` for later integration.

Does the write-structoffset-as-yaml skill require manual platform detection for the output file?

No, manual platform detection is not required. The Skill automatically determines the output file platform based on the input binary extension, appending the correct `.windows.yaml` or `.linux.yaml` suffix.