s4h-constraint-rule-inversion

s4h-constraint-rule-inversion is a skill for Claude Code from human-avatar/skills-for-humanity. It costs 59 tokens per session (1,074 once invoked), scanned A, original, MIT.

A creative problem-solving method that treats a limitation as part of the design brief. It first states the constraint clearly, then explores what that limit might make possible.

In plain words
What is it for?
Use it to rethink limits such as budget, time, tools, requirements, or unavailable resources and turn them into design directions.
Why use it?
It helps when a fixed restriction seems to block the desired outcome. Reframing the restriction can expose solutions that working around it would miss.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool; positional $N argument.

Part of the skills-for-humanity plugin — 197 skills, 1 hook shipped together

Good fit Use it to rethink limits such as budget, time, tools, requirements, or unavailable resources and turn them into design directions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/human-avatar/skills-for-humanity/s4h-constraint-rule-inversion
Install

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.

Any agent
npx skills add human-avatar/skills-for-humanity --skill s4h-constraint-rule-inversion
Clone the repo
git clone --depth 1 https://github.com/human-avatar/skills-for-humanity

Made for: Claude Code.

Or install skills-for-humanity, the plugin that ships this one along with the rest of its 197 skills, 1 hook.

Wrote 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.

agentmods badge for s4h-constraint-rule-inversion

README.md
[![agentmods](https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-constraint-rule-inversion/github.svg)](https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-constraint-rule-inversion)
Your own site
<a href="https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-constraint-rule-inversion"><img src="https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-constraint-rule-inversion/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.

agentmods 80×15 button for s4h-constraint-rule-inversion

Your own site · 80×15
<a href="https://agentmods.dev/skills/human-avatar/skills-for-humanity/s4h-constraint-rule-inversion"><img src="https://agentmods.dev/badge/skills/human-avatar/skills-for-humanity/s4h-constraint-rule-inversion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,074 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.01074
Opus 5 $0.00030 $0.00537
Sonnet 5 $0.00012 $0.00215
Haiku 4.5 $0.00006 $0.00107

Measured 13d ago against content hash 10089afed813, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

s4h-constraint-rule-inversion 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 13d 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.

skills/s4h-constraint-rule-inversion/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Constraint Rule Inversion

Most constraints are treated as walls. This skill treats them as foundations. The limit that seems like an obstacle is often the thing that forces the insight — the moment you stop trying to work around it and start designing with it, better solutions appear.


Your Process

Step 1: Name the Constraint Precisely State the constraint in a single, unambiguous sentence. Vague constraints produce vague inversions. "We have no budget" is too loose. "We have $0 for external tooling for Q3" is something you can work with.

Framing check: Confirm the specific constraint before continuing. State what you've identified — the actual constraint and the goal it is blocking — in one sentence, then use AskUserQuestion:

  • Question: "I'm reading this as: [your one-sentence framing of the constraint and the goal it blocks]. Is that right?"
  • Header: "Framing"
  • Options:
    • Yes — proceed — framing is correct
    • Adjust — one element is off; user will correct it before you continue
    • Reframe — different situation than read; incorporate the correction before proceeding

Step 2: Ask What the Constraint Forces What does this constraint make you do that you'd otherwise avoid? What comfortable defaults does it eliminate? The constraint is doing work — what work?

Step 3: Invert — Restate as a Design Requirement Convert the limit into a positive requirement: "must cost nothing" becomes "must work with only what we already have." The constraint is now the spec, not the problem.

Step 4: Generate Solutions That Only Work Because of the Constraint Produce 3-5 solutions that are impossible or inferior without the constraint. These are not workarounds — they are solutions the constraint made visible.

Step 5: Select for Unexpected Value Before narrowing: Show the complete generated set to the user first. Use AskUserQuestion:

  • Question: "I've identified [N] solutions that only work because of the constraint. Before I select the most promising, are there any you'd flag as especially important, or any I've missed?"
  • Header: "Prioritise"
  • Options:
    • Proceed with your selection — the set looks right
    • Flag one — user will name a specific solution to include
    • Add a missing one — user will describe it

Read the full file on GitHub · 109 lines

Changes

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.

  1. 13d ago First seen · 109 lines · 59 tokens per session scan A 10089afed813

Subscribe to this mod's changes

s4h-constraint-rule-inversion is a skill published in the GitHub repository human-avatar/skills-for-humanity (223 stars, last pushed 1mo ago), licensed MIT. It adds 59 tokens to every session and 1,074 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

decision-making-under-pressure

Provides practical habits for making better decisions faster -- reframing problems before solving them, knowing when to stop deliberating, balancing intuition with analysis, resisting 'just this once' compromises, and breaking overthinking cycles. Use when facing a high-stakes choice with incomplete data, sensing that…

fatihguner/foreman · 95 tokens

flow-state

Optimizes individual and team productivity using Csikszentmihalyi's flow state framework, covering the conditions for flow (clear goals, immediate feedback, challenge-skill balance), the four-stage flow cycle, and organizational flow design. Use when auditing personal or team focus time, diagnosing productivity loss…

fatihguner/foreman · 96 tokens

stoic-right-action

Applies Stoic ethics of right action to entrepreneurial decision-making, covering the four cardinal virtues (courage, justice, temperance, wisdom), ethical leadership under pressure, and the discipline of choosing the harder right over the easier wrong. Use when facing ethical dilemmas in business, building a…

fatihguner/foreman · 89 tokens

bakeoff

Turn one decision into a judged tournament of solutions, then pick the best. Given a problem, design choice, or a suggestion you want cross-verified, it generates diverse candidate solutions, auto-derives the evaluation dimensions for THAT problem (so you don't have to know what to score on), judges every candidate…

CoriChui/bakeoff · 330 tokens

balanced-scorecard

Translate strategy into metrics across Financial, Customer, Internal Process, and Learning & Growth perspectives.

tupe12334/instinct · 22 tokens

customer-journey-map

Visualize every touchpoint a customer has with a product or service — stages, actions, emotions, pain points, opportunities.

tupe12334/instinct · 31 tokens