platypus: Instructions file for Claude Code

CLAUDE.md

platypus CLAUDE.md is an instructions file for Claude Code from willdady/platypus. It costs 1,427 tokens per session, scanned A, original, MIT.

A project instruction file for Platypus, a full-stack application for building and managing AI agents, covering setup, commands, architecture, and constraints. It also explains the monorepo layout, where several related projects share one repository.

In plain words
What is it for?
Use it as a reference when working across the frontend, backend, database, authentication, and shared packages in Platypus.
Why use it?
It gives coding agents and developers the project context needed to install, build, test, format, lint, and type-check the application correctly.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/willdady/platypus/claude-md"><img src="https://agentmods.dev/badge/instructions/willdady/platypus/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,427 This file is loaded in full into every session.
When invoked 1,427 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.01427 $0.01427
Opus 5.5 $0.00571 $0.00571
Sonnet 5.5 $0.00285 $0.00285
Haiku 4.5 $0.00143 $0.00143

Measured 4d ago against content hash 199fada55b0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

platypus 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 4d 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 · 106 lines

How it starts

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

Project Overview

Platypus is a full-stack app for building and managing AI agents with tool support and multi-provider capabilities. pnpm workspaces + Turborepo monorepo.

Setup & Commands

pnpm install
cp apps/frontend/.example.env apps/frontend/.env
cp apps/backend/.example.env apps/backend/.env

pnpm dev               # frontend + backend + local Postgres
pnpm drizzle-kit-push  # apply schema changes (requires `pnpm dev` running)
pnpm build
pnpm format            # prettier --write .
pnpm format:check      # prettier --check .; gated in CI
pnpm lint              # ESLint, every package; gated in CI
pnpm typecheck         # tsc --noEmit, every package; gated in CI
pnpm test              # all tests (Vitest, orchestrated by Turborepo)

Per-package: pnpm --filter <pkg> test|test:watch|test:coverage|typecheck, where <pkg> is the @platypus/* name (@platypus/frontend, @platypus/backend, @platypus/docs, …). Run tools with pnpm --filter <pkg> exec. For a [orgId]-style path, pass vitest a bracket-free substring filter.

pnpm typecheck runs tsc --noEmit for every package exposing a typecheck script, test files included. CI fails on any type error — ESLint does not catch them, so run it before pushing. Other packages join the gate by adding their own typecheck script.

Default admin in local development: [email protected] / admin123 (override via ADMIN_EMAIL / ADMIN_PASSWORD). The published image sets NODE_ENV=production, where the seed refuses that pair, so a deployment must choose its own.

Monorepo Layout

  • apps/backend — Hono.js REST API, Drizzle ORM (Postgres 17), better-auth at /auth/*. Schema in src/db/, routes in src/routes/, run lifecycle in src/runs/. Entry: apps/backend/index.ts.
  • apps/frontend — Next.js 16 App Router. Multi-tenant routes under app/[orgId]/workspace/[workspaceId]/.... Tailwind v4 + Radix.
  • packages/schemas — Shared Zod schemas (@platypus/schemas), all in one index.ts (no src/). Each domain model has full / create / update variants.
  • apps/website/public/install.sh — the one-line installer served at https://platypus.chat/install.sh (a permanent public URL); the only copy.

Read the full file on GitHub · 106 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. 4d ago Changed · +24 tokens per session 199fada55b0a
  2. 18d ago Changed · +2 lines · +86 tokens per session a544b0a25a10
  3. 22d ago Changed · +1 lines · +33 tokens per session 888e2869428a
  4. 28d ago Changed · -15 lines · -212 tokens per session ff419f94bdee
  5. 1mo ago Changed · +2 lines · +68 tokens per session 79fe28a908e9
  6. 2mo ago First seen · 116 lines · 1,428 tokens per session scan A aa5272b49c40

Subscribe to this mod's changes

platypus CLAUDE.md is an instructions file published in the GitHub repository willdady/platypus (130 stars, last pushed yesterday), licensed MIT. It adds 1,427 tokens to every session, about $0.0057 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-09-01.

Related

Other instructions, from other repositories

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 · 9,719 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,461 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,516 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,680 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 · 4,313 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 3,037 tokens