Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Get Func From Yaml

ASecurity

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.

3 stars
0 votes
0 copies
0 views
Added 9/27/2026
developmentpythonapi

Works with

apimcp

Security Analysis

A100/100

Scanned 9/27/2026

Install to Claude Code

$npx -y skills add mrc4tt/CS2_VibeSignatures --skill get-func-from-yaml --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Get Func From Yaml?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Get Func From Yaml
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mrc4tt-get-func-from-yaml/badge)](https://www.skillsdirectory.com/skills/mrc4tt-get-func-from-yaml)

More formats (shields.io, HTML) on the badges page.

Download with Pro
Files
SKILL.md
---
name: get-func-from-yaml
description: 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.
---

# 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`:

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

func_name = "<FUNC_NAME>"  # Replace with actual function name

input_file = idaapi.get_input_file_path()
dir_path = os.environ.get('CS2VIBE_ARTIFACT_DIR') or 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:
```yaml
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:

```markdown
### 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` |

Attribution

mrc4ttmrc4tt
View sourceMore from mrc4tt →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

284972 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2222 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

10311 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →