dory CLAUDE.md

Project instructions for a Yarn 4 monorepo containing several applications and shared packages. A monorepo is one repository that holds multiple related projects.

In plain words
What is it for?
Working on the repository's web, admin, and desktop apps, shared authentication code, shadcn/ui components, and dependencies.
Why use it?
They give contributors the correct commands, file locations, and dependency-upgrade rules for this repository. This reduces mistakes when changing apps, shared code, or UI components.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/dorylab/dory/claude-md
Clone the repo
git clone --depth 1 https://github.com/dorylab/dory
Per session 499 This file is loaded in full into every session.
When invoked 499 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00499 $0.00499
Opus 5 $0.00249 $0.00249
Sonnet 5 $0.00100 $0.00100
Haiku 4.5 $0.00050 $0.00050

Measured 2d ago against content hash 108d0f0e0a9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dory 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 2d 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 · 41 lines

What it actually says

Dory - Claude Code Guidelines

Project Structure

  • Monorepo managed by Yarn 4 (Berry) workspaces
  • apps/web — Next.js web app (main product)
  • apps/admin — Next.js admin panel
  • apps/electron — Electron desktop app
  • packages/auth-core — Shared auth package

Package Manager

  • Yarn 4 — use yarn commands, NOT npm or pnpm
  • yarn workspace <name> <cmd> to run workspace-specific commands
  • yarn install to install dependencies
  • yarn workspace web typecheck to check types

shadcn/ui

  • Components live in apps/web/registry/new-york-v4/ui/
  • Chart demos live in apps/web/registry/new-york-v4/charts/
  • To add/update components: yarn dlx shadcn@latest add <component-name> --overwrite
  • To update multiple: yarn dlx shadcn@latest add comp1 comp2 comp3 --overwrite
  • shadcn CLI may pin dependency versions (remove ^) or change versions — review package.json after running
  • shadcn CLI installs to default path; if components are in a custom directory, you may need to move files after

Dependency Upgrades

  • Use npx npm-check-updates --workspaces to check for outdated dependencies across all workspaces
  • Use yarn npm audit to check for known vulnerabilities
  • For TypeScript major upgrades: run npx @andrewbranch/ts5to6 --fixBaseUrl <tsconfig> and --fixRootDir <tsconfig> to verify config compatibility
  • When upgrading packages that have shadcn wrappers (recharts, react-day-picker, react-resizable-panels), update via yarn dlx shadcn@latest add <component> --overwrite to get compatible wrapper code
  • Always run yarn workspace web typecheck after upgrades to catch breaking changes
  • Prefer ^ prefix for dependency versions in package.json

Code Style

  • All git commits, PR titles, and branch names must be in English
  • TypeScript strict mode is enabled across all workspaces
  • ESLint with flat config (eslint.config.mjs)
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. 2d ago First seen · 41 lines · 499 tokens per session scan A 108d0f0e0a9c

Subscribe to this mod's changes

dory CLAUDE.md is an instructions file published in the GitHub repository dorylab/dory (280 stars, last pushed 5d ago), licensed Apache-2.0. It adds 499 tokens to every session, about $0.0025 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.