seamless: Instructions file for Claude Code

CLAUDE.md

seamless CLAUDE.md is an instructions file for Claude Code from 0spoon/seamless. It costs 3,337 tokens per session, scanned A, original, MIT.

Repository instructions for Seamless, a local-first system that gives AI agents persistent memory, shared task coordination, research tracking, and an observation console. Local-first means the main data and operation stay on the user's computer.

In plain words
What is it for?
Working on its Go server and command-line tools, including serving the system, checking its health, importing data, installing hooks, mapping repositories, managing families, and opening the console.
Why use it?
They help agents understand Seamless's architecture, commands, data locations, and current service setup before making changes.

Instructions file for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/0spoon/seamless/claude-md"><img src="https://agentmods.dev/badge/instructions/0spoon/seamless/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,337 This file is loaded in full into every session.
When invoked 3,337 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.03337 $0.03337
Opus 5.5 $0.01335 $0.01335
Sonnet 5.5 $0.00667 $0.00667
Haiku 4.5 $0.00334 $0.00334

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

Security

Grade A, and why

seamless 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 28d 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 · 250 lines

How it starts

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

CLAUDE.md

Quick-reference for AI assistants working in the Seamless repository. For coding conventions see AGENTS.md.

What is Seamless?

Seamless is a local-first agent memory and coordination substrate. Its clients are AI agents (Claude Code and friends); the human is an observer/editor. It provides persistent memory with a lifecycle (supersession, provenance, archival, a gardener), ambient sessions via Claude Code hooks, a dependency-aware task ready-queue, research trials, hybrid recall, and a read-mostly observability console. Go backend, no CGO, single binary + CLI.

It is a ground-up rebuild of Seam v1 (a private predecessor, read-only reference). As of the P6 cutover (2026-07-10) Seamless is the sole agent-memory system, serving on port 8081 with data dir ~/.seamless and env prefix SEAMLESS_*. v1 is decommissioned (launchd services disabled, port 8080 freed) with ~/.seam preserved read-only as a fallback archive.

Project structure

cmd/seamlessd/     server daemon: serve, doctor, export, import, install-hooks,
                   map-repo, unmap-repo, family, console-open
cmd/seam/          headless CLI (agents + owner observability)  [P2/P5]
cmd/docsgen/       docs site generator: docs-src/ -> docs/docs/ (see SITE.md)
cmd/demoseed/      thin CLI over internal/demokit: the console-fleet seed
                   (branding screenshots) and `-scenes` (the shared fixture)
cmd/seambench/     agent-scenario benchmark: `run` (headless scenario x condition
                   matrix) + `report` (grade, uplift, version deltas). Driven by
                   `make seambench`; see cmd/seambench/README.md
docs-src/          docs site markdown + nav.yaml (source; docs/docs/ is output)
internal/core/     domain types: Project, Memory, Session, Task, Trial, Event
internal/config/   single YAML + env config (static key, budgets, briefing tunables, llm)
internal/store/    SQLite: schema, FTS5, embeddings (BLOB + cosine), migrations;
                   index_work.go mirrors the DB-native work record (tasks,
                   trials, session findings) into the same fts table the files
                   layer fills with memories and notes
internal/events/   append-only event log; SSE fan-out; retrieval stats
internal/validate/ path/title/name guards
internal/files/    markdown layer: frontmatter, atomic writes, watcher     [P1]
internal/markdown/ agent markdown -> sanitized console HTML (goldmark + bluemonday)
internal/llm/      OpenAI (default), Ollama, Anthropic chat + embeddings   [P1]
internal/retrieve/ briefing assembler, prompt-context matcher, recall (RRF),
                   console search                                          [P2/P4]
internal/lifecycle/ supersession, archival, provenance                     [P3]
# (the dependency-aware ready-queue + lease-based claiming live in
#  internal/store/tasks*.go -- there is no internal/tasks package)
internal/gardener/ the propose-only passes (dedup, staleness, stale-stage,
                   dead-weight, digest, stale-plan, memory-wanted -- the
                   canonical list is RunOnce), plus the request- and
                   split-driven proposals                                  [P4]
internal/plans/    captured CC plan vocabulary: tags, statuses, tracking task
internal/mcp/      MCP tools (streamable HTTP, static bearer key); see ToolCount [P2+]
internal/hooks/    session hooks + CC plan-mode capture (PostToolUse etc.) [P2/P3]
internal/console/  server-rendered observability UI (html/template + SSE)  [P5]
internal/capture/  SSRF-safe URL fetch                                     [P4]
internal/archive/  instance archives: VACUUM INTO snapshot + corpus + manifest
                   out; guarded tar extract and restore-or-merge back in.
                   Never imports config
internal/importer/ one-shot import of the v1 (~/.seam) snapshot
internal/demokit/  importable fixture-seeding primitives + the demo spec sets;
                   the shared seam under BOTH branding and the benchmark
internal/bench/    agent-scenario benchmark: scenario table, condition arms,
                   graders (repo assertions + event log + optional LLM judge),
                   results/uplift aggregation, the on-disk artifact contract
scripts/fixture/   the shared throwaway fixture: make-myapp.sh (demo repo) +
                   harness.sh --mode record|bench (branding | benchmark arms)
scripts/branding/  GH-Pages surface: record.sh, distill.py (verbatim-audited
                   scene data), console-shots.js -- see its README.md

Read the full file on GitHub · 250 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. 28d ago Changed · +5 tokens per session 1dc26fcffbd7
  2. 1mo ago Changed · +3 lines · +38 tokens per session fe22598820cd
  3. 1mo ago First seen · 247 lines · 3,294 tokens per session scan A af81f3e70b13

Subscribe to this mod's changes

seamless CLAUDE.md is an instructions file published in the GitHub repository 0spoon/seamless (5 stars, last pushed 28d ago), licensed MIT. It adds 3,337 tokens to every session, about $0.0133 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

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,715 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,262 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

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 · 2,750 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,261 tokens