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.
npx agentmods add instructions/synalinks/synalinks/claude-mdgit clone --depth 1 https://github.com/SynaLinks/synalinksWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00804 | $0.00804 |
| Opus 5 | $0.00402 | $0.00402 |
| Sonnet 5 | $0.00161 | $0.00161 |
| Haiku 4.5 | $0.00080 | $0.00080 |
Grade A, and why
synalinks 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.
This is a copy
89% identical to synalinks AGENTS.md — 13 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.
How it starts
The opening of the file, as written. The whole thing — 87 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.
Project Overview
Synalinks is a neuro-symbolic Language Model (LM) framework inspired by Keras. It provides a declarative API for building, training, and deploying LM-based applications including RAGs, autonomous agents, and self-evolving reasoning systems.
Development Commands
# Install dependencies
./shell/install.sh
# Run tests with coverage
./shell/test.sh
# Run a single test file
uv run pytest synalinks/src/path/to/test_file.py -v
# Run a specific test
uv run pytest synalinks/src/path/to/test_file.py::test_function_name -v
# Lint check
./shell/lint.sh
# Format code
./shell/format.sh
# Build documentation
./shell/doc.sh
Architecture
Core Abstractions
The framework follows a Keras-like pattern with these core abstractions:
-
Module (
synalinks/src/modules/module.py): Base class for all composable units, similar to Keras Layers. Modules have:__init__(): Define attributes and create variablesbuild(): Create state that depends on input shapescall(): The forward pass logic (async)get_config()/from_config(): Serialization support
-
Program (
synalinks/src/programs/program.py): Groups modules into trainable/deployable objects (like Keras Models). Inherits from bothTrainerandModule. Supports:- Functional API: Chain module calls from
Inputto outputs - Subclassing: Override
call()method - Sequential: Stack of single-input/single-output modules
- Functional API: Chain module calls from
-
DataModel: Pydantic-based structured data with JSON schema support. All module I/O uses DataModels.
Key Components
- Generator (
synalinks/src/modules/core/generator.py): Core module for LM inference with structured outputs - FunctionCallingAgent (
synalinks/src/modules/agents/function_calling_agent.py): Autonomous agent with parallel tool calling - ChainOfThought (
synalinks/src/modules/ttc/chain_of_thought.py): Generator with thinking field for step-by-step reasoning
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.
- 3d ago First seen · 87 lines · 804 tokens per session scan A 1e6d9592879f
synalinks CLAUDE.md is an instructions file published in the GitHub repository SynaLinks/synalinks (455 stars, last pushed 3d ago), licensed Apache-2.0. It adds 804 tokens to every session, about $0.0040 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to synalinks AGENTS.md, differing in 13 lines, and is treated as a copy.
Other instructions, from other repositories
openinference AGENTS.md
Instructions for Arize-ai/openinference, covering claude.md, repository overview, repository structure, essential commands by language and python.
gateway CLAUDE.md
Instructions for adaline/gateway, covering claude.md - adaline gateway, project overview, tech stack, repository structure and common commands.
gateway CLAUDE.md
Instructions for Portkey-AI/gateway, covering claude.md, project overview, development commands, core development and testing.
gateway AGENTS.md
Instructions for adaline/gateway, covering agents.md, stack, working agreement, repository map and commands.
nexus CLAUDE.md
Claude Code instructions for Nexus-Router/nexus, covering llm code editing guidelines for nexus, commit messages, domain context, key technologies and rust coding guidelines.
openinference CLAUDE.md
Instructions for Arize-ai/openinference, a project described as: OpenTelemetry Instrumentation for AI Observability.