orkid: Skill for Claude Code

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

orkcore-subsystem is a skill for Claude Code from tweakoz/orkid. It costs 53 tokens per session (995 once invoked), scanned A, original, MIT.

Reference material for Orkid's subsystem framework, which manages application components that must start and stop in dependency order. It covers lifecycle states, thread restrictions, and parallel startup waves.

In plain words
What is it for?
Use it when answering questions about Orkid subsystems, startup sequencing, factories, lifecycle states, or initialization tests.
Why use it?
It explains how application startup works and helps avoid incorrect initialization or shutdown ordering.

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-subsystem/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-subsystem

README.md
[![agentmods](https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-subsystem/github.svg)](https://agentmods.dev/skills/tweakoz/orkid/orkcore-subsystem)
Your own site
<a href="https://agentmods.dev/skills/tweakoz/orkid/orkcore-subsystem"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-subsystem/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-subsystem

Your own site · 80×15
<a href="https://agentmods.dev/skills/tweakoz/orkid/orkcore-subsystem"><img src="https://agentmods.dev/badge/skills/tweakoz/orkid/orkcore-subsystem.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 995 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.00053 $0.00995
Opus 5.5 $0.00021 $0.00398
Sonnet 5.5 $0.00011 $0.00199
Haiku 4.5 $0.00005 $0.00100

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

Security

Grade A, and why

orkcore-subsystem 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-subsystem/SKILL.md · 115 lines

How it starts

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

Orkid Subsystem Framework Reference

When answering questions about subsystem management in orkid, consult these files.

Key Files

Component Location
Subsystem Base ork.core/inc/ork/application/subsystem.h
Subsystem Impl ork.core/src/application/subsystem.cpp
OPQ Subsystem ork.core/inc/ork/application/subsystem_opq.h
Core Subsystem ork.core/inc/ork/application/subsystem_core.h
Catalog Subsystem ork.core/inc/ork/application/subsystem_catalog.h
GPU Subsystem ork.lev2/inc/ork/lev2/subsystem_gpu.h
Audio Subsystem ork.lev2/inc/ork/lev2/subsystem_audio.h
Lev2 Subsystem ork.lev2/inc/ork/lev2/subsystem_lev2.h
Application (registry) ork.core/inc/ork/application/application.h
Python Bindings ork.core/pyext/pyext_application.cpp
Tests ork.core/pyext/tests/test_subsystem.py
Ordering Tests ork.core/tests/test_subsystem_ordering.py

Architecture Overview

Subsystem Lifecycle (FSM-Based)

UNINITIALIZED → INITIALIZING → READY
                     ↓ (error)
                   ERROR
READY → SHUTTING_DOWN → TERMINATED

Each state is an FSM LambdaState — subsystem factories override _onenter callbacks.

Factory Functions

createOpqSubsystem()      — OPQ task queue lifecycle
createCoreSubsystem()     — Core orkid runtime (depends on OPQ)
createCatalogSubsystem()  — Asset catalog (depends on OPQ)
createGpuSubsystem()      — GPU context (depends on CORE)
createAudioSubsystem()    — Audio device (depends on GPU)
createLev2Subsystem()     — Meta-service: signals when GPU+Audio ready

Dependency Graph

OPQ (no deps)
├── CATALOG (depends on OPQ)
└── CORE (depends on OPQ, optionally CATALOG)
    └── GPU (depends on CORE, requires "main" thread)
        └── AUDIO (depends on GPU)
            └── LEV2 (depends on GPU, optionally AUDIO)

Wave-Based Initialization

  1. Build waves via topological sort of dependencies
  2. Each wave: subsystems with all deps satisfied
  3. Within a wave: respect thread affinity
    • requires_thread = "main" → serialize on caller thread
    • requires_thread = "" → parallel threads
  4. Wait for wave completion before next wave
  5. Circular dependency detection (asserts)

Read the full file on GitHub · 115 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 · 115 lines · 53 tokens per session scan A f9deca43c298

Subscribe to this mod's changes

orkcore-subsystem is a skill published in the GitHub repository tweakoz/orkid (35 stars, last pushed 2mo ago), licensed MIT. It adds 53 tokens to every session and 995 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.

Related

orkcore-subsystem compared with skills from other repositories

orkcore-subsystem next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
orkcore-subsystemtweakoz/orkidSkill352mo agoMITA53Claude Code
unity-pipelineAlex-Rachel/TEngineSkill2.4k16d agoMITA97Claude Code
dart-verify-simdartsim/dartSkill1.2kyesterdayBSD-2-ClauseA32Claude Code, Codex
metasoundskevinpbuckley/VibeUESkill8122d agoMITA63Claude Code, Codex
dart-model-upgradedartsim/dartSkill1.2kyesterdayBSD-2-ClauseA42Claude Code
html-to-uguiAlex-Rachel/TEngineSkill2.4k16d agoMITA75Codex
luban-devAlex-Rachel/TEngineSkill2.4k16d agoMITA62Codex