tide: Instructions file for Claude Code

CLAUDE.md

tide CLAUDE.md is an instructions file for Claude Code from team-attention/tide. It costs 633 tokens per session, scanned A, original, MIT.

Repository instructions for working safely in a monorepo, a codebase containing multiple related applications. They cover choosing between Tide's Rust terminal app and Electron desktop app, defining work, and checking results.

In plain words
What is it for?
Planning features, fixes, or refactors; choosing the correct app directory and build command; and defining a clear goal, current gap, and verification steps before coding.
Why use it?
They reduce mistakes such as editing the wrong application or starting unclear work without a way to verify it. They also collect the relevant commands and project rules in one place.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/team-attention/tide/claude-md"><img src="https://agentmods.dev/badge/instructions/team-attention/tide/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 633 This file is loaded in full into every session.
When invoked 633 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.00633 $0.00633
Opus 5.5 $0.00253 $0.00253
Sonnet 5.5 $0.00127 $0.00127
Haiku 4.5 $0.00063 $0.00063

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

Security

Grade A, and why

tide 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 1mo 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 · 53 lines

How it starts

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

Tide — Monorepo

This repo hosts two independent Tide products that share the brand but not code (different languages, separate builds). Pick the right app directory before working.

App Path Stack Build
Terminal (v1) apps/terminal/ Rust + WGPU native macOS app cargo (run from apps/terminal/)
Desktop (v2) apps/desktop/ Electron + Node + React npm (run from apps/desktop/)

Before building, define the work

Whenever a request means creating or changing something — a feature, a fix, a refactor, anything you'd write code for — do not start until these three are explicit. They are the contract for the work:

  1. Goal — exactly what is wanted, as a concrete outcome, not a vague direction.
  2. Current state & gap — how it works today and precisely what's missing or wrong. If you can't state the gap, you don't understand the task yet.
  3. Verification scenario — the concrete steps that prove it's done: what you'll do, what you expect to see. If you can't name how you'd check it, you can't claim it works.

If any of the three is missing or ambiguous, ask before writing code — one focused round of questions to pin it down. Don't guess the goal, don't invent a gap, and don't build something you have no way to verify. Filling these in is the first step of the work, not overhead.

Rules

  • Each app is self-contained. Its build files (Cargo.toml / package.json), source, tests, docs, and scripts all live under its own directory. The repo root holds only brand-level files (README.md, LICENSE, assets/, .github/).
  • Never run a build from the repo root. cd apps/terminal for Rust, cd apps/desktop for the Electron app.
  • No code is shared across the two apps (Rust ≠ TypeScript). If you ever share anything it is the process-boundary contract shape, mirrored per language.
  • Each app has its own detailed instructions — read those before changing code:
    • apps/terminal/CLAUDE.md (+ apps/terminal/AGENTS.md, apps/terminal/docs/)
    • apps/desktop/docs_v2/ and the tide-v2-plan skill.

Read the full file on GitHub · 53 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. 1mo ago First seen · 53 lines · 633 tokens per session scan A 8dd3a779cef1

Subscribe to this mod's changes

tide CLAUDE.md is an instructions file published in the GitHub repository team-attention/tide (76 stars, last pushed 10d ago), licensed MIT. It adds 633 tokens to every session, about $0.0025 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-30.

Related

Other instructions, from other repositories