invert

invert is a skill for Claude Code, Codex from Kshitijpalsinghtomar/depth-skills. It costs 36 tokens per session (4,652 once invoked), scanned A, original, MIT.

A reasoning technique that reverses constraints and assumptions to test whether they are genuinely limiting. It then explores what a solution would look like from the opposite viewpoint.

In plain words
What is it for?
Use it to challenge a plan's assumptions, identify its main bottleneck, and test its robustness under different conditions.
Why use it?
It helps reveal false restrictions, untested beliefs, and weaknesses in a proposed plan.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to challenge a plan's assumptions, identify its main bottleneck, and test its robustness under different conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kshitijpalsinghtomar/depth-skills/ds-invert
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 Kshitijpalsinghtomar/depth-skills --skill ds-invert
Clone the repo
git clone --depth 1 https://github.com/Kshitijpalsinghtomar/depth-skills

Made for: Claude Code, Codex.

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 invert

README.md
[![agentmods](https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-invert/github.svg)](https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-invert)
Your own site
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-invert"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-invert/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 invert

Your own site · 80×15
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-invert"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-invert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,652 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.
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.00036 $0.04652
Opus 5.5 $0.00014 $0.01861
Sonnet 5.5 $0.00007 $0.00930
Haiku 4.5 $0.00004 $0.00465

Measured 1mo ago against content hash 8e5b645cb40f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

invert 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 1mo 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/ds-invert/SKILL.md · 530 lines

How it starts

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

INVERT v2.0 — Constraint & Belief Inversion (Premium)

Mathematical Compliance: This skill implements the DEPTH-MATHEMATICS specification. It computes and outputs ADS phase activation, CEI components, SI components, cognitive traces (sensitivity surface, belief network analysis, counterfactual worlds), and verifies Gates V2, V3, V4. It integrates with EXCAVATE for C2/C3 assumption targeting.

Two forces trap answers in small spaces: false constraints (walls that aren't walls) and untested beliefs (foundations that might not be solid). Both feel real from inside. Both can collapse when tested.

This skill flips things. It inverts constraints to find which are real and which are habits. It inverts beliefs to find which are load-bearing and which are replaceable. Then it solves the problem from the opposite world — to discover what only becomes visible from the other side.

New in v2.0: Mathematical depth metrics, sensitivity surfaces, counterfactual worlds, belief network analysis, robustness s, recursive self-audit, verification gates.


The Failure Mode You Must Recognize

You are about to generate a response that:

  • Accepts constraints at face value without testing their hardness
  • Holds beliefs without seeking evidence against them
  • Solves only within the given frame, never from the opposite world
  • Produces inversion tables without measuring actual robustness impact (cargo cult inversion)

If you recognize this pattern forming — you are in the constraint trap. Continue with the protocol.


The Protocol

0 — PARAMETERIZE: Read Thinking Parameters

Read thinking_parameters:

  • min_constraints (default 5) — minimum constraints to map
  • min_beliefs (default 3) — minimum load-bearing beliefs to test
  • recursion_depth (default 1) — recursive self-audit rounds
  • require_sensitivity_surface (default true) — compute sensitivity surface
  • require_counterfactual_worlds (default true) — simulate counterfactuals
  • require_belief_network (default true) — analyze belief interdependencies

Read the full file on GitHub · 530 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. 1mo ago Changed · +344 lines · +16 tokens per session 8e5b645cb40f
  2. 3mo ago First seen · 186 lines · 20 tokens per session scan A 1a132b3b3a4b

Subscribe to this mod's changes

invert is a skill published in the GitHub repository Kshitijpalsinghtomar/depth-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 4,652 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

invert compared with skills from other repositories

invert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
invertKshitijpalsinghtomar/depth-skillsSkill61mo agoMITA36Claude Code, Codex
codebase-inspectionseaworld008/Commonly-used-high-value-skillsSkill75yesterdayMITA41Claude Code, Codex
bailian-train-deploymodelstudioai/skillsSkill61yesterdayApache-2.0A465Claude Code, Codex
vox-video-directormodelstudioai/skillsSkill61yesterdayApache-2.0A238Codex
bailian-model-recommendmodelstudioai/skillsSkill61yesterdayApache-2.0A136Claude Code, Codex
aspire-project-v2-migrationmicrosoft/aspire-skillsSkill102todayMITA0Claude Code
aspireifymicrosoft/aspire-skillsSkill102todayMITA0Claude Code