Awesome-ccIDE: Instructions file for Claude Code

CLAUDE.md

Awesome-ccIDE CLAUDE.md is an instructions file for Claude Code from sophiaashi/Awesome-ccIDE. It costs 1,616 tokens per session, scanned C, original, MIT.

Project instructions for ccIDE, a macOS desktop app that manages Claude Code session history. They describe the app’s Electron, React, TypeScript, terminal, and data-storage setup, along with its local build and release rules.

In plain words
What is it for?
Use them when modifying ccIDE to find its main files and data sources, run the TypeScript check, package the app, install the local build, and follow the separate process for pushing releases.
Why use it?
They give coding agents a consistent way to understand the project, check changes, build the app, install it locally, and decide when remote publishing is allowed.

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 sophiaashi/Awesome-ccIDE's own configuration. It tells Claude Code how to work on Awesome-ccIDE 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 Awesome-ccIDE configures →

Reuse

Borrowing it

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

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 Awesome-ccIDE CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sophiaashi/awesome-ccide/claude-md"><img src="https://agentmods.dev/badge/instructions/sophiaashi/awesome-ccide/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,616 This file is loaded in full into every session.
When invoked 1,616 The same file — it is already loaded in full.
Security scan C 1 finding. 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.01616 $0.01616
Opus 5 $0.00808 $0.00808
Sonnet 5 $0.00323 $0.00323
Haiku 4.5 $0.00162 $0.00162

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

Security

Grade C, and why

Awesome-ccIDE CLAUDE.md scanned grade C with 1 finding 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /Applications/ccIDE.app && cp -R release/mac-arm64/ccIDE.app /Applications/
CLAUDE.md · 135 lines

How it starts

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

CLAUDE.md — ccIDE 项目专用指令

继承自用户全局 ~/.claude/CLAUDE.md 的所有规则(语言、前端三更、安全红线、Skill 优先、解决问题方式等)。以下是本项目的附加规则。

项目概览

ccIDE — 管理 Claude Code 历史 session 的 macOS 原生桌面应用。

  • 技术栈:Electron + React + TypeScript + xterm.js + node-pty
  • 入口:electron/main.ts (主进程) / src/App.tsx (渲染进程)
  • 数据源:~/.claude/projects/*/sessions-index.json + ~/.claude/history.jsonl
  • 自定义名称存储:~/.claude-session-manager/session-names.json

同步规则(用户主导推送节奏)

默认:只做本地修改 + 本地 .app 更新,不自动推送远端。

每次改动的默认流程(无用户指示时)

# 1. 编译检查
cd ~/ccIDE && npx tsc --noEmit

# 2. 打包
npm run dist

# 3. 安装到本地 Applications
rm -rf /Applications/ccIDE.app && cp -R release/mac-arm64/ccIDE.app /Applications/

# 4. 本地 git commit(但不 push)
git add -A && git commit -m "..."

推送远端时的流程(用户说「推送」/「push」/「发布」时)

一旦推送远端,必须同时更新 DMG Release

# 1. 推送代码
git push origin main

# 2. 更新 GitHub Release DMG(与 push 绑定,不可分离)
gh release delete v1.0.0 --repo sophiaashi/Awesome-ccIDE --yes
gh release create v1.0.0 \
  --repo sophiaashi/Awesome-ccIDE \
  --title "ccIDE v1.0.0" \
  --notes "macOS Apple Silicon (arm64). Download DMG, drag to Applications, done." \
  release/ccIDE-1.0.0-arm64.dmg

关键规则

  • 用户没说「推送」时,不要自动 git push
  • 用户说「推送」时,必须同时更新 DMG(push 和 DMG 更新是原子操作)
  • 本地 Applications 下的 app 每次改动都要更新(用户会直接测试)

构建输出

文件 用途
dist/ Vite 前端构建产物
dist-electron/electron/main.cjs 编译后的主进程
release/mac-arm64/ccIDE.app 打包的 macOS app
release/ccIDE-1.0.0-arm64.dmg 分发用的 DMG(~123MB,含 Electron 运行时)

架构关键点

  • Electron main process 负责:session 数据读取、node-pty 管理、IPC handler
  • React renderer 负责:UI 渲染、通过 window.electronAPI 调 IPC
  • preload.ts 安全暴露 IPC(contextBridge)
  • 开发模式npm run dev 启动 Vite + Electron 双进程
  • 生产模式main.cjsloadFile('../../dist/index.html') 加载(路径是 dist-electron/electron/ → 上两级 → dist/

常见陷阱

  1. 黑屏问题 → 检查 mainWindow.loadFile 的相对路径
  2. Resume 报错 env: node: No such file → pty spawn 必须加 --login 参数 + 显式传完整 PATH
  3. icon 外层有灰色底板 → icon 图片必须完全不透明,渐变填满 1024x1024
  4. 当前 session 不在列表sessions-index.json 可能未及时更新,需扫描 .jsonl 文件补充
  5. 多两个 style 属性 → JSX 不允许,合并成一个对象

Read the full file on GitHub · 135 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 · 135 lines · 1,616 tokens per session scan C 238a211b231e

Subscribe to this mod's changes

Awesome-ccIDE CLAUDE.md is an instructions file published in the GitHub repository sophiaashi/Awesome-ccIDE (3 stars, last pushed 2mo ago), licensed MIT. It adds 1,616 tokens to every session, about $0.0081 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

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

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens