orkid: Skill for Claude Code

.claude/skills/orkcore-varmap/SKILL.md

orkcore-varmap is a skill for Claude Code from tweakoz/orkid. It costs 73 tokens per session (1,418 once invoked), scanned A, original, MIT.

A reference for Orkid's VarMap, a container that stores named values of different types and supports both Python attributes and dictionary-style access. It also explains the related variant value type and common uses across Orkid.

In plain words
What is it for?
Use it to answer implementation questions about VarMap, dynamic properties, Python bindings, state variables, widget data, and annotations.
Why use it?
It prevents guesswork when reading or changing code that passes flexible data between Orkid components. It explains how nested values, annotations, copying, and missing keys behave.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

This is tweakoz/orkid's own configuration. It tells Claude Code how to work on orkid itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything orkid configures →

Reuse

Borrowing it

Nothing to install: this file belongs to tweakoz/orkid. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tweakoz/orkid/develop/.claude/skills/orkcore-varmap/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tweakoz/orkid

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orkcore-varmap

README.md
[![agentmods](https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-varmap/github.svg)](https://agentmods.dev/skills/tweakoz/orkid/orkcore-varmap)
Your own site
<a href="https://agentmods.dev/skills/tweakoz/orkid/orkcore-varmap"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-varmap/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for orkcore-varmap

Your own site · 80×15
<a href="https://agentmods.dev/skills/tweakoz/orkid/orkcore-varmap"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-varmap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,418 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01418
Opus 5.5 $0.00029 $0.00567
Sonnet 5.5 $0.00015 $0.00284
Haiku 4.5 $0.00007 $0.00142

Measured 2mo ago against content hash 1f0ec6530c25, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

orkcore-varmap scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/orkcore-varmap/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orkid VarMap Reference

When answering questions about VarMap in orkid, consult these files.

Key Files

Component Location
VarMap Template ork.core/inc/ork/kernel/varmap.inl
VarMap Impl ork.core/src/kernel/varmap.cpp
svar128_t (variant) ork.core/inc/ork/kernel/svariant.h
Python Bindings ork.core/inc/ork/python/common_bindings/pyext_varmap.inl

Core Concept

VarMap is a std::map<std::string, svar128_t> — a dynamic key-value store where values are 128-byte stack-allocated variants. Used throughout orkid as a universal data container.

Python API

from orkengine.core import VarMap

vm = VarMap()

# Attribute access (most common)
vm.name = "hello"           # __setattr__ → setValueForKey
val = vm.name                # __getattr__ → valueForKey
"name" in vm                 # __contains__
len(vm)                      # __len__

# Dotted keys (for annotations)
setattr(vm, "editor.filebase", "<assetcache>")

# Dictionary-style
vm["key"]                    # __getitem__ (raises on missing)

# Utilities
vm.keys()                    # List of all keys
vm.clone()                   # Deep copy
vm.dumpToString()            # Formatted dump with types

Supported Value Types

Anything that fits in svar128_t (128 bytes):

  • Primitives: bool, int, float, double, str
  • Math: fvec2, fvec3, fvec4, fmtx3, fmtx4, fquat
  • Pointers: std::shared_ptr<T> for any type
  • Nested: VarMap (for hierarchical data)
  • Other: CrcString, datablock_ptr_t, etc.

C++ API

auto vm = std::make_shared<varmap::VarMap>();

// Set/get
vm->setValueForKey("name", val);        // Set svar128_t value
vm->valueForKey("name");                // Get (returns nil if missing)
vm->typedValueForKey<float>("speed");   // Type-safe get (attempt_cast)
vm->hasKey("name");                     // Check existence

// Typed helpers
vm->set<float>("speed", 1.5f);
vm->makeValueForKey<std::string>("label", "hello");  // Construct in-place
vm->makeSharedForKey<MyClass>("obj", args...);        // Construct shared_ptr

// Number coercion
vm->tryKeyAsNumber("value");            // Float from float/double/int
vm->tryKeyAsInteger("count");           // Int from int/float/double

// Utility
vm->clone();                            // Deep copy
vm->mergeVars(other_vm);                // Merge other into this
vm->hash();                             // CRC64 hash
vm->dumpkeys();                         // Vector of all keys

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 153 lines · 73 tokens per session scan A 1f0ec6530c25

Subscribe to this mod's changes

orkcore-varmap is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 2mo ago), licensed MIT. It adds 73 tokens to every session and 1,418 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

orkcore-varmap compared with skills from other repositories

orkcore-varmap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orkcore-varmaptweakoz/orkidSkill352mo agoMITA73Claude Code
claude-apiwarpdotdev/warpSkill66kyesterdayAGPL-3.0A193Claude Code, Codex
add-backendalibaba/anolisaSkill6031mo agoApache-2.0A46Claude Code
et-asyncFlameskyDexive/Legends-Of-HeroesSkill9361mo agoMITA61Claude Code, Codex
webrtc-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A78Claude Code
citedy-content-ingestioncitedy/adclawSkill493mo agoApache-2.0A53Claude Code, Codex
service-explorerbolivian-peru/os-modaSkill1214mo agoApache-2.0A39Claude Code, Codex