oh-my-hi: Instructions file for Claude Code

CLAUDE.md

oh-my-hi CLAUDE.md is an instructions file for Claude Code from netil/oh-my-hi. It costs 1,985 tokens per session, scanned A, original, MIT.

Instructions for Oh-My-Hi, a Claude Code plugin with a local web dashboard for viewing configuration and token usage. It describes the project’s Node.js build, test, and development workflow.

In plain words
What is it for?
Use it when developing Oh-My-Hi to run builds and tests, update dashboard data, and follow its fixed server and browser workflow.
Why use it?
It records the project-specific commands and rules needed to build, test, and refresh the dashboard correctly.

Instructions file for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: reads .claude/ paths; mentions Claude Code.

This is netil/oh-my-hi's own configuration. It tells Claude Code how to work on oh-my-hi 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 oh-my-hi configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/netil/....

Reuse

Borrowing it

Nothing to install: this file belongs to netil/oh-my-hi. 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/netil/oh-my-hi/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/netil/oh-my-hi

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 oh-my-hi CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/netil/oh-my-hi/claude-md.svg)](https://agentmods.dev/instructions/netil/oh-my-hi/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/netil/oh-my-hi/claude-md"><img src="https://agentmods.dev/badge/instructions/netil/oh-my-hi/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,985 This file is loaded in full into every session.
When invoked 1,985 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01985 $0.01985
Opus 5 $0.00992 $0.00992
Sonnet 5 $0.00397 $0.00397
Haiku 4.5 $0.00198 $0.00198

Measured 8d ago against content hash 28b28efbf181, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

oh-my-hi CLAUDE.md 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 8d 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.md · 136 lines

How it starts

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

Oh-My-Hi

Claude Code plugin — harness configuration & token usage dashboard.

Tech Stack

  • Node.js (ESM), vanilla JS frontend (no framework)
  • esbuild for CSS/JS minification
  • billboard.js for charts (bundled inline, no CDN)
  • Local HTTP server (scripts/serve.mjs) — no external deps, port 8282

Build & Test

npm run build         # Generate output/index.html + data.json (--data-only)
npm test              # Run all tests (build, web-ui, plugin)

Build entry: node scripts/generate-dashboard.mjs — full mode generates index.html (shell) + data.js (data) + cache segments. --data-only runs lightweight mode (mtime check → parse changes → update data.js).

Dev Workflow

[절대원칙] 브라우저 탭 단일 유지: 브라우저 탭은 어떤 상황에서도 추가로 열지 않는다. 이미 열려있는 탭이 있으면 반드시 그 탭을 재사용한다. 새 탭 오픈은 lock file이 전혀 없는 진짜 첫 실행 시에만 허용된다.

[절대원칙] 포트 고정: 서버는 항상 8282 포트를 사용한다. 포트가 바뀌는 유일한 예외는 다른 프로세스가 8282를 점유 중일 때뿐이다. 개발 중 서버를 임의로 재시작하지 않는다.

  • 서버 시작: node scripts/serve.mjs --open (최초 1회)
  • 코드/데이터 변경 후: node scripts/generate-dashboard.mjs --data-only → 브라우저 수동 새로고침
  • spawnServeOrRefresh: lock file 없음 → --open 허용 / stale lock file → --open 금지 / 서버 살아있음 → URL만 반환

Build Gotcha

Running without node_modules causes __BB_JS__ is not defined errors. Since v0.2.4 dependencies auto-install, but verify npm install first when building manually.

File Structure

scripts/generate-dashboard.mjs   # Build script (entry point)
scripts/parsers/*.mjs            # 15 data parsers
templates/dashboard.html         # HTML shell with placeholders
templates/app.js                 # Frontend JS (~3700 lines)
templates/styles.css             # All CSS
templates/locales/{en,ko}.json   # i18n (en default, ko supported)
templates/work-types.json        # Task category schema (25 types)
skills/omh/SKILL.md              # Plugin skill definition
.claude-plugin/marketplace.json  # Marketplace metadata
.claude-plugin/plugin.json       # Plugin metadata
test/*.test.mjs                  # Tests (Node test runner)
output/                          # Generated artifacts (gitignored)
  data-core.js                   # Core data (scopes, metadata) — sync load (~515KB)
  data-usage.js                  # Usage data (tokenEntries etc.) — deferred (~9MB)
  data.js                        # Legacy single-file (backwards compat)
  cache/                         # Incremental cache (gzip segments + mtime index)
  pending/                       # Lightweight mode deltas (plain JSON)

Read the full file on GitHub · 136 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. 8d ago First seen · 136 lines · 1,985 tokens per session scan A 28b28efbf181

Subscribe to this mod's changes

oh-my-hi CLAUDE.md is an instructions file published in the GitHub repository netil/oh-my-hi (56 stars, last pushed 2mo ago), licensed MIT. It adds 1,985 tokens to every session, about $0.0099 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-08-30.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens