harness-hub: Instructions file for Claude Code

CLAUDE.md

harness-hub CLAUDE.md is an instructions file for Claude Code from shinju4n/harness-hub. It costs 727 tokens per session, scanned A, original, MIT.

Project-specific instructions for Harness Hub, a desktop app for viewing and editing Claude Code settings stored in the user’s home directory.

In plain words
What is it for?
Developing, testing, documenting, and packaging Harness Hub with Next.js, React, TypeScript, Electron, and related tools.
Why use it?
They give coding agents the project’s technology choices, commands, file layout, and rules for documenting new features and releases.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is shinju4n/harness-hub's own configuration. It tells Claude Code how to work on harness-hub 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 harness-hub configures →

Reuse

Borrowing it

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

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 harness-hub CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/shinju4n/harness-hub/claude-md/github.svg)](https://agentmods.dev/instructions/shinju4n/harness-hub/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/shinju4n/harness-hub/claude-md"><img src="https://agentmods.dev/badge/instructions/shinju4n/harness-hub/claude-md/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 harness-hub CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/shinju4n/harness-hub/claude-md"><img src="https://agentmods.dev/badge/instructions/shinju4n/harness-hub/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 727 This file is loaded in full into every session.
When invoked 727 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.00727 $0.00727
Opus 5 $0.00364 $0.00364
Sonnet 5 $0.00145 $0.00145
Haiku 4.5 $0.00073 $0.00073

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

Security

Grade A, and why

harness-hub 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 12d 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 · 76 lines

What it actually says

CLAUDE.md — Harness Hub

프로젝트 개요

Claude Code 하네스 관리 데스크톱 앱. ~/.claude/ 디렉토리의 설정 파일을 GUI로 조회/편집한다.

기술 스택

  • Next.js 16 (App Router) + React 19 + TypeScript
  • Tailwind CSS v4 + @tailwindcss/typography
  • Zustand (상태 관리)
  • Electron 41 (데스크톱 앱)
  • Vitest (테스트)

개발 명령어

pnpm dev                  # 웹 개발 서버 (127.0.0.1:3000)
pnpm electron:dev         # Electron 개발 모드
pnpm build                # Next.js 빌드
pnpm electron:build:mac   # macOS .dmg 빌드
pnpm electron:build:win   # Windows .exe 빌드
pnpm vitest run --config vitest.config.node.mts  # 테스트

파일 구조 규칙

  • app/ — Next.js 페이지 (App Router)
  • app/api/ — API Route (파일시스템 접근)
  • components/ — 공유 UI 컴포넌트
  • lib/ — 핵심 유틸리티
  • stores/ — Zustand 스토어
  • electron-src/ — Electron 소스 (TypeScript)
  • electron/ — 컴파일된 Electron 출력 (gitignore)
  • docs/features/ — 기능별 문서

기능 추가 시 필수 사항 (HARD GATE)

새로운 페이지나 기능을 추가할 때 반드시:

  1. docs/features/{feature-name}.md 문서를 작성한다
    • 역할, 기능, 데이터 소스, API, 관련 파일 포함
  2. README.md의 Features 테이블에 해당 기능을 추가하고 docs 링크를 연결한다

문서 없이 기능을 커밋하지 않는다.

릴리즈 (HARD GATE)

버전은 package.jsonversion 필드가 single source of truth. 다른 곳에 버전을 하드코딩하지 않는다.

  • app/api/update-check/route.tsimport packageJson from "@/package.json" 으로 읽음
  • app/app-settings/page.tsx → 동일하게 packageJson.version 사용
  • electron-builder는 package.json version을 자동으로 사용

릴리즈 명령어:

pnpm release <version>    # 예: pnpm release 0.4.0

이 스크립트가 자동으로:

  1. package.json version 업데이트
  2. git commit -m "release: v<version>"
  3. git tag v<version>
  4. git push + git push origin v<version>
  5. GitHub Actions가 macOS + Windows 빌드 → Release 생성

버전을 수동으로 여러 파일에 수정하지 않는다.

코딩 컨벤션

  • 서버 컴포넌트 기본, 필요 시에만 "use client"
  • Tailwind utility만 사용
  • 액센트 컬러: amber 계열 (amber-500 ~ amber-800)
  • API Route는 lib/file-ops.ts의 안전한 읽기/쓰기 유틸 사용
  • JSON 쓰기 시 mtime 충돌 감지 필수
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. 12d ago First seen · 76 lines · 727 tokens per session scan A ab770a5ea945

Subscribe to this mod's changes

harness-hub CLAUDE.md is an instructions file published in the GitHub repository shinju4n/harness-hub (5 stars, last pushed 4mo ago), licensed MIT. It adds 727 tokens to every session, about $0.0036 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-31.

Related

Other instructions, from other repositories

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,126 tokens

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

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

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