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 agentmods add commands/dev-gom/claude-code-marketplace/constitutiongit clone --depth 1 https://github.com/Dev-GOM/claude-code-marketplaceWhat 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 | $0.00020 | $0.02139 |
| Opus 5 | $0.00010 | $0.01069 |
| Sonnet 5 | $0.00004 | $0.00428 |
| Haiku 4.5 | $0.00002 | $0.00214 |
Grade A, and why
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 2d 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 — 284 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Project Constitution
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
⚠️ 커맨드 구분: 이것은 플러그인 커맨드 (/spec-kit:constitution)입니다. 정보 수집과 사용자 논의를 담당합니다. 실제 파일 생성/업데이트는 GitHub Spec-Kit CLI 커맨드 (/speckit.constitution)가 수행합니다.
🌐 언어 지시사항: 이 명령어를 실행할 때는 사용자의 시스템 언어를 자동으로 감지하여 해당 언어로 모든 안내, 질문, 템플릿, 출력을 제공해야 합니다. 시스템 환경 변수(LANG, LC_ALL 등)나 사용자의 이전 대화 패턴을 분석하여 언어를 판단하세요.
프로젝트의 비협상 가능한 원칙과 기준을 정의합니다. 모든 기능, 계획, 구현은 이 헌법을 준수해야 합니다.
Prerequisites
.specify/ 디렉토리가 존재해야 합니다:
ls .specify/memory/
없다면 /speckit:init를 먼저 실행하세요.
Step 0: Check Existing File and Choose Update Mode
기존 헌법 파일 확인:
cat .specify/memory/constitution.md
If File Exists - Choose Update Mode
사용자에게 두 가지 옵션 제공:
📋 Option 1: 완전 재생성 (Full Regeneration)
- 처음부터 모든 정보를 다시 수집하여 새로 작성
- 기존 헌법은 참고용으로만 활용
- 추천 시점:
- 프로젝트 방향이 크게 변경되었을 때
- 핵심 가치나 원칙을 근본적으로 바꾸고 싶을 때
- 새로운 관점으로 헌법을 다시 정립하고 싶을 때
✏️ Option 2: 부분 업데이트 (Incremental Update)
- 기존 헌법을 보여주고 변경/추가할 부분만 질문
- 기존 내용과 새 내용을 merge하여 업데이트
- 추천 시점:
- 특정 원칙이나 기준만 수정하고 싶을 때
- 새로운 품질 게이트 추가
- 기술 표준 업데이트 (예: 새 플랫폼 지원)
- 일부 원칙 개선 또는 명확화
사용자 선택에 따라 진행:
- Option 1 선택 시 → Step 1부터 정상 진행 (완전 재작성)
- Option 2 선택 시 → 기존 헌법 표시 + "어떤 부분을 업데이트하시겠습니까?" 질문 + 변경사항만 수집 후 merge
If File Not Exists
Step 1부터 정상 진행 (처음 작성)
Step 1: Understand Project Context
사용자에게 다음을 질문:
- 프로젝트 유형: 웹 앱, 모바일 앱, 라이브러리, CLI 도구 등
- 주요 사용자: 일반 사용자, 개발자, 기업 등
- 핵심 가치: 성능, 보안, 접근성, 단순성 등 (우선순위)
- 기술적 제약: 플랫폼 요구사항, 규정 준수, 팀 전문성
- 품질 기준: 테스트 커버리지, 문서화, 코드 리뷰 등
Step 2: Draft Constitution
다음 섹션으로 헌법을 작성:
Constitution Template
# [Project Name] Constitution
## Vision
[1-2 문단: 프로젝트 목적과 목표]
## Core Principles
1. **[원칙명]**
- [구체적 요구사항]
- [구체적 요구사항]
[5-10개 핵심 원칙]
## Technical Standards
### Code Quality
- [기준]
### Testing
- [기준]
### Performance
- [기준]
### Security
- [기준]
### Browser/Platform Support
- [기준]
## Development Process
### Code Review
- [프로세스 요구사항]
### Documentation
- [프로세스 요구사항]
### Release
- [프로세스 요구사항]
## Quality Gates
### Pre-Merge Checklist
- [ ] [게이트]
- [ ] [게이트]
### Pre-Release Checklist
- [ ] [게이트]
- [ ] [게이트]
## Non-Goals
[명시적으로 하지 않을 것들 - 범위 제한]
---
**Version**: 1.0
**Last Updated**: [Date]
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.
- 2d ago First seen · 284 lines · 20 tokens per session scan A d7831f527ca4
constitution is a command published in the GitHub repository Dev-GOM/claude-code-marketplace (97 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 20 tokens to every session and 2,139 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-30.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.