This skill should be used when the user asks to "add a constraint", "design a constraint", "write a harness rule", "choose enforcement type", "promote a constraint", "configure a verification slot"…

Custom licenceAuto-check passedAgent Workflows

Install Constraint Design

skills CLI
$ npx skills add Habitat-Thinking/ai-literacy-superpowers --skill constraint-design -a claude-code

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

GitHub CLI
$ gh skill install Habitat-Thinking/ai-literacy-superpowers constraint-design --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/Habitat-Thinking/ai-literacy-superpowers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai-literacy-superpowers/skills/constraint-design .claude/skills/constraint-design && 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
constraint-design
GitHub stars
114
Token cost
~1.8k tokens
SKILL.md length
867 words
Files
2 (incl. references)
Skills in repo
42
Repo updated
First seen
Licence
Custom licence

At a glance

This skill should be used when the user asks to "add a constraint", "design a constraint", "write a harness rule", "choose enforcement type", "promote a constraint", "configure a verification slot"…

  • Works in 3 steps: Describe what compliant code looks like → Describe what violating code looks like → Confirm a reviewer (human or agent)…
  • Asks to add a constraint
  • SKILL.md covers Anatomy of a Constraint, Writing a Verifiable Rule, Choosing Enforcement Type and Choosing Scope, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Constraint Design is an agent skill from Habitat-Thinking/ai-literacy-superpowers. This skill should be used when the user asks to "add a constraint", "design a constraint", "write a harness rule", "choose enforcement type", "promote a constraint", "configure a verification slot", or needs guidance on the Constraints section of HARNESS.md.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/promotion-ladder.md`).

It sits in Agent Workflows. The repository describes itself as: A set of Claude Code and GitHub Copilot plugins providing the AI Literacy framework's complete development workflow — harness engineering, agent orchestration, literate….

When your agent uses it

  • Asks to add a constraint
  • Design a constraint
  • Write a harness rule
  • Choose enforcement type

Example prompts

  • “add a constraint”
  • “design a constraint”
  • “write a harness rule”
  • “/constraint-design”

Workflow steps

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

  1. Describe what compliant code looks like
  2. Describe what violating code looks like
  3. Confirm a reviewer (human or agent) could check this without

What it can do on your machine

Read from SKILL.md and the folder at commit 9d35995. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    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

Constraint Design loads about 1.8k tokens when it runs, and up to ~2.8k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 867 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 867 words (~1,752 tokens).

“A constraint is a rule that must be enforced — not a suggestion, but a hard boundary. In the harness framework, each constraint occupies a verification slot that can be filled by either a deterministic tool or an agent-based review…”

— opening of SKILL.md by Habitat-Thinking, Custom licence
name
constraint-design

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in ai-literacy-superpowers/skills/constraint-design of Habitat-Thinking/ai-literacy-superpowers.

  • SKILL.md
  • references/promotion-ladder.md

Open the folder on GitHubat commit 9d35995

Compare with similar skills

Constraint Design 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.

Constraint Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Constraint Design this skillHabitat-Thinking/ai-literacy-superpowers114—~1.8kAutomated safety check: PassCustom licence
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
Hook Development for Claude Code Pluginsanthropics/claude-plugins-official38k10 repos~4.1kAutomated safety check: NotesApache-2.0
Using Superpowersfarm-fe/farm5.6k35 repos~1.4kAutomated safety check: PassMIT
Executing Plans Inlineobra/superpowers297k2 repos~5.1kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Hook Development for Claude Code Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.

    38k GitHub starsUsed in 10 repos~4.1k tokens
    Agent WorkflowsAuto-check: notes
  • Using Superpowers

    farm-fe/farm

    A skill your agent uses when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions

    5.6k GitHub starsUsed in 35 repos~1.4k tokens
    Agent WorkflowsAuto-check passed
  • Executing Plans Inline

    obra/superpowers

    Has the agent carry out an implementation plan itself, task by task in the current session, keeping a ledger, proving each step with a test and ending with one whole-branch review.

    297k GitHub starsUsed in 2 repos~5.1k tokens
    Agent WorkflowsAuto-check passed
  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Agent Development

    anthropics/claude-plugins-official

    Official

    Explains how to write agents for Claude Code plugins: the markdown file with YAML frontmatter, trigger descriptions, model and color settings, and system prompt design.

    38k GitHub starsUsed in 7 repos~2.8k tokens
    Agent WorkflowsAuto-check passed

More from Habitat-Thinking/ai-literacy-superpowers

All 42 skills in this repo
  • Advocatus Diaboli

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan approval, requires evidence per objection, and discloses what…

    114 GitHub stars~4.2k tokensUpdated 19 days ago
    Auto-check passed
  • AI Literacy Assessment

    Habitat-Thinking/ai-literacy-superpowers

    This skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level", "evaluate our AI collaboration", "where are we on the framework", or wants to…

    114 GitHub stars~3.7k tokensUpdated 19 days ago
    Auto-check passed
  • Carpaccio

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when acting as the cadence governor — slices a raw task description into thin, end-to-end-complete pieces before any spec is written; produces a structured slicing record for…

    114 GitHub stars~1.8k tokensUpdated 19 days ago
    Auto-check passed
  • Choice Cartographer

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when acting as the decision-archaeology agent — surfaces decisions a spec has made (including the silent ones), emits each material choice as a Henney-style pattern story for…

    114 GitHub stars~4.1k tokensUpdated 19 days ago
    Auto-check passed
  • Cost Tracking

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when the user wants to capture AI tool costs, review spending trends, set cost budgets, or integrate cost data into health snapshots — guides quarterly cost capture, records…

    114 GitHub stars~1.7k tokensUpdated 19 days ago
    Auto-check passed
  • Cross Repo Orchestration

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when coordinating changes across multiple repositories — syncing skills, templates, agents, or harness policies between upstream and downstream repos, or designing…

    114 GitHub stars~1.5k tokensUpdated 19 days ago
    Auto-check passed

Categories

Questions about Constraint Design

What does Constraint Design do?

This skill should be used when the user asks to "add a constraint", "design a constraint", "write a harness rule", "choose enforcement type", "promote a constraint", "configure a verification slot"…. Constraint Design is an agent skill from Habitat-Thinking/ai-literacy-superpowers.md.

When should I use Constraint Design?

Constraint Design fits situations like: asks to add a constraint; design a constraint; write a harness rule; choose enforcement type.

How do I install Constraint Design in Claude Code?

Run `npx skills add Habitat-Thinking/ai-literacy-superpowers --skill constraint-design -a claude-code`. Or copy the skill folder (ai-literacy-superpowers/skills/constraint-design in Habitat-Thinking/ai-literacy-superpowers) into .claude/skills/constraint-design in your project. Claude Code loads it when a task matches its description.

How do I install Constraint Design in Codex?

Run `npx skills add Habitat-Thinking/ai-literacy-superpowers --skill constraint-design -a codex`. Or copy the skill folder (ai-literacy-superpowers/skills/constraint-design in Habitat-Thinking/ai-literacy-superpowers) into .agents/skills/constraint-design in your project. Codex loads it when a task matches its description.

Can I use Constraint Design 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 Habitat-Thinking/ai-literacy-superpowers --skill constraint-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/constraint-design, .gemini/skills/constraint-design, .github/skills/constraint-design and .opencode/skills/constraint-design in your project.

What does Constraint Design need to run?

SKILL.md names no scripts, command-line tools or credentials: Constraint Design is instructions for the agent only.

Does Constraint Design 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 Constraint Design 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. Review the folder before installing.

What licence does Constraint Design use?

Constraint Design has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Constraint Design use?

About 1.8k tokens (SKILL.md is roughly 7k 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 1k tokens, read only when the agent opens those files.

What are the alternatives to Constraint Design?

Skills that share tags, products or a category with Constraint Design: MCP Server Builder (anthropics/skills, 180k stars), Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Using Superpowers (farm-fe/farm, 5.6k stars) and Executing Plans Inline (obra/superpowers, 297k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Constraint Design?

Habitat-Thinking (a GitHub organization) maintains it in Habitat-Thinking/ai-literacy-superpowers, which has 114 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on September 20, 2026.

Source: Habitat-Thinking/ai-literacy-superpowers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.