project-careti: Instructions file for Claude Code

CLAUDE.md

project-careti CLAUDE.md is an instructions file for Claude Code from caretive-ai/project-careti. It costs 2,344 tokens per session, scanned A, original, Apache-2.0.

A project instruction file for Careti, a Cline-based software project extended in a separate source directory. It tells an AI coding agent which project context to read and which commands to use.

In plain words
What is it for?
Use it when working on Careti to load the required context, update protocol files, compile the application and command-line tool, run the desktop app, or package it.
Why use it?
It keeps the agent aligned with the project's rules, directory structure, workflows, and required build order.

Instructions file for Claude Code

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

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is # → beforeDevCommand: cd ../webview-ui && PLATFORM=standalone npm run dev.

Reuse

Borrowing it

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

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 project-careti CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/caretive-ai/project-careti/claude-md"><img src="https://agentmods.dev/badge/instructions/caretive-ai/project-careti/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,344 This file is loaded in full into every session.
When invoked 2,344 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.02344 $0.02344
Opus 5 $0.01172 $0.01172
Sonnet 5 $0.00469 $0.00469
Haiku 4.5 $0.00234 $0.00234

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

Security

Grade A, and why

project-careti 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 10d 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 · 205 lines

How it starts

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

Project Overview

  • Careti: Cline 기반 포크이며, 핵심은 유지하고 careti-src/로 확장합니다.
  • 이중 디렉토리: .agents/ (AI용, 토큰 최적화), .users/ (사람용, 상세 설명)

IMPORTANT: 세션 시작 시 필수 작업

아래 파일들을 반드시 먼저 읽어주세요:

  1. .agents/context/agents-rules.json - 프로젝트 핵심 규칙 (SoT)
  2. .agents/context/ai-work-index.yaml - 작업 유형별 워크플로우 인덱스

필요 시 .agents/workflows/에서 관련 워크플로우를 온디맨드로 로드합니다.

Operations

  • Proto 갱신: npm run protos, npm run protos-go (proto 변경 시 순서대로 실행)
  • 컴파일: npm run compile
  • CLI 컴파일: npm run compile-cli (Go 바이너리 빌드)
  • 패키지: npm run package

Desktop (Tauri)

Desktop은 Tauri(Rust) + webview-ui(React) + cline-core(Node.js stdio)의 3계층 구조입니다.

빌드 순서

# 1. standalone 빌드 (cline-core.js 생성 — 필수 선행)
npm run compile-standalone
# → dist-standalone/cline-core.js (46MB)
# → scripts/package-standalone.mjs로 패키징 (ripgrep, proto, bins)

# 2. desktop 개발 실행
pkill -f "npm run dev:webview"   # 포트 충돌 방지 (필수)
cd desktop && npm install && npm run tauri dev
# → beforeDevCommand: cd ../webview-ui && PLATFORM=standalone npm run dev
# → Tauri가 node dist-standalone/cline-core.js --stdio 자동 실행
# → main(368x1024) + avatar(300x400) 2개 윈도우

# 3. 프로덕션 빌드
cd desktop && npm run tauri build
# → webview-ui/build/ + Rust 컴파일 → deb/dmg/msi 패키지

통신 흐름

webview → standalonePostMessage(json)
  → Tauri proto_bus_message command
  → node cline-core.js stdin (JSON)
  → stdio-adapter.ts → gRPC handler
  → stdout → Rust BufReader
  → emit("grpc_response") → webview

주요 파일

파일 역할
desktop/src-tauri/src/lib.rs Tauri ↔ cline-core 브릿지
src/standalone/stdio-adapter.ts JSON stdio 핸들러
src/standalone/cline-core.ts standalone 엔트리포인트
desktop/src-tauri/tauri.conf.json Tauri 앱 설정

환경 변수 (개발용 오버라이드)

변수 기본값 설명
CLINE_CORE_PATH node cline-core 실행 바이너리
CLINE_CORE_SCRIPT dist-standalone/cline-core.js cline-core 스크립트 경로

E2E 검증 체크리스트

Desktop 자동 테스트는 미구현. 수동 검증:

  1. npm run compile-standalone — 빌드 성공, dist-standalone/cline-core.js 생성
  2. cd desktop && npm run tauri dev — Tauri 창 표시
  3. 콘솔에서 [cline-core→Tauri] ... ready 메시지 확인
  4. 메시지 입력 → 응답 표시 (round-trip 검증)
  5. 스트리밍 응답 정상 표시
  6. 아바타 윈도우 렌더링
  7. 워크스페이스 폴더 선택 동작

Read the full file on GitHub · 205 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. 10d ago First seen · 205 lines · 2,344 tokens per session scan A 386e4442b5d4

Subscribe to this mod's changes

project-careti CLAUDE.md is an instructions file published in the GitHub repository caretive-ai/project-careti (47 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 2,344 tokens to every session, about $0.0117 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

vibe-coding-prompt-template backend.instructions.md

Instructions for KhazP/vibe-coding-prompt-template: Read AGENTS.md, agentdocs/techstack.md, and agentdocs/codepatterns.md.

KhazP/vibe-coding-prompt-template · 139 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

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

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