Semantic-Anchors CLAUDE.md

Semantic-Anchors CLAUDE.md is an instructions file for coding agents from LLM-Coding/Semantic-Anchors. It costs 9,005 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for working with CLAUDE.md, a file that tells an AI coding assistant how a project is organized and how to work in it. They cover setup, repository purpose, Git workflow, hooks, forks, and worktrees.

In plain words
What is it for?
Use them when starting work in the Semantic Anchors repository, configuring Git hooks, managing forks and remotes, or using worktrees.
Why use it?
They give coding assistants shared project context and reduce mistakes during setup, branching, commits, and parallel development.

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/llm-coding/semantic-anchors/claude-md
Clone the repo
git clone --depth 1 https://github.com/LLM-Coding/Semantic-Anchors
Per session 9,005 This file is loaded in full into every session.
When invoked 9,005 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.09005 $0.09005
Opus 5 $0.04503 $0.04503
Sonnet 5 $0.01801 $0.01801
Haiku 4.5 $0.00901 $0.00901

Measured 3d ago against content hash 63361d4e3a59, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Semantic-Anchors 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 · 725 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Repository Purpose

This repository is a curated catalog of semantic anchors - well-defined terms, methodologies, and frameworks that serve as reference points when communicating with Large Language Models (LLMs). Semantic anchors act as shared vocabulary that triggers specific, contextually rich knowledge domains within an LLM's training data.

Current Status: The repository is undergoing a major redesign to become an interactive, bilingual website with treemap visualization, role-based filtering, and automated contribution workflow.

First-Time Setup

After cloning, activate the shared Git hooks with one command (works on Unix/macOS and Windows Git Bash):

git config core.hooksPath .githooks

This installs the pre-commit hook that automatically syncs skill/ into plugins/semantic-anchors/skills/ on every commit. No other tools are required.

Git Workflow & Fork Setup

Development takes place in the fork until PRD implementation is complete.

Git Remotes:

  • originraifdmueller/Semantic-Anchors (fork for development)
  • upstreamLLM-Coding/Semantic-Anchors (original repository)

Workflow:

  1. All feature branches are created in the fork (origin)
  2. PRs are created within the fork for review
  3. After PRD implementation is complete, changes will be merged back to upstream
  4. Use git push origin <branch> for all development work
  5. Use git fetch upstream to sync with original repository if needed

Issue References:

Git Worktrees for Parallel Team Development

When using agent teams, use Git Worktrees to enable true parallel development:

Setup:

# Create worktree directory
mkdir -p ~/projects/Semantic-Anchors-worktrees

# Create worktree for each feature branch
git worktree add ../Semantic-Anchors-worktrees/feature-<name> -b feature/<name>

Read the full file on GitHub · 725 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 · 725 lines · 9,005 tokens per session scan A 63361d4e3a59

Subscribe to this mod's changes

Semantic-Anchors CLAUDE.md is an instructions file published in the GitHub repository LLM-Coding/Semantic-Anchors (463 stars, last pushed 2d ago), licensed Apache-2.0. It adds 9,005 tokens to every session, about $0.0450 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-30.