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-logging/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-logging)<a href="https://agentmods.dev/skills/tweakoz/orkid/orkcore-logging"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-logging/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-logging"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-logging.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.00050 | $0.00792 |
| Opus 5.5 | $0.00020 | $0.00317 |
| Sonnet 5.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 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 — 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.
- 2mo 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 2mo ago), licensed MIT. It adds 50 tokens to every session and 792 once invoked, about $0.0002 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-logging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| orkcore-loggingtweakoz/orkid | Skill | 35 | 2mo ago | MIT | A | 50 | Claude Code |
| dart-release-ci-fixdartsim/dart | Skill | 1.2k | yesterday | BSD-2-Clause | A | 24 | Claude Code |
| dart-downstream-fixdartsim/dart | Skill | 1.2k | yesterday | BSD-2-Clause | A | 25 | Claude Code |
| dart-perfdartsim/dart | Skill | 1.2k | yesterday | BSD-2-Clause | A | 25 | Claude Code, Codex |
| alibabacloud-ecs-windows-os-troubleshootingaliyun/alibabacloud-ecs-troubleshoot-skills | Skill | 147 | yesterday | Apache-2.0 | A | 215 | Claude Code, Codex |
| alibabacloud-ecs-linux-os-troubleshootingaliyun/alibabacloud-ecs-troubleshoot-skills | Skill | 147 | yesterday | Apache-2.0 | A | 87 | Claude Code, Codex |
| et-test-runFlameskyDexive/Legends-Of-Heroes | Skill | 936 | 1mo ago | MIT | A | 63 | Claude Code, Codex |