Agent skill

Constitutional Writer

by aiskillstore in aiskillstore/marketplace

Extracts and writes project constitutional information from documents (PDF, MD, TXT).

MITAuto-check passedDocuments & Office

Install Constitutional Writer

skills CLI
$ npx skills add aiskillstore/marketplace --skill constitutional-writer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aiskillstore/marketplace constitutional-writer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aiskillstore/marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/azeem-2/constitutional-writer .claude/skills/constitutional-writer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
constitutional-writer
GitHub stars
433
Token cost
~1k tokens
SKILL.md length
411 words
Files
6 (incl. scripts, references, assets)
Skills in repo
1,044
Repo updated
First seen
Licence
MIT

At a glance

Extracts and writes project constitutional information from documents (PDF, MD, TXT).

  • Works in 3 steps: Document Analysis: Read and analyze the… → Content Extraction: Identify and extract → Constitution Writing: Format extracted…
  • Documents & Office work in your project
  • SKILL.md covers When to Use, What You Do, Constitutional Elements to… and Extraction Process, plus 5 more sections
  • Runs Python scripts from its folder

What it does

Constitutional Writer is an agent skill from aiskillstore/marketplace. Extracts and writes project constitutional information from documents (PDF, MD, TXT). Focuses exclusively on identifying principles, values, governance structures, and formatting them into a proper project constitution.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including scripts, reference files and assets (for example `assets/constitution-template.md`, `references/constitutional-frameworks.md` and `scripts/extract_constitution.py`).

It sits in Documents & Office. The repository describes itself as: Security-audited skills for Claude, Codex & Claude Code. One-click install, quality verified. The licence is MIT.

When your agent uses it

  • Documents & Office work in your project

Example prompts

  • “Use the constitutional-writer skill to extract and writes project constitutional information from documents (PDF, MD, TXT)”
  • “/constitutional-writer”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Document Analysis: Read and analyze the provided document for constitutional elements
  2. Content Extraction: Identify and extract
  3. Constitution Writing: Format extracted content into a structured constitution

What it can do on your machine

Read from SKILL.md and the folder at commit 44923f3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Constitutional Writer loads about 1k tokens when it runs, and up to ~1.9k if it reads all its reference files. Until then it costs about 60 tokens; SKILL.md has 411 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from aiskillstore/marketplace at commit 44923f3, republished under its MIT licence (© aiskillstore). 411 words, ~1,039 tokens.

Download SKILL.mdSave it as .claude/skills/constitutional-writer/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
constitutional-writer
description
Extracts and writes project constitutional information from documents (PDF, MD, TXT). Focuses exclusively on identifying principles, values, governance structures, and formatting them into a proper project constitution.
license
MIT

Constitutional Writer Skill

You are a specialized skill for extracting and writing project constitutions from provided documents. Your sole purpose is to analyze documents and generate constitutional content - nothing else.

When to Use

Use this skill when the user wants to:

  • Extract constitutional principles from any document
  • Create a project constitution from source material
  • Identify governance structures, values, and mission from text
  • Transform existing documentation into constitutional format

What You Do

  1. Document Analysis: Read and analyze the provided document for constitutional elements
  2. Content Extraction: Identify and extract:
    • Mission statements and purpose
    • Core values and principles
    • Vision statements
    • Governance structures
    • Decision-making processes
    • Quality standards
    • Cultural guidelines
  3. Constitution Writing: Format extracted content into a structured constitution

Constitutional Elements to Identify

Mission & Purpose
  • Why the project/product exists
  • Primary objectives and goals
  • Problem statement being addressed
  • Target audience or stakeholders
Core Values & Principles
  • Ethical guidelines
  • Beliefs and philosophies
  • Non-negotiable principles
  • Cultural values
Vision & Aspiration
  • Future state goals
  • Long-term aspirations
  • Desired impact or legacy
  • Success definitions
Governance & Decision Making
  • Authority structures
  • Decision-making processes
  • Responsibility allocation
  • Accountability measures
Quality Standards
  • Performance criteria
  • Quality benchmarks
  • Excellence definitions
  • Success metrics

Extraction Process

  1. Read the document thoroughly
  2. Tag constitutional content as you find it:
    • Use [MISSION] for mission statements
    • Use [VALUES] for values and principles
    • Use [VISION] for vision statements
    • Use [GOVERNANCE] for governance structures
    • Use [STANDARDS] for quality criteria
  3. Organize by category - Group similar content
  4. Remove duplicates - Consolidate overlapping statements
  5. Format as constitution - Present in standard constitution format
Show full SKILL.md (163 more words)Show less

Constitution Format

markdown
# [Project Name] Constitution

## Mission & Purpose
[Extracted mission statements]

## Vision
[Extracted vision statements]

## Core Values
[Extracted values]

## Guiding Principles
[Extracted principles]

## Governance Structure
[Extracted governance information]

## Decision Making
[Extracted decision processes]

## Quality Standards
[Extracted standards]

## Cultural Commitments
[Extracted cultural elements]

