AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Get Func From Yaml

skill-hlnd2t-cs2-vibesignatures-get-func-from-yaml · by HLND2T

Load function information from a pre-generated YAML file. Use this skill when you need function address, size, signature, and optional vtable metadata before downstream analysis. This skill checks for existing function YAML files and errors out if not found.

No reviews yet
0 installs
25 views
0.0% view→install

Install

$ agentstack add skill-hlnd2t-cs2-vibesignatures-get-func-from-yaml

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access Used
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-hlnd2t-cs2-vibesignatures-get-func-from-yaml)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Get Func From Yaml? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Get Function from YAML

Load function information from a pre-generated {func_name}.{platform}.yaml file beside the binary.

Parameters

  • func_name: The function name to look up (e.g., CBaseModelEntity_SetModel, CCSPlayerController_ChangeTeam, CEntityInstance_AcceptInput)

Method

1. Check and Load Function YAML

Run the following code with the appropriate func_name:

mcp__ida-pro-mcp__py_eval code="""
import idaapi
import os

func_name = ""  # Replace with actual function name

input_file = idaapi.get_input_file_path()
dir_path = os.path.dirname(input_file)
platform = 'windows' if input_file.endswith('.dll') else 'linux'

yaml_path = os.path.join(dir_path, f"{func_name}.{platform}.yaml")

if os.path.exists(yaml_path):
    with open(yaml_path, 'r', encoding='utf-8') as f:
        print(f.read())
    print("FUNC_YAML_EXISTS: True")
else:
    print(f"ERROR: Required file {func_name}.{platform}.yaml not found.")
"""

2. Handle Result

If YAML exists (FUNC_YAML_EXISTS: True), extract available values from the output:

  • func_name: Function name (if present)
  • func_va: Function virtual address (if present)
  • func_rva: Function relative virtual address (if present)
  • func_size: Function size in bytes (if present)
  • func_sig: Function signature bytes (if present)
  • vtable_name: Related vtable class name (optional, virtual-function YAML only)
  • vfunc_offset: Offset from vtable start (optional, virtual-function YAML only)
  • vfunc_index: Index in vtable (optional, virtual-function YAML only)

Example YAML content:

func_name: CCSPlayerController_Respawn
func_va: 0x180A8CA10
func_rva: 0xA8CA10
func_size: 0x3F
func_sig: 41 B8 80 00 00 00 48 8D 99 10 05 00 00
vtable_name: CCSPlayerController
vfunc_offset: 0x330
vfunc_index: 102

If some fields are missing, use only the fields that exist in YAML and do not fabricate values.

If YAML does NOT exist, ERROR OUT and report to user:

ERROR: Required file {func_name}.{platform}.yaml not found.
Please run `/write-func-as-yaml` with func_name={func_name} first.
For virtual functions, `/write-vfunc-as-yaml` is also acceptable.

Do NOT proceed with any remaining steps in the calling skill.

Usage in Other Skills

When a skill needs function information, use this skill first:

### 1. Get {FuncName} Function Info

**ALWAYS** Use SKILL `/get-func-from-yaml` with `func_name={FuncName}`.

If the skill returns an error, stop and report to user.
Otherwise, extract `func_va`, `func_sig`, and other available fields for subsequent steps.

Example Output

| Field | Description | Example | |-------|-------------|---------| | func_name | Function name | CCSPlayerController_Respawn | | func_va | Virtual address of function (optional in some virtual-function YAML) | 0x180A8CA10 | | func_rva | Relative virtual address (optional) | 0xA8CA10 | | func_size | Function size in bytes (optional) | 0x3F | | func_sig | Byte signature (optional) | 41 B8 80 00 00 00 ... | | vtable_name | Related class name for virtual function (optional) | CCSPlayerController | | vfunc_offset | Offset from vtable start (optional) | 0x330 | | vfunc_index | Index in vtable (optional) | 102 |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.