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 $0.00036 $0.00709
Sonnet 5 $0.00015 $0.00284
Haiku 4.5 $0.00007 $0.00142

Measured 7d ago against content hash 1f0ec6530c25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 7d 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. 7d 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 27d ago), licensed MIT. It adds 73 tokens to every session and 1,418 once invoked, about $0.0004 per session on Opus 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

Other skills, from other repositories

claude-api

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports anthropic/@anthropic-ai/sdk; user asks for…

warpdotdev/warp · 193 tokens

add-backend

Guide for adding a backend (Rust or Python) to the agent-sec-core security middleware. Use when creating new backends, integrating Rust or Python code into the security middleware, or extending with new backend actions.

alibaba/anolisa · 46 tokens

et-async

ET async and EntityRef safety workflow. Use when adding, modifying, or reviewing async/await, ETTask, generic ETTask results, ETCancellationToken, NewContext, concurrent waits, handler Run async safety, or any Entity access after await in WOW/ET code or tests.

FlameskyDexive/Legends-Of-Heroes · 61 tokens

webrtc-expert

Expert in WebRTC real-time communication, signaling protocols, ICE/STUN/TURN servers, peer connections, media streams, and building video/audio applications. Use when the user mentions real time, video, audio, peer to peer, signaling, or ice, or when the task involves WebRTC Architecture, Protocols & Standards, Basic…

personamanagmentlayer/pcl · 78 tokens

citedy-content-ingestion

Turn any URL into structured content — YouTube videos (via Gemini Video API), web articles, PDFs, and audio files. Extract transcripts, summaries, and metadata for use in any LLM pipeline. Powered by Citedy.

citedy/adclaw · 53 tokens

service-explorer

Discover and interact with ANY service running on the system. Not pre-programmed per-service. Discovers dynamically. Read configs, hit APIs, parse logs. Figure it out.

bolivian-peru/os-moda · 39 tokens