Get Func From Yaml logo

Get Func From Yaml

Organization
HLND2T
get-func-from-yaml

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.

Overview

PublisherHLND2T
RepositoryCS2_VibeSignatures
Skill nameget-func-from-yaml
Stars
67
Forks
11
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by HLND2T on GitHub. Read the source before you install it.

Installation

Install the Get Func From Yaml AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/get-func-from-yaml
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HLND2T/CS2_VibeSignatures.git /tmp/CS2_VibeSignatures
mkdir -p .claude/skills
cp -r /tmp/CS2_VibeSignatures/.claude/skills/get-func-from-yaml .claude/skills/get-func-from-yaml
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Get Func From Yaml in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Get Func From Yaml on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Get Func From Yaml is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

FieldDescriptionExample
func_nameFunction nameCCSPlayerController_Respawn
func_vaVirtual address of function (optional in some virtual-function YAML)0x180A8CA10
func_rvaRelative virtual address (optional)0xA8CA10
func_sizeFunction size in bytes (optional)0x3F
func_sigByte signature (optional)41 B8 80 00 00 00 ...
vtable_nameRelated class name for virtual function (optional)CCSPlayerController
vfunc_offsetOffset from vtable start (optional)0x330
vfunc_indexIndex in vtable (optional)102

Frequently asked questions

What does the Get Func From Yaml AI skill do?

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.

Why use Get Func From Yaml on TypingMind?

Because you install it once and use it with any model. Get Func From Yaml is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Get Func From Yaml in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HLND2T/CS2_VibeSignatures/tree/main/.claude/skills/get-func-from-yaml. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Get Func From Yaml?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Get Func From Yaml?

As many as you like. As long as a model supports skills, you can use Get Func From Yaml with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Get Func From Yaml AI skill free?

Yes. It is published on GitHub by HLND2T under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