fidelity

fidelity is a skill for Claude Code, Codex from Kshitijpalsinghtomar/depth-skills. It costs 38 tokens per session (3,887 once invoked), scanned A, original, MIT.

A checking method that protects important conditions, exceptions, and uncertainty when summarising detailed reasoning.

In plain words
What is it for?
Use it when compressing analysis, recommendations, or technical explanations where omitted caveats could mislead readers.
Why use it?
It helps prevent a short summary from accidentally making a conditional or uncertain claim sound universally true.

Skill for Claude CodeCodex

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

Good fit Use it when compressing analysis, recommendations, or technical explanations where omitted caveats could mislead readers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kshitijpalsinghtomar/depth-skills/ds-fidelity
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-fidelity
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 fidelity

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-fidelity"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-fidelity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,887 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.00038 $0.03887
Opus 5.5 $0.00015 $0.01555
Sonnet 5.5 $0.00008 $0.00777
Haiku 4.5 $0.00004 $0.00389

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

Security

Grade A, and why

fidelity 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-fidelity/SKILL.md · 469 lines

How it starts

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

FIDELITY v2.0 — Compression Integrity Verifier (Premium)

Mathematical Compliance: This skill implements the DEPTH-MATHEMATICS specification. It computes and outputs ADS phase activation, CEI components, SI components, cognitive traces, and verifies Gates V1, V5, V6. It produces a Compression Integrity for the Depth .

You just did deep thinking. You explored approaches, found edge cases, identified caveats, surfaced conditions. Now you're compressing it into a clean final answer.

This is the moment truth disappears.


The Failure Mode You Must Recognize

Two pressures compete: be thorough and be concise. The result is lossy compression:

  • "This works IF X" becomes "This works" (condition dropped)
  • "True EXCEPT when Y" becomes "True" (exception erased)
  • "70% confident because Z" becomes a declarative statement (uncertainty hidden)
  • "Option B was close, better if Q changes" becomes invisible (alternative forgotten)

The summary is cleaner, shorter, more confident — and less true than the analysis that produced it. The user makes decisions based on a simplified reality that you know is incomplete.

Cargo cult fidelity produces tags without verifying survival through compression. This skill rejects them.


The Protocol

0 — PARAMETERIZE: Read Thinking Parameters

Read thinking_parameters:

  • min_tags (default 5) — minimum critical information tags
  • require_integrity_ (default true) — issue compression integrity
  • require_fidelity_diff (default true) — compute fidelity diff algorithmically
  • recursion_depth (default 1) — recursive self-audit rounds

Step 1 — TAG: Mark Critical Information Before Compressing

Before writing the compressed version, read the full analysis and tag every item that, if dropped, makes the summary misleading. Write each tag:

CRITICAL INFORMATION TAGS
────────────────────────────────────────
TAG 1 — CONDITION:
  Full: "[recommendation] IF [condition]"
  If dropped: user tries it where [condition] is false → [consequence]
  Criticality: [BLOCKING / RISKY / INCOMPLETE]

TAG 2 — EXCEPTION:
  Full: "True EXCEPT when [scenario]"
  If dropped: user applies universally → hits [scenario] unprepared
  Criticality: [BLOCKING / RISKY / INCOMPLETE]

TAG 3 — UNCERTAINTY:
  Full: "[confidence level] because [evidence state]"
  If dropped: user treats as certain → no contingency when wrong
  Criticality: [BLOCKING / RISKY / INCOMPLETE]

TAG 4 — ALTERNATIVE:
  Full: "Option B was close — better if [condition changes]"
  If dropped: user can't adapt when conditions change
  Criticality: [BLOCKING / RISKY / INCOMPLETE]

TAG 5 — DEPENDENCY:
  Full: "Depends on [X] being true/available/stable"
  If dropped: user doesn't verify [X] → failure when [X] is absent
  Criticality: [BLOCKING / RISKY / INCOMPLETE]

[Additional tags up to min_tags...]
────────────────────────────────────────

Read the full file on GitHub · 469 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 · +306 lines · +17 tokens per session b6e204e2de88
  2. 3mo ago First seen · 163 lines · 21 tokens per session scan A 42bff5dfefd4

Subscribe to this mod's changes

fidelity is a skill published in the GitHub repository Kshitijpalsinghtomar/depth-skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 38 tokens to every session and 3,887 once invoked, about $0.0002 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

fidelity compared with skills from other repositories

fidelity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fidelityKshitijpalsinghtomar/depth-skillsSkill61mo agoMITA38Claude 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