project-careti: Instructions file for Codex

AGENTS.md

project-careti AGENTS.md is an instructions file for Codex, OpenCode from caretive-ai/project-careti. It costs 1,791 tokens per session, scanned A, original, Apache-2.0.

Project instructions for Careti, a desktop application based on Cline with additional source directories for AI and user documentation. They describe required startup checks, build commands, and tests.

In plain words
What is it for?
Use them when changing Careti, updating protocol files, compiling the web or command-line parts, building the Tauri desktop app, or running its automated tests.
Why use it?
They help an agent find the project's source of truth and avoid conflicts between its web development server and desktop app. They also define how changes should be tested.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions AGENTS.md; built for cline.

This is caretive-ai/project-careti's own configuration. It tells Codex and OpenCode 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 →

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/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/caretive-ai/project-careti

Made for: Codex, OpenCode.

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 AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/caretive-ai/project-careti/agents-md"><img src="https://agentmods.dev/badge/instructions/caretive-ai/project-careti/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,791 This file is loaded in full into every session.
When invoked 1,791 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.01791 $0.01791
Opus 5 $0.00896 $0.00896
Sonnet 5 $0.00358 $0.00358
Haiku 4.5 $0.00179 $0.00179

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

Security

Grade A, and why

project-careti AGENTS.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 9d 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.

AGENTS.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 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)

주의: 루트에서 npm run dev:webview 실행 중이면 포트 충돌!

# 기존 vite 종료 (필수)
pkill -f "npm run dev:webview"

# 실행
cd desktop
npm run tauri dev      # 개발 모드
npm run tauri build    # 프로덕션 빌드

상세 문서: desktop/AGENTS.md, desktop/.agents/context/

Testing (자동 테스트)

테스트 명령어

명령어 설명
npm run test:unit 백엔드 유닛 테스트 (mocha)
npm run test:webview 웹뷰 테스트 (vitest)
npm run test:report 전체 테스트 실행 및 요약 보고서
npm run test:report:json JSON 형식 테스트 결과 (AI 파싱용)

AI 테스트 실행 가이드

  1. 코드 변경 후 npm run test:report:json 실행
  2. JSON 출력에서 status 필드 확인 (pass 또는 fail)
  3. 실패 시 resultsDir 경로에서 상세 로그 확인

주요 테스트 파일 위치

  • Proto 변환 테스트: src/shared/proto-conversions/models/__tests__/
  • API Configuration 테스트: src/shared/proto-conversions/models/__tests__/api-*.test.ts
  • StateManager 테스트: src/shared/proto-conversions/models/__tests__/state-manager-api-config.test.ts
  • 웹뷰 테스트: webview-ui/src/**/__tests__/

현재 테스트 상태 (2026-01-29)

  • Unit: 769+ passing, 7 failing (VRM/Vision 관련)
  • Webview: 140+ passing, 7 failing (i18n 조사 처리)

CLI Testing

테스트 실행

cd cli && go test ./e2e/... -v           # 모든 E2E 테스트
cd cli && go test ./e2e/... -v -short    # 빠른 테스트만 (통합 테스트 스킵)
cd cli && go test ./e2e/... -v -run TestInteractive  # 특정 테스트만

테스트 구조 (cli/e2e/)

파일 설명
helpers_test.go 테스트 유틸리티 (바이너리 경로, gRPC 헬퍼 등)
cli_behavior_test.go CLI 동작 검증 (플래그, 명령어 구조)
cli_output_test.go 출력 형식 검증
interactive_mode_test.go Interactive/Yolo 모드 동작
start_list_test.go 인스턴스 시작/목록 테스트

Read the full file on GitHub · 157 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. 9d ago First seen · 157 lines · 1,791 tokens per session scan A 6f40f860753e

Subscribe to this mod's changes

project-careti AGENTS.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 1,791 tokens to every session, about $0.0090 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

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