sint-protocol CLAUDE.md

sint-protocol CLAUDE.md is an instructions file for coding agents from sint-ai/sint-protocol. It costs 2,643 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for SINT Protocol, a security layer that controls actions taken by AI agents in the physical world, such as robot movements or device commands. It explains the monorepo, meaning one repository containing multiple related applications and packages, and its architecture.

In plain words
What is it for?
Building, testing, type-checking, benchmarking, or starting individual SINT packages and services, including its policy gateway and HTTP gateway server.
Why use it?
They help an agent understand where authorization, limits, tokens, gateways, and related code belong 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/sint-ai/sint-protocol/claude-md
Clone the repo
git clone --depth 1 https://github.com/sint-ai/sint-protocol

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/sint-ai/sint-protocol/claude-md.svg)](https://agentmods.dev/instructions/sint-ai/sint-protocol/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/sint-ai/sint-protocol/claude-md"><img src="https://agentmods.dev/badge/instructions/sint-ai/sint-protocol/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,643 This file is loaded in full into every session.
When invoked 2,643 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.02643 $0.02643
Opus 5 $0.01321 $0.01321
Sonnet 5 $0.00529 $0.00529
Haiku 4.5 $0.00264 $0.00264

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

How it starts

The opening of the file, as written. The whole thing — 222 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,728 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 · 222 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. 5d ago First seen · 222 lines · 2,643 tokens per session scan A 45fce1b1531a

Subscribe to this mod's changes

sint-protocol CLAUDE.md is an instructions file published in the GitHub repository sint-ai/sint-protocol (13 stars, last pushed 23d ago), licensed Apache-2.0. It adds 2,643 tokens to every session, about $0.0132 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.