Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/tweakoz/orkid/orkcore-loggingnpx skills add tweakoz/orkid --skill orkcore-logginggit 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-logging)<a href="https://agentmods.dev/skills/tweakoz/orkid/orkcore-logging"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-logging.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00050 | $0.00792 |
| Opus 5 | $0.00025 | $0.00396 |
| Sonnet 5 | $0.00010 | $0.00158 |
| Haiku 4.5 | $0.00005 | $0.00079 |
Grade A, and why
orkcore-logging 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 3d 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 — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Orkid Logging System Reference
When answering questions about logging in orkid, consult these files.
Key Files
| Component | Location |
|---|---|
| Logger Header | ork.core/inc/ork/util/logger.h |
| Logger Impl | ork.core/src/util/logger.cpp |
| Stdout Backend | ork.core/src/util/logger_std.cpp |
| File Backend | ork.core/src/util/logger_file.cpp |
| HTML Backend | ork.core/src/util/logger_html.cpp |
| HTTP Backend | ork.core/src/util/logger_http.cpp |
| Python Bindings | ork.core/pyext/pyext_logger.cpp |
Usage
from orkengine import core
# Get logger singleton
logger = core.Logger.instance()
# Get or create channel
chan = logger.getChannel("MYAPP")
chan = logger.configureChannel("MYAPP", core.fvec3(0.5, 0.8, 1.0), True)
# Log messages
chan.log("message")
chan.warn("warning") # Goes to stderr (red)
chan.error("error") # Goes to stderr (red)
chan.status("sub", "msg") # Status with subchannel label
# Multi-part messages
chan.log_begin("start")
chan.log_continue("middle")
chan.log_end()
# Enable/disable
chan.enabled = True
C++ Pattern
// Typical: module-level channel
static logchannel_ptr_t logchan_mymod = logger()->getChannel("MYMOD");
logchan_mymod->log("Processing %d items", count);
logchan_mymod->warn("Unexpected state");
Performance Metrics
# Push immediate value
chan.perfItem("fps", 60.0)
# Pull value via lambda (sampled at perf_interval)
chan.perfItem("frame_time", lambda: get_frame_time())
# Configure sampling rate
chan.perf_interval = 0.001 # 1000 Hz sampling
chan.status_interval = 8.0 # Status dedup interval
Backends
| Backend | Env Config | Purpose |
|---|---|---|
| Stdout | ORKID_LOGGER_BACKEND=STDOUT |
Console (default) |
| File | ORKID_LOGGER_BACKEND=FILE |
Async file write |
| HTML | ORKID_LOGGER_BACKEND=HTML |
Interactive HTML log |
| HTTP | ORKID_LOGGER_BACKEND=HTTP |
Live streaming via ZMQ+SSE |
| Fork | ORKID_LOGGER_BACKEND=[STDOUT,FILE] |
Multiple backends |
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.
- 3d ago First seen · 101 lines · 50 tokens per session scan A 36320aaa0cd9
orkcore-logging is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 23d ago), licensed MIT. It adds 50 tokens to every session and 792 once invoked, about $0.0003 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.
Other skills, from other repositories
host-pattern
Use when adding a new domain to Nuclear's plugin system, or implementing a host. Covers the host pattern (how player functionality is exposed to plugins), the host interface and API class structure, how hosts are implemented in the player, error handling conventions, and what files to create and modify. Trigger…
creating-components
Use when creating new UI components in packages/ui. Covers component structure, tests, stories, and what to avoid.
writing-docs
Use when writing or editing documentation in packages/docs. Covers Gitbook markdown syntax, special blocks, page structure, and the SUMMARY.md table of contents. Trigger phrases include "write docs", "add documentation", "docs page", "gitbook", "user manual".
writing-plugins
Use when writing, scaffolding, or modifying Nuclear plugins. Covers plugin structure, manifest, entry point, provider types, available APIs, and publishing. Trigger phrases include "create a plugin", "write a plugin", "plugin scaffold", "streaming provider", "metadata provider".
analyzing-linux-elf-malware
Analyze malicious Linux ELF binaries — botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure — through static analysis, dynamic tracing, and reverse engineering of x8664 and ARM samples. Use when investigating Linux malware, triaging a suspicious ELF binary…
analyzing-linux-kernel-rootkits
Detect kernel-level rootkits in Linux memory dumps using Volatility3 linux plugins (checksyscall, lsmod, hiddenmodules), rkhunter system scanning, and /proc vs /sys discrepancy analysis to identify hooked syscalls, hidden kernel modules, and tampered system structures.