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.
curl -O https://raw.githubusercontent.com/tweakoz/orkid/develop/.claude/skills/orkcore-varmap/SKILL.mdgit clone --depth 1 https://github.com/tweakoz/orkidWrote 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.
[](https://agentmods.dev/skills/tweakoz/orkid/orkcore-varmap)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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.
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
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.
- 2mo ago First seen · 153 lines · 73 tokens per session scan A 1f0ec6530c25
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.
orkcore-varmap compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| orkcore-varmaptweakoz/orkid | Skill | 35 | 2mo ago | MIT | A | 73 | Claude Code |
| claude-apiwarpdotdev/warp | Skill | 66k | yesterday | AGPL-3.0 | A | 193 | Claude Code, Codex |
| add-backendalibaba/anolisa | Skill | 603 | 1mo ago | Apache-2.0 | A | 46 | Claude Code |
| et-asyncFlameskyDexive/Legends-Of-Heroes | Skill | 936 | 1mo ago | MIT | A | 61 | Claude Code, Codex |
| webrtc-expertpersonamanagmentlayer/pcl | Skill | 44 | 11d ago | Apache-2.0 | A | 78 | Claude Code |
| citedy-content-ingestioncitedy/adclaw | Skill | 49 | 3mo ago | Apache-2.0 | A | 53 | Claude Code, Codex |
| service-explorerbolivian-peru/os-moda | Skill | 121 | 4mo ago | Apache-2.0 | A | 39 | Claude Code, Codex |