Borrowing it
Nothing to install: this file belongs to zero8dotdev/smriti. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zero8dotdev/smriti/main/.agents/skills/design-contracts/SKILL.mdgit clone --depth 1 https://github.com/zero8dotdev/smritiWrote 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/skills/zero8dotdev/smriti/design-contracts)<a href="https://agentmods.dev/skills/zero8dotdev/smriti/design-contracts"><img src="https://agentmods.dev/badge/skills/zero8dotdev/smriti/design-contracts/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.
<a href="https://agentmods.dev/skills/zero8dotdev/smriti/design-contracts"><img src="https://agentmods.dev/badge/skills/zero8dotdev/smriti/design-contracts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00033 | $0.00967 |
| Opus 5.5 | $0.00013 | $0.00387 |
| Sonnet 5.5 | $0.00007 | $0.00193 |
| Haiku 4.5 | $0.00003 | $0.00097 |
Grade A, and why
design-contracts 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.
How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
smriti Design Contract Guardrails
This skill activates whenever you are adding or modifying a CLI command, changing JSON output, touching telemetry/logging code, or altering config defaults in the smriti project.
Contract 1 — Dry Run
Mutating commands MUST support --dry-run
The following commands write to disk, the database, or the network. Every one of
them must honour --dry-run:
| Command | Expected guard pattern |
|---|---|
ingest |
const dryRun = hasFlag(args, "--dry-run"); then no DB/file writes when true |
embed |
same |
categorize |
same |
tag |
same |
share |
same |
sync |
same |
context |
already implemented — keep it |
When --dry-run is active:
stdoutmust describe what would happen (e.g.Would ingest N sessions).stderrmust note what was skipped (No changes were made (--dry-run)).- Exit code follows normal success/error rules — dry-run is NOT an error.
- If
--jsonis also set, the output envelope must include"meta": { "dry_run": true }.
Read-only commands MUST reject --dry-run
These commands never mutate state. If they receive --dry-run, they must print
a usage error and process.exit(1):
search, recall, list, status, show, compare, projects, team,
categories
Contract 2 — Observability / Telemetry
Never log user content
The following are forbidden in any console.log, console.error, or
log/audit output:
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.
- 1mo ago First seen · 117 lines · 33 tokens per session scan A f5c2e1b8f94e
design-contracts is a skill published in the GitHub repository zero8dotdev/smriti (39 stars, last pushed 1mo ago), licensed MIT. It adds 33 tokens to every session and 967 once invoked, about $0.0001 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-30.
Other skills, from other repositories
sora-deep-research
A deep-research workflow that breaks a question into checks, searches for evidence, reads sources, and investigates missing information again. It records evidence, dates, and whether information was retrieved successfully.
sora-client
A typed TypeScript client for calling Sora tools as functions from code. It can call tools for tasks such as search, fetching page text, addresses, and weather, then filter the results before returning selected fields.
sora-client
A typed TypeScript client for calling Sora tools as functions from code. It can call tools for tasks such as search, fetching page text, addresses, and weather, then filter the results before returning selected fields.
trelly-mcp
Configure and use the trelly MCP stdio server (trelloboardslist, trellocardcreate, trellosearch, trelloapiget, etc.). Use when wiring Cursor/Claude MCP, listing or showing Trello cards/todos, linking GitHub PRs/commits, or choosing MCP vs CLI.
trelly
Operate the trelly Trello CLI (npm trelly; bin trelly): auth setup/login, human vs --json output, boards/lists/cards, search, attachments, GitHub PR/commit links on cards, trelly ui, trelly api. Use when the user asks to run trelly commands, list or show Trello cards/todos, link a GitHub PR or commit to a card, or…
oma-scholar
Search academic literature and generate, validate, or compare Knows paper sidecars. Use for claim/evidence analysis and literature synthesis.