Important Constraints

  • Only extract constitutional content - Do not analyze, critique, or comment
  • Use exact wording when possible from source documents
  • Do not invent content - Only use what's in the provided documents
  • Stay focused - Do not create specs, plans, or other artifacts
  • No additional commentary - Just extract and format

Tools Available

When you need to process documents:

  • Use read tool for text files
  • Use pdf skill for PDF documents
  • Use docx skill for Word documents
  • Use xlsx skill if constitution data is in spreadsheets

Example Usage

User: "Extract the constitution from this project charter document" You: [Read document → Extract constitutional elements → Format as constitution]

User: "Create a constitution from these combined documents" You: [Read all documents → Consolidate constitutional elements → Create unified constitution]

Success Criteria

  • All constitutional elements from source documents are captured
  • Output follows standard constitution format
  • No non-constitutional content is included
  • Clear, concise, and actionable constitution produced

Remember: Your only job is to extract and write constitutions. Nothing more, nothing less.

© aiskillstore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references, assets) in skills/azeem-2/constitutional-writer of aiskillstore/marketplace.

  • SKILL.md
  • assets/constitution-template.md
  • references/constitutional-frameworks.md
  • scripts/extract_constitution.py
  • skill-report.json
  • test-document.md

Open the folder on GitHubat commit 44923f3

Compare with similar skills

Constitutional Writer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Constitutional Writer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Constitutional Writer this skillaiskillstore/marketplace433—~1kAutomated safety check: PassMIT
Markdown Article FormatterJimLiu/baoyu-skills27k6 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Word Document Reader and WriterHKUDS/DeepTutor41k—~2.5kAutomated safety check: PassApache-2.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    27k GitHub starsUsed in 6 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated 2 days ago
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed

More from aiskillstore/marketplace

All 1,044 skills in this repo
  • Code Stats

    aiskillstore/marketplace

    Analyze codebase with tokei (fast line counts by language) and difft (semantic AST-aware diffs).

    433 GitHub starsUsed in 1 repo~697 tokens
    Auto-check: notes
  • Data Processing

    aiskillstore/marketplace

    Process JSON with jq and YAML/TOML with yq. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~720 tokens
    Auto-check: notes
  • Doc Scanner

    aiskillstore/marketplace

    Scans for project documentation files (AGENTS.md, CLAUDE.md, GEMINI.md, COPILOT.md, CURSOR.md, WARP.md, and 15+ other formats) and synthesizes guidance.

    433 GitHub starsUsed in 1 repo~644 tokens
    Auto-check: notes
  • File Search

    aiskillstore/marketplace

    Modern file and content search using fd, ripgrep (rg), and fzf.

    433 GitHub starsUsed in 1 repo~598 tokens
    Auto-check: notes
  • Find Replace

    aiskillstore/marketplace

    Modern find-and-replace using sd (simpler than sed) and batch replacement patterns.

    433 GitHub starsUsed in 1 repo~527 tokens
    Auto-check: notes
  • Project Planner

    aiskillstore/marketplace

    Detects stale project plans and suggests session commands. An agent skill from aiskillstore/marketplace.

    433 GitHub starsUsed in 1 repo~504 tokens
    Auto-check passed

Questions about Constitutional Writer

What does Constitutional Writer do?

Extracts and writes project constitutional information from documents (PDF, MD, TXT). Constitutional Writer is an agent skill from aiskillstore/marketplace. Extracts and writes project constitutional information from documents (PDF, MD, TXT).

When should I use Constitutional Writer?

Constitutional Writer fits situations like: documents & Office work in your project.

How do I install Constitutional Writer in Claude Code?

Run `npx skills add aiskillstore/marketplace --skill constitutional-writer -a claude-code`. Or copy the skill folder (skills/azeem-2/constitutional-writer in aiskillstore/marketplace) into .claude/skills/constitutional-writer in your project. Claude Code loads it when a task matches its description.

How do I install Constitutional Writer in Codex?

Run `npx skills add aiskillstore/marketplace --skill constitutional-writer -a codex`. Or copy the skill folder (skills/azeem-2/constitutional-writer in aiskillstore/marketplace) into .agents/skills/constitutional-writer in your project. Codex loads it when a task matches its description.

Can I use Constitutional Writer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aiskillstore/marketplace --skill constitutional-writer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/constitutional-writer, .gemini/skills/constitutional-writer, .github/skills/constitutional-writer and .opencode/skills/constitutional-writer in your project.

What does Constitutional Writer need to run?

Going by SKILL.md and its folder, Constitutional Writer needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Constitutional Writer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Constitutional Writer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Constitutional Writer use?

Constitutional Writer is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Constitutional Writer use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 824 tokens, read only when the agent opens those files.

What are the alternatives to Constitutional Writer?

Skills that share tags, products or a category with Constitutional Writer: Markdown Article Formatter (JimLiu/baoyu-skills, 27k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Constitutional Writer?

aiskillstore (a GitHub organization) maintains it in aiskillstore/marketplace, which has 433 GitHub stars. The repository holds 1,044 skills in this directory. The repository was last updated on October 10, 2026.

Source: aiskillstore/marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.