bluekiwi: Instructions file for Claude Code

CLAUDE.md

bluekiwi CLAUDE.md is an instructions file for Claude Code from dandacompany/bluekiwi. It costs 1,538 tokens per session, scanned B, original, MIT.

Project instructions for Bluekiwi, including commit-message rules and the local Docker Compose development setup. Docker Compose starts the app, real-time notification relay, PostgreSQL database, and Redis cache together.

In plain words
What is it for?
Use it when starting, stopping, or checking the Bluekiwi development environment, and when creating commits that follow the project's naming rules.
Why use it?
It prevents inconsistent commits and avoids running the app in a development setup that differs from the project's expected environment.

Instructions file for Claude Code

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

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

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

Reuse

Borrowing it

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

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 bluekiwi CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dandacompany/bluekiwi/claude-md.svg)](https://agentmods.dev/instructions/dandacompany/bluekiwi/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/dandacompany/bluekiwi/claude-md"><img src="https://agentmods.dev/badge/instructions/dandacompany/bluekiwi/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,538 This file is loaded in full into every session.
When invoked 1,538 The same file — it is already loaded in full.
Security scan B 2 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.01538 $0.01538
Opus 5 $0.00769 $0.00769
Sonnet 5 $0.00308 $0.00308
Haiku 4.5 $0.00154 $0.00154

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

Security

Grade B, and why

bluekiwi CLAUDE.md scanned grade B with 2 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Caddy: `/etc/caddy/Caddyfile` 수정 후 `sudo caddy reload --config /etc/caddy/Caddyfile`

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/dandacompany/bluekiwi/main/docker-compose.yml -o docker-compose.yml
CLAUDE.md · 126 lines

How it starts

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

@AGENTS.md

Commit Convention

All commit messages must be in English using Conventional Commits:

feat: add built-in seed workflows
fix: resolve lightningcss binary mismatch in Docker dev
chore: bump version to 0.3.2
refactor: extract seed logic into shared module
docs: update README with self-hosting guide
test: add e2e tests for workflow seeding
  • Type: feat, fix, chore, refactor, docs, test, perf, ci
  • Scope (optional): feat(seed):, fix(editor):, chore(deps):
  • Body/footer: English preferred, Korean acceptable for internal context

Dev Environment

로컬 개발은 Docker Compose로 프로덕션과 동일한 4개 컨테이너를 띄운다. next dev를 직접 실행하지 않는다.

# 시작
docker compose -f docker/docker-compose.dev.yml up -d --build

# 중지
docker compose -f docker/docker-compose.dev.yml down

# 상태
docker compose -f docker/docker-compose.dev.yml ps
서비스 포트 설명
app 3100→3000 Next.js dev (hot-reload, webpack)
ws-relay 3001 WebSocket 실시간 알림 중계
db 5433→5432 PostgreSQL 16
redis 6379 Redis 7
  • App은 /ws/* 요청을 ws-relay로 프록시 (next.config.ts rewrites)
  • 소스 볼륨 마운트로 hot-reload 동작
  • DB 접속: docker exec docker-db-1 psql -U bluekiwi -d bluekiwi

DB Migration

  • 프로덕션: app 시작 시 scripts/migrate.js가 자동 실행 (schema_migrations 테이블로 추적)
  • 로컬 dev: npx tsx scripts/migrate.ts 수동 실행
  • 새 마이그레이션: docker/migrations/NNN_name.sql 추가 — 앱 시작 시 scripts/migrate.jsschema_migrations로 추적하며 순서대로 자동 적용

⚠️ SQL 마이그레이션 작성 주의사항

  • ADD CONSTRAINT IF NOT EXISTS 금지: PostgreSQL은 이 문법을 지원하지 않음. 대신:
    DO $$ BEGIN
      ALTER TABLE t ADD CONSTRAINT fk_name FOREIGN KEY (...) REFERENCES ...;
    EXCEPTION WHEN duplicate_object THEN NULL;
    END $$;
    
  • ADD COLUMN IF NOT EXISTS는 사용 가능 (PostgreSQL 9.6+)

프로덕션 배포 (DanteServer)

인스턴스 현황

도메인 용도 포트(app/ws) 디렉토리 (DanteServer)
dantelabs.bluekiwi.work 단테랩스 전용 3101 / 3001 /home/dante/projects/bluekiwi
gcex.bluekiwi.work 여기어때 전용 3104 / 3005 /home/dante/projects/gcex

Read the full file on GitHub · 126 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 · 126 lines · 1,538 tokens per session scan B 9d870ac65ec5

Subscribe to this mod's changes

bluekiwi CLAUDE.md is an instructions file published in the GitHub repository dandacompany/bluekiwi (23 stars, last pushed 1mo ago), licensed MIT. It adds 1,538 tokens to every session, about $0.0077 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). 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

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

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

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

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