seamless CLAUDE.md

seamless CLAUDE.md is an instructions file for coding agents from 0spoon/seamless. It costs 3,294 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

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/0spoon/seamless/claude-md
Clone the repo
git clone --depth 1 https://github.com/0spoon/seamless

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,294 This file is loaded in full into every session.
When invoked 3,294 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.03294 $0.03294
Opus 5 $0.01647 $0.01647
Sonnet 5 $0.00659 $0.00659
Haiku 4.5 $0.00329 $0.00329

Measured 3d ago against content hash af81f3e70b13, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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 · 247 lines

How it starts

The opening of the file, as written. The whole thing — 247 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, import, install-hooks, map-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/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 · 247 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. 3d 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 (4 stars, last pushed 16d ago), licensed MIT. It adds 3,294 tokens to every session, about $0.0165 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-31.