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 skills add watt-mind/factory --skill principle-boundary-disciplinegit clone --depth 1 https://github.com/watt-mind/factoryWrote 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/watt-mind/factory/principle-boundary-discipline)<a href="https://agentmods.dev/skills/watt-mind/factory/principle-boundary-discipline"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/principle-boundary-discipline/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/watt-mind/factory/principle-boundary-discipline"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/principle-boundary-discipline.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00043 | $0.00186 |
| Opus 5.5 | $0.00017 | $0.00074 |
| Sonnet 5.5 | $0.00009 | $0.00037 |
| Haiku 4.5 | $0.00004 | $0.00019 |
Grade A, and why
principle-boundary-discipline 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 14d 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.
What it actually says
Boundary Discipline
Concentrate parsing, validation, and defensive guards at system boundaries (CLI args, config files, HTTP/JWT inputs, external APIs, scraped HTML, and database reads).
- Parse once at the edge: Convert untrusted external payloads into validated internal types at the boundary, then keep core business logic pure and free of defensive null-checks for impossible states.
- Fail closed at boundaries: Reject malformed inputs, missing auth, or unexpected schemas explicitly at the boundary rather than letting partial data leak inward.
- Respect module boundaries: Keep transport/proxy layers decoupled from offline ingest/analysis internals.
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.
- 14d ago First seen · 14 lines · 43 tokens per session scan A 404f45eaa34e
principle-boundary-discipline is a skill published in the GitHub repository watt-mind/factory (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 43 tokens to every session and 186 once invoked, about $0.0002 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-11-16.
principle-boundary-discipline compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| principle-boundary-disciplinewatt-mind/factory | Skill | 24 | yesterday | Apache-2.0 | A | 43 | Claude Code |
| go-add-entityJotJunior/cstk | Skill | 24 | yesterday | MIT | A | 35 | Claude Code |
| go-add-consumerJotJunior/cstk | Skill | 24 | yesterday | MIT | A | 19 | Claude Code |
| fleetq-connectescapeboy/agent-fleet-o | Skill | 84 | today | AGPL-3.0 | A | 25 | Claude Code, Codex |
| laravel-plugin-discoveryjxoesneon/Ciel | Skill | 1 | 1mo ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| api_clientjxoesneon/Ciel | Skill | 1 | 1mo ago | Apache-2.0 | A | 19 | Claude Code, Codex |
| User Managementsystempromptio/systemprompt-template | Skill | 30 | today | none | A | 18 | Claude Code |