Supermemory Agent Rules

A memory and context engine for AI applications.

Overview

Supermemory's CLAUDE.md maps the web and MCP apps, API routes, shared packages, ingestion pipeline, deployment bindings, and generated schema types. Its Web Application section is unfinished, so use it for orientation rather than as a complete workflow.

Documents

└── 

Techniques in this file

01 / Architecture as narrative

Describe the content-processing path

The ingestion path runs from content detection and extraction through summarization, embeddings, chunking, and space relationships. The sequence shows where each behavior belongs.

Source excerpt starting at line 70.
All content goes through the `IngestContentWorkflow` which handles:- Content type detection and extraction- AI-powered summarization and automatic tagging- Vector embedding generation using Cloudflare AI- Chunking for semantic search optimization- Space relationship management

02 / Verification by change type

Distinguish workspace and application commands

Root commands operate across the monorepo, while the web application has its own development and build commands. The file supplies both scopes rather than leaving working-directory assumptions implicit.

Source excerpt starting at line 15.
### Root Level (Monorepo)- `bun run dev` - Start all applications in development mode- `bun run build` - Build all applications- `bun run check-types` - Run TypeScript checks across all apps- `bun run format-lint` - Format and lint code using Biome ### Web Application (`apps/web/`)- `bun run dev` - Start Next.js development server- `bun run build` - Build Next.js application- `bun run lint` - Run Next.js linting

03 / Architecture as narrative

List the deployment dependencies

The environment section names the Cloudflare bindings and the connection-import schedule. These details explain which external capabilities the processing architecture expects.

Source excerpt starting at line 77.
### Environment Configuration- Uses `wrangler.jsonc` for Cloudflare Workers configuration- Supports staging and production environments- Requires Cloudflare bindings: Hyperdrive (DB), AI, KV storage, Workflows- Cron triggers every 4 hours for connection imports

Ideas for your repo

  1. Describe the processing stages a contributor must trace when changing behavior.
  2. Label commands by workspace or application scope.
  3. List required runtime bindings beside the workflows that depend on them.
Sponsored byModem

Give your agents the whole story.

These instructions explain how to work in Supermemory. Modem shows your agents what customers said, who is affected, and what changed.

See how Modem works