Skip to main content
command

constraint-modeler — Claude Code command for system constraints

Model system limits, map their dependencies, and explore optimization options. Use it to assess business, technical, regulatory, or resource constraints.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --command simulation/constraint-modeler
Open on GitHub

What constraint-modeler does

Run /constraint-modeler with a domain or a flag: --business, --technical, --regulatory, or --resource. The command groups constraints as hard, soft, or dynamic, maps how they affect one another, and outlines ways to validate the model.

Its output includes a constraint model, interaction matrices, a validation report, and optimization recommendations. It also covers sensitivity analysis, bottlenecks, and scenario boundaries. The command uses project documentation or configuration files for context, so constraints need to be described separately when those materials do not capture them.

What it helps with

  • classify system limits as hard, soft, or dynamic
  • map dependencies between constraints
  • check whether a constraint model is accurate and relevant
  • identify bottlenecks and define scenario boundaries
  • draft options for relaxing or replacing constraints

Example prompts for the agent

  • Model the system's technical constraints and map their dependencies: /constraint-modeler --technical.
  • Build a model of business constraints for resource planning: /constraint-modeler --business.
  • Analyze regulatory constraints and define scenario boundaries: /constraint-modeler --regulatory.

How to install constraint-modeler

1claude-code-templates

npx claude-code-templates@latest --command simulation/constraint-modeler

2Manually: put the files in place

.claude/commands/constraint-modeler.md

Call it with /constraint-modeler. For all projects use ~/.claude/commands/

Questions about constraint-modeler

How do I install constraint-modeler in Claude Code?

Run npx claude-code-templates@latest --command simulation/constraint-modeler. The command is installed at .claude/commands/constraint-modeler.md.

What does constraint-modeler do?

It builds a system constraint model, maps dependencies, and proposes optimization approaches. Its output includes interaction matrices and a validation report.

Which kinds of constraints can it analyze?

It covers hard, soft, and dynamic constraints, along with their dependencies. Choose a focus with --business, --technical, --regulatory, or --resource.

Source text

constraint-modeler.md · MIT
---
allowed-tools: Read, Write, Edit, WebSearch
argument-hint: "[constraint-domain] | --business | --technical | --regulatory | --resource"
description: Model system constraints with validation, dependency mapping, and optimization strategies
---

# Constraint Modeler

Model comprehensive system constraints with systematic validation and optimization: **$ARGUMENTS**

## Current System Context

- Domain scope: Based on $ARGUMENTS (business, technical, operational, financial)
- Existing constraints: @documentation or configuration files
- System boundaries: Current limitations and dependencies
- Change dynamics: Historical constraint evolution patterns

## Task

Create comprehensive constraint models for accurate simulation and decision-making:

**Constraint Domain**: Use $ARGUMENTS to focus on business, technical, regulatory, or resource constraints

**Constraint Framework**:
1. **Hard Constraints** - Absolute limits that cannot be violated (legal, physical, technical)
2. **Soft Constraints** - Preferences and trade-offs that can be managed (budget, quality, timing)
3. **Dynamic Constraints** - Limitations that evolve over time (market, technology, capacity)
4. **Constraint Dependencies** - Relationships and interactions between different limitations
5. **Validation Framework** - Methods to verify constraint accuracy and relevance
6. **Optimization Strategies** - Approaches to relax, substitute, or circumvent constraints

**Advanced Analysis**: Constraint sensitivity analysis, bottleneck identification, scenario boundary definition, and optimization algorithms.

**Strategic Application**: Link constraint models to decision scenarios, resource allocation, and strategic planning.

**Output**: Complete constraint model with interaction matrices, validation reports, optimization recommendations, and scenario boundary definitions.

© davila7 · MIT · davila7/claude-code-templates

Similar slash commands

Slash commands catalog →

From the same set804

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor