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 CUHK-Business-School-AI-Hub/coding_agent_constitution --skill constitution-skillgit clone --depth 1 https://github.com/CUHK-Business-School-AI-Hub/coding_agent_constitutionWrote 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/cuhk-business-school-ai-hub/coding_agent_constitution/constitution-skill)<a href="https://agentmods.dev/skills/cuhk-business-school-ai-hub/coding_agent_constitution/constitution-skill"><img src="https://agentmods.dev/badge/skills/cuhk-business-school-ai-hub/coding_agent_constitution/constitution-skill/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/cuhk-business-school-ai-hub/coding_agent_constitution/constitution-skill"><img src="https://agentmods.dev/badge/skills/cuhk-business-school-ai-hub/coding_agent_constitution/constitution-skill.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.00061 | $0.04577 |
| Opus 5.5 | $0.00024 | $0.01831 |
| Sonnet 5.5 | $0.00012 | $0.00915 |
| Haiku 4.5 | $0.00006 | $0.00458 |
Grade A, and why
constitution-skill 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 23d 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 — 280 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Constitution Skill
Purpose
Turn ambiguous intent into enough shared context to do the requested work and recognize completion. Flash uses a compact task contract with only the supporting structure the task needs. Standard and Retrofit turn software intent into durable project files. Treat specs, architecture, contracts, and rules as reusable assets; treat task plans, implementation notes, and one-off agent prompts as consumables.
This skill follows the portable SKILL.md shape so it can be installed as a Codex skill, Claude Code skill, or Cursor Agent Skill. The governance assets it creates should also work when different agents rotate through the same repository.
Applicability And User Intent
Check whether this workflow is needed before choosing a mode or loading references. An already-scoped code change or clear small task can proceed normally without generating governance files or completing a bootstrap checklist. Merely mentioning a database, API, coding agent, document, or research topic does not require this skill.
The user's explicit instructions take precedence over this skill's workflow guidelines and templates. Preserve the requested scope and existing project conventions; this does not override system/tool permissions or authorize unrelated actions. If the user only requests planning, produce the requested documents and stop before implementation. If implementation is also authorized, continue through its agreed verification and fixes rather than stopping at a first draft.
If a skill instruction makes you pause, request confirmation, or leave authorized work unfinished, identify and link the exact file and quote the relevant rule. Explain what decision is missing, distinguish a requirement from your interpretation, and continue independent authorized work where possible.
Modes
Once the request needs clarification or reusable context, choose the matching mode. For a bounded update to existing governance, preserve its structure and edit only the relevant files rather than recreating a full set.
What ships with it
60 files 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.
- agents/openai.yaml 325 B
- assets/contracts-examples/cli-contract.md 2.8 KB
- assets/contracts-examples/db-schema.sql 2.0 KB
- assets/contracts-examples/event-payload.md 2.9 KB
- assets/contracts-examples/file-format.md 1.9 KB
- assets/contracts-examples/json-schema-validation.json 1.5 KB
- assets/contracts-examples/openapi-rest.yaml 4.6 KB
- assets/contracts-examples/README.md 923 B
- assets/examples/feedback-inbox/AGENTS.md 4.5 KB
- assets/examples/feedback-inbox/docs/ARCH.md 5.8 KB
- assets/examples/feedback-inbox/docs/CONTRACTS/cli.md 2.2 KB
- assets/examples/feedback-inbox/docs/CONTRACTS/db-schema.sql 2.8 KB
- assets/examples/feedback-inbox/docs/CONTRACTS/events.md 3.3 KB
- assets/examples/feedback-inbox/docs/CONTRACTS/feedback-api.openapi.yaml 7.0 KB
- assets/examples/feedback-inbox/docs/CONTRACTS/file-format.md 1.6 KB
- assets/examples/feedback-inbox/docs/CONTRACTS/README.md 1.7 KB
- assets/examples/feedback-inbox/docs/DECISIONS/001-postgres-outbox-over-broker.md 1.5 KB
- assets/examples/feedback-inbox/docs/RULES.md 3.4 KB
- assets/examples/feedback-inbox/docs/SPEC.md 3.8 KB
- assets/examples/feedback-inbox/docs/TASKS/001-bootstrap-feedback-inbox.md 5.3 KB
- assets/examples/README.md 1.1 KB
- assets/flash-templates/AGENTS.md 1.1 KB
- assets/flash-templates/PLAN.md 1.2 KB
- assets/governance-templates/AGENTS.md 3.8 KB
- assets/governance-templates/ARCH.md 1.5 KB
- assets/governance-templates/claude-project-governance.md 500 B
- assets/governance-templates/CLAUDE.md 251 B
- assets/governance-templates/CONTRACTS_README.md 3.4 KB
- assets/governance-templates/cursor-project-governance.mdc 536 B
- assets/governance-templates/DECISION.md 368 B
- assets/governance-templates/RULES.md 1.2 KB
- assets/governance-templates/SPEC.md 401 B
- assets/governance-templates/TASK.md 734 B
- assets/module-overlays/deterministic-workflow.md 1.7 KB
- assets/module-overlays/identity-access.md 2.5 KB
- assets/module-overlays/llm-boundary.md 2.2 KB
- assets/module-overlays/transactional-record-system.md 1.4 KB
- assets/templates/conversational-assistant.md 3.4 KB
- assets/templates/linear-workflow.md 2.9 KB
- assets/templates/record-crud.md 2.9 KB
- references/anti-patterns.md 9.8 KB
- references/bootstrap-question-bank.md 4.0 KB
- references/cross-agent-compatibility.md 6.5 KB
- references/flash-components.md 5.1 KB
- references/flash-mode.md 8.6 KB
- references/flash-scenarios.md 11 KB
- references/frontier-model-guidance.md 3.2 KB
- references/governance-asset-guide.md 3.7 KB
- references/governance-evolution.md 5.5 KB
- references/governance-review-rubrics.md 5.0 KB
- references/module-deterministic-workflow.md 3.0 KB
- references/module-identity-access.md 4.0 KB
- references/module-llm-boundary.md 4.2 KB
- references/product-pattern-routing.md 7.4 KB
- references/profile-transactional-record-system.md 4.4 KB
- references/recipe-local-python-sqlite.md 7.4 KB
- references/recipe-typescript-web-postgres.md 3.5 KB
- references/retrofit-mode.md 5.5 KB
- references/rookie-onboarding_CN.md 32 KB
- references/rookie-onboarding_HK.md 32 KB
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.
- 23d ago Changed · +6 lines · +6 tokens per session eb321e44cfa7
- 1mo ago Changed · -36 lines · -126 tokens per session 26177cc75d38
- 1mo ago Changed 10accef5c2f5
- 2mo ago First seen · 310 lines · 181 tokens per session scan A 2dddbcbfee7b
constitution-skill is a skill published in the GitHub repository CUHK-Business-School-AI-Hub/coding_agent_constitution (4 stars, last pushed 24d ago), licensed MIT. It adds 61 tokens to every session and 4,577 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-08-31.
Other skills, from other repositories
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
component-fixtures
Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.