loci: Instructions file for Claude Code

CLAUDE.md

loci CLAUDE.md is an instructions file for Claude Code from codesstar/loci. It costs 129 tokens per session, scanned A, a copy of loci AGENTS.md, MIT.

A set of instructions for Loci, a memory system for AI assistants that stores and organizes information about a user and their projects. It requires reading specific files before responding.

In plain words
What is it for?
Use it at the start of conversations with Loci to load user preferences, inspect project status, discover features gradually, and coordinate work across projects.
Why use it?
It ensures the assistant starts with the project's plan, preferences, and behavior rules instead of responding without that context. It also checks whether setup has been completed.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/codesstar/loci/claude-md"><img src="https://agentmods.dev/badge/instructions/codesstar/loci/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 This file is loaded in full into every session.
When invoked 129 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 91% copy Near-identical to another mod 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.00129 $0.00129
Opus 5.5 $0.00052 $0.00052
Sonnet 5.5 $0.00026 $0.00026
Haiku 4.5 $0.00013 $0.00013

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

Security

Grade A, and why

loci 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 19d 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.

Origin

This is a copy

91% identical to loci AGENTS.md — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 6 lines

What it actually says

Loci repository / brain entry

Read LOCI.md in this directory; resolve <brain-path> to this directory when it is the user's installed brain. Before Loci memory operations, read LOCI-RULES.md in full once and use its current rules.

When the user is developing Loci itself, treat the personal-data files shipped here as templates. Do not initialize this checkout as their personal brain, run onboarding, or connect global agent settings unless asked. Use temporary brains and an explicit --home for installation tests. Preserve unrelated changes and test changed behavior with node --test tests/*.test.js.

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. 19d ago Changed · -302 lines · -8,727 tokens per session scan C → A 4892a47f186d
  2. 1mo ago Changed · +600 tokens per session 9905bdce1390
  3. 1mo ago First seen · 308 lines · 8,256 tokens per session scan C 687da91a7d8d

Subscribe to this mod's changes

loci CLAUDE.md is an instructions file published in the GitHub repository codesstar/loci (502 stars, last pushed 4d ago), licensed MIT. It adds 129 tokens to every session, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to loci AGENTS.md, differing in 0 lines, and is treated as a copy.

Related

Other instructions, from other repositories