amby-constitution

amby-constitution is a skill for Claude Code, Codex from ambystechcom/AmbyKit. It costs 18 tokens per session (235 once invoked), scanned A, original, MIT.

A project-constitution tool for defining durable rules about code quality, testing, user experience, performance, reliability, and security.

In plain words
What is it for?
Use it to create or amend the project's .amby/constitution.md file.
Why use it?
It gives future feature work a stable set of principles to follow instead of repeating the same decisions. It separates project-wide rules from individual feature requirements.

Skill for Claude CodeCodex

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 skills/ambystechcom/ambykit/amby-constitution
Any agent
npx skills add ambystechcom/AmbyKit --skill amby-constitution
Clone the repo
git clone --depth 1 https://github.com/ambystechcom/AmbyKit

Made for: Claude Code, Codex.

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 amby-constitution

README.md
[![agentmods](https://agentmods.dev/badge/skills/ambystechcom/ambykit/amby-constitution.svg)](https://agentmods.dev/skills/ambystechcom/ambykit/amby-constitution)
Your own site
<a href="https://agentmods.dev/skills/ambystechcom/ambykit/amby-constitution"><img src="https://agentmods.dev/badge/skills/ambystechcom/ambykit/amby-constitution.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 235 The whole file, excluding the scripts and references it only reads on demand.
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.00018 $0.00235
Opus 5 $0.00009 $0.00118
Sonnet 5 $0.00004 $0.00047
Haiku 4.5 $0.00002 $0.00023

Measured 4d ago against content hash 55dc8f5d7dfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

amby-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 4d 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.

.agents/skills/amby-constitution/SKILL.md · 18 lines

What it actually says

Establish or update the project constitution at .amby/constitution.md.

  1. If the file is missing, create it from @.amby/templates/constitution.md and fill it in. If it exists, amend only the section relevant to the user's request that followed this skill invocation (or, with no argument, review all principles briefly).
  2. Interview the user only where a principle is unclear — ask one focused question at a time.
  3. Keep each principle short, imperative, and numbered so later phases can cite it.
  4. Cover: code quality, testing standards, UX consistency, performance/reliability, security. Add project-specific non-negotiables as needed.
  5. Bump the version and update the date. Do not restate feature requirements — those belong in specs.

Output only the edited constitution. Be concise.

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. 4d ago First seen · 18 lines · 18 tokens per session scan A 55dc8f5d7dfd

Subscribe to this mod's changes

amby-constitution is a skill published in the GitHub repository ambystechcom/AmbyKit (2 stars, last pushed 9d ago), licensed MIT. It adds 18 tokens to every session and 235 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

hns-lsel-curator

Local Self-Evolution Loop (LSEL) curator — the CLUSTER + drain engine for the GOOS-local PROPOSE→APPLY seam closure (SPEC-LSEL-LOCAL-EVOLUTION-001). Companion-offset drain of .moai/lessons-inbox.jsonl with a drain-side severity filter that drops the 65% Bash-timeout/sandbox noise, eventkey clustering with a frequency…

modu-ai/moai-adk · 135 tokens

moai-foundation-core

Provides MoAI-ADK foundational principles including TRUST 5 quality framework, SPEC-First DDD methodology, delegation patterns, progressive disclosure, agent catalog reference, and token budget management (absorbed from moai-foundation-context). Use when referencing TRUST 5 gates, SPEC workflow, or context window…

modu-ai/moai-adk · 68 tokens

hns-lsel-applier

Local Self-Evolution Loop (LSEL) APPLY engine — the playback-only consumer of approved decision.json records that drives .moai/hooks/lsel-apply.sh for the GOOS-local PROPOSE→APPLY seam closure (SPEC-LSEL-LOCAL-EVOLUTION-001 M3). Reads an approved decision.json, validates the target against the frozen allowlist…

modu-ai/moai-adk · 181 tokens

moai-domain-database

Database specialist covering PostgreSQL, MongoDB, Redis, Oracle, and cloud database platforms (Neon, Supabase, Firestore). Use for schema design, query optimization, indexing strategies, data modeling, or cloud database selection. Cloud vendor guide absorbed from moai-platform-database-cloud.

modu-ai/moai-adk · 64 tokens

moai-workflow-ddd

Domain-Driven Development workflow specialist using ANALYZE-PRESERVE-IMPROVE cycle for behavior-preserving code transformation. Use when refactoring legacy code or reducing technical debt safely.

modu-ai/moai-adk · 44 tokens

hns-workflow-ci-loop

Unified CI watch + auto-fix loop skill. Polls gh pr checks after /moai sync PR creation, classifies required vs auxiliary failures, attempts safe automated patches (max 3 iterations), and escalates semantic failures to the user. Use for CI loop workflow — NOT for general loop iteration patterns (see…

modu-ai/moai-adk · 76 tokens