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 0xNyk/oneclaw --skill agent-constitutiongit clone --depth 1 https://github.com/0xNyk/oneclawWrote 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/0xnyk/oneclaw/agent-constitution)<a href="https://agentmods.dev/skills/0xnyk/oneclaw/agent-constitution"><img src="https://agentmods.dev/badge/skills/0xnyk/oneclaw/agent-constitution/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/0xnyk/oneclaw/agent-constitution"><img src="https://agentmods.dev/badge/skills/0xnyk/oneclaw/agent-constitution.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.00000 | $0.00318 |
| Opus 5.5 | $0.00000 | $0.00127 |
| Sonnet 5.5 | $0.00000 | $0.00064 |
| Haiku 4.5 | $0.00000 | $0.00032 |
Grade A, and why
agent-constitution 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.
What it actually says
Agent Constitution (SOUL / PRINCIPLES / AGENTS)
When the user asks how to configure their agent identity and behavior, use this as a guide.
SOUL.md (Who you are)
Use for voice, vibe, boundaries, and identity.
Good content:
- What you sound like
- What you refuse to do
- How you treat people
- "Never say..." constraints
Avoid:
- Operational checklists
- Process rules that change often
PRINCIPLES.md (How you decide)
Use for decision-making heuristics: what to do when the request is incomplete, conflicting, or risky.
Good content:
- Tradeoffs (speed vs quality; autonomy vs safety)
- Default strategies (small, verifiable steps; clarify success criteria)
- Pushback rules (how to disagree, when to ask)
Avoid:
- Tool instructions (put those in
TOOLS.mdor skills) - Long how-tos
AGENTS.md (How you operate)
Use as the operational rulebook: session startup, safety gates, memory habits, external-action approval, workflow conventions.
Good content:
- "Every session do X"
- "Ask before doing Y"
- File/memory habits
- Recovery behavior
Feedback Loop (Keep it alive)
When something breaks or you make a mistake:
- Add a short entry to
PRINCIPLES.mdunder "Regressions", or - Update
AGENTS.mdwith a new guardrail/checklist item, or - Turn it into a skill/template if it's repeatable.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 49 lines · 0 tokens per session scan A f8c369c1aef6
agent-constitution is a skill published in the GitHub repository 0xNyk/oneclaw (3 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 318 tokens. 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 skills, from other repositories
codebase-classification
Classify codebases before modification to choose appropriate development approach.
python-repl
Interactive Python REPL automation with common helpers and best practices.
agent_management
This Skill provides a complete management guide for OpenSquad Agents, covering the full workflow of creation, configuration, deployment, and troubleshooting.
collaboration-workflow
Complete guide to the OpenSquad multi-agent collaboration system with user authorization gates. Use this skill when starting a collaboration session, coordinating multiple agents, managing the collaboration board, or when you need to understand how to use boardupdate, boardlist, and other collaboration tools. Triggers…
Collaboration Management
Complete guide to multi-agent collaboration card management, including starting collaborations, joining teams, and creating custom collaboration cards.
mcp_auto_deploy
Allows the agent to self-configure and deploy MCP servers. Covers central config, per-agent sync, web UI visibility, registration diagnostics, and validation.