BrainCue: Instructions file for Claude Code

CLAUDE.md

BrainCue CLAUDE.md is an instructions file for Claude Code from tpikachu/BrainCue. It costs 1,819 tokens per session, scanned A, original, MIT.

A guide for BrainCue, a local-first desktop assistant for live conversations. It describes an Electron, React, and TypeScript app that transcribes with consent, shows relevant cues in an overlay, archives conversations, and keeps reviewed long-term memory on the user's computer.

In plain words
What is it for?
Developing BrainCue's conversation, meeting, interview, practice, profile, memory, retrieval, and on-screen cue features. It helps agents preserve the app's local-data and consent expectations.
Why use it?
It gives coding agents the product context needed to change shared features without assuming the app is only for interviews. It also explains profile handling and that only retrieved context and the current question are sent to OpenAI with the user's own key.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/tpikachu/braincue/claude-md"><img src="https://agentmods.dev/badge/instructions/tpikachu/braincue/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,819 This file is loaded in full into every session.
When invoked 1,819 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.01819 $0.01819
Opus 5.5 $0.00728 $0.00728
Sonnet 5.5 $0.00364 $0.00364
Haiku 4.5 $0.00182 $0.00182

Measured 2mo ago against content hash 9ec126fffcf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

BrainCue 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 2mo 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 · 64 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this is

BrainCue — a local-first desktop AI companion for live conversations (Electron + React + TypeScript). It transcribes what it hears in real time (with consent), decides when it can help, and streams grounded cues into a floating, screen-share-invisible overlay ("Cue Card"). It archives each conversation so the next one starts where the last ended, and holds reviewed long-term memory per profile. Data stays on the user's machine; only retrieved context + the current question go to OpenAI (BYO key).

Interviews are one activity, not the product. Interview Copilot and Practice are still fully shipped, but meetings and solo sessions are the daily cases — when you touch a shared path (prompts, retrieval, session defaults), check that it doesn't assume an interview. See docs/00-VISION.md and docs/16-CONTINUITY.md.

One profile at a time. The dashboard is scoped by AppSettings.activeProfileId, chosen in the sidebar switcher and resolved in main (shared/activeProfile.ts) so every window agrees. Profile-scoped surfaces read it — never add another profile <Select> to a page. See docs/19-ACTIVE-PROFILE.md.

The user picks an activity, never a mode. shared/activities.ts is the one catalog: what a call IS (meeting/project/job/subject/personal/game/solo/custom), what a Space is a saved instance of, and which SessionMode the engine derives from it. There used to be two lists answering the same question and they could disagree. Never add a mode picker back to a start surface; add an activity. See docs/18-ACTIVITIES.md.

A Space is where a conversation is kept. archiveSession and extractMemoryCandidates both return 0 when sessions.packId is null — no Space, no summary, no memory. The start modal offers only the Spaces of the chosen activity (spacesFor) and says what will survive the session before it starts; the save prompt offers the choice once more and files the session before either half runs. Exactly one activity refuses to start without one (ActivityConfig.needsSpace, job). See docs/16-CONTINUITY.md §15.

Read the full file on GitHub · 64 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. 2mo ago First seen · 64 lines · 1,819 tokens per session scan A 9ec126fffcf2

Subscribe to this mod's changes

BrainCue CLAUDE.md is an instructions file published in the GitHub repository tpikachu/BrainCue (5 stars, last pushed 1mo ago), licensed MIT. It adds 1,819 tokens to every session, about $0.0073 per session on Opus 5.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

BrainCue CLAUDE.md compared with instructions from other repositories

BrainCue CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
BrainCue CLAUDE.mdtpikachu/BrainCueInstructions file51mo agoMITA1,819Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot