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/anistark/sutras/agents-mdgit clone --depth 1 https://github.com/anistark/sutrasWrote 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.
[](https://agentmods.dev/instructions/anistark/sutras/agents-md)<a href="https://agentmods.dev/instructions/anistark/sutras/agents-md"><img src="https://agentmods.dev/badge/instructions/anistark/sutras/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.03279 | $0.03279 |
| Opus 5 | $0.01639 | $0.01639 |
| Sonnet 5 | $0.00656 | $0.00656 |
| Haiku 4.5 | $0.00328 | $0.00328 |
Grade A, and why
sutras AGENTS.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.
How it starts
The opening of the file, as written. The whole thing — 310 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — AI Coding Agent Instructions for Sutras
Instructions for Claude Code, Cursor, Copilot, pi, opencode and other AI coding agents working on this project.
Project Overview
Sutras is the universal devtool for agent skills — create, test, evaluate, distribute, and discover skills for AI coding agents (Claude Code, Cursor, Windsurf, Copilot, and more).
- Repository: https://github.com/anistark/sutras
- PyPI: https://pypi.org/project/sutras/
- Docs: https://anistark.github.io/sutras/
- License: MIT
- Python: >=3.11
- Build system: hatchling (via
uv)
Architecture
Sutras is a Python CLI built with Click. It has two layers:
1. Core Library (src/sutras/core/)
The engine — models, loaders, runners, and managers. All business logic lives here.
| File | Purpose |
|---|---|
abi.py |
Pydantic models for sutras.yaml (SutrasABI, TestConfig, EvalConfig, etc.) |
skill.py |
Skill model — combines SKILL.md frontmatter with ABI metadata |
loader.py |
SkillLoader — discovers and loads skills from ~/.claude/skills/ and .claude/skills/ |
config.py |
SutrasConfig — global config from ~/.sutras/config.yaml, registry entries |
templates.py |
Built-in skill templates for sutras new --template |
test_runner.py |
TestRunner — executes test cases defined in sutras.yaml |
evaluator.py |
Evaluator — Ragas-based evaluation framework |
builder.py |
SkillBuilder — packages skills into tarballs for distribution |
naming.py |
SkillName parser — handles @namespace/skill and bare names |
semver.py |
Semver constraint parsing (npm-style: ^1.0.0, ~1.2.3, ranges) |
registry.py |
RegistryManager — federated git-based registry system |
installer.py |
SkillInstaller — installs skills to ~/.claude/installed/ with symlinks |
publisher.py |
SkillPublisher — publishes skills to registries (direct push or PR) |
resolver.py |
DependencyResolver — recursive dependency resolution with conflict detection |
lockfile.py |
.sutras.lock format — lock file for reproducible installs |
docgen.py |
Documentation generation from skill metadata |
updater.py |
Self-update logic — checks PyPI, upgrades CLI, refreshes pi extension |
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 · 310 lines · 3,279 tokens per session scan A b8887051ccb1
sutras AGENTS.md is an instructions file published in the GitHub repository anistark/sutras (5 stars, last pushed 4mo ago), licensed MIT. It adds 3,279 tokens to every session, about $0.0164 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-31.
Other instructions, from other repositories
openyida AGENTS.md
AGENTS.md instructions for openyida/openyida, covering openyida — ai agent 开发指引, 项目简介, 项目结构, skill 测评 harness(scripts/eval/) and 关键约定.
lime AGENTS.md
AGENTS.md instructions for limecloud/lime, covering lime 源码仓库指南, 事实源, 工程约束, 协议与质量 and 执行方式.
clean-code-skills clean-code.instructions.md
Instructions for btseee/clean-code-skills, covering clean-code instructions, clean code rules (clean-code-skills), work loop, dependency direction and file and code placement.
claude-skills-management CLAUDE.md
Instructions for hardness1020/claude-skills-management, covering claude.md, plugin release, plugin update and python.
scoop-skills AGENTS.md
AGENTS.md instructions for entr0pia/scoop-skills, covering scoop skills 项目概述, 仓库概述, 项目结构, 技能说明 and scoop-skills.
scoop-skills GEMINI.md
Gemini CLI instructions for entr0pia/scoop-skills, covering scoop skills 项目概述, 仓库概述, 项目结构, 技能说明 and scoop-skills.