Initref — Documentation skill for Claude Code
by okuvshynov - Initializes reference documentation structure with standard doc templates, API reference setup, documentation conventions, and placeholder content generation.
How to install Initref
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open okuvshynov/cubestat and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Initref does
cubestat is a command-line utility to monitor system metrics in horizon chart format. It was originally created for Apple M1/M2 devices, but supports Linux with NVIDIA GPU as well, including Google Colab environment.
Alternatives in Documentation
- Doc Co-authoring — Guide users through structured workflow for co-authoring documentation 94.1k ★
- Documentation Skills Pack — Professional documentation generation skills 5.3k ★
- Question — Answer the user's question by analyzing the project structure and documentation 3.4k ★
README
system monitoring horizon charts for terminal
cubestat is a command-line utility to monitor system metrics in horizon chart format. It was originally created for Apple M1/M2 devices, but supports Linux with NVIDIA GPU as well, including Google Colab environment. Numerous tools exist for tracking system metrics, yet horizon charts stand out due to their good information density which enables the display of many time-series data on a single screen.
Let's start with an example:
https://github.com/okuvshynov/cubestat/assets/661042/8e1e405e-ca61-4ffb-bedb-e04eb33f8bc2
In the clip above we see Mixtral-8x7b inference on MacBook Air with FF layers offloaded to SSD. We can notice somewhat low GPU util, 2Gb/s+ of data read from disk, as we have to fetch the weights, but plenty of free RAM (And we are actually able to serve almost 100Gb model on 24Gb machine with fp16 precision, even if very slow).
We can also clearly see moment of change from model loading (cpu util, disk writes for model preprocessing) to model inference (disk reads, gpu util going up, cpu going down)
Currently cubestat reports:
- CPU utilization - configurable per core ('by_core'), cluster of cores on Apple M1+: Efficiency/Performance ('by_cluster') or all. Is shown as percentage.
- GPU utilization per card/chip. Is shown in percentage. Works for Apple's M1/M2 SoC and NVIDIA GPUs. For NVIDIA GPU can show VRAM usage as well. In case of multi-GPU can show individual GPUs or aggregated average.
- ANE (Neural Engine) power consumption. According to
man powermetricsit is an estimate, but seems working good enough as a proxy to ANE utilization. Is shown as percentage. - Disk and network IO; Is shown as rate (KB/s, MB/s, GB/s).
- Memory usage in %
- Swap usage. Is shown as absolute value (KB, MB, GB)
Known limitations:
...
Related Skills
Soma
A platform kit for personal knowledge-graph minds: pure-markdown brain, character, and skills — conventions +
Scuderia
A platform kit for personal knowledge-graph minds: pure-markdown brain, character, and skills — conventions +
Documentation
Documentation - interactive technical documentation generation with templates and health tracking
Unix Conventions
An agentic skill to document and structure code in the UNIX tradition. Credit to TAOUP (included in documentat
CI Wrapper
Reference documentation for the GitHub Actions PR review workflow shipped with V5.0 Phase 2. Not a user-invoca
Create Dev Docs
Setup feature branch and development documentation structure
Related Agents
Sage Reviewer
Reviews Sage/Acorn code against stack conventions, checking providers, hooks, ACF patterns, Blade structure, c
Gate Repair
Attempts to fix simple gate failures (missing templates, incomplete sections, placeholder content) before esca
Devcontainer Generator
Generates DevContainer files by copying templates and customizing placeholders. Use this agent for manual devc