sint-protocol: Instructions file for Claude Code

CLAUDE.md

sint-protocol CLAUDE.md is an instructions file for Claude Code from pshkv/sint-protocol. It costs 2,361 tokens per session, scanned A, original, Apache-2.0.

Project-specific instructions for SINT Protocol, a security layer between AI agents and physical devices such as robots. It checks whether actions are allowed, limits them, and records what happened; the project uses a monorepo, meaning several related packages share one repository.

In plain words
What is it for?
Use them when working on the gateway server, shared types, capability tokens, policy checks, MCP bridge, tests, type checking, or performance benchmarks.
Why use it?
They explain the repository layout, required commands, and the central policy gateway where permissions and constraints are assigned. This helps changes follow the project’s security and package boundaries.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 sint-protocol CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/pshkv/sint-protocol/claude-md"><img src="https://agentmods.dev/badge/instructions/pshkv/sint-protocol/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,361 This file is loaded in full into every session.
When invoked 2,361 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.02361 $0.02361
Opus 5.5 $0.00944 $0.00944
Sonnet 5.5 $0.00472 $0.00472
Haiku 4.5 $0.00236 $0.00236

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

Security

Grade A, and why

sint-protocol 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 1mo 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 · 216 lines

How it starts

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

SINT Protocol — Agent Guide

This file helps AI agents (and humans) understand and contribute to the SINT Protocol codebase.

What is this?

SINT is a security enforcement layer for physical AI. It sits between AI agents and the physical world (robots, tool calls, actuators) ensuring every action is authorized, constrained, and audited.

Quick Commands

pnpm install          # Install dependencies
pnpm run build        # Build all packages (required before test)
pnpm run test         # Run all tests (currently 1,105 passing)
pnpm run typecheck    # Type-check without emitting
pnpm run clean        # Remove build artifacts
pnpm run bench        # Run PolicyGateway performance benchmarks (p50/p99 latency)

Run a single package:

pnpm --filter @sint/gate-policy-gateway test
pnpm --filter @sint/bridge-mcp test

Start the gateway server:

pnpm --filter @sint/gateway-server dev

Monorepo Layout

apps/gateway-server/     → Hono HTTP API (port 3000)
packages/core/           → Shared types, Zod schemas, tier constants
packages/capability-tokens/ → Ed25519 token issuance, delegation, validation
packages/policy-gateway/ → THE choke point: tier assignment, constraints, combos
packages/evidence-ledger/ → SHA-256 hash-chained audit log
packages/bridge-mcp/    → MCP tool call → SINT request mapping
packages/bridge-ros2/   → ROS 2 topic/service → SINT request mapping
packages/persistence/   → Storage interfaces + in-memory implementations
packages/conformance-tests/ → Security regression suite (must pass on every PR)

Architecture Rules

1. Every action flows through PolicyGateway.intercept()

No bridge adapter, route handler, or service should make authorization decisions independently. All requests go through the gateway.

2. Result<T, E> — never throw

All fallible operations return { ok: true, value: T } | { ok: false, error: E }. Use the ok() and err() helpers from @sint/core. Never use try/catch for control flow.

Read the full file on GitHub · 216 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. 1mo ago First seen · 216 lines · 2,361 tokens per session scan A ea5322365723

Subscribe to this mod's changes

sint-protocol CLAUDE.md is an instructions file published in the GitHub repository pshkv/sint-protocol (11 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 2,361 tokens to every session, about $0.0094 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