Source profileQuality 96/100

Jamie-BitFlight/claude_skills/plugins/verification-gate/skills/verification-gate/SKILL.md

verification-gate

Enforce mandatory pre-action verification checkpoints to prevent pattern-matching from overriding explicit reasoning. Use this skill when about to execute implementation actions (Bash, Write, Edit) to verify hypothesis-action alignment. Blocks execution when hypothesis unverified or action targets different system than hypothesis identified. Critical for preventing cognitive dissonance where correct diagnosis leads to wrong implementation.

Source repository stars
64
Declared platforms
0
Static risk flags
1
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Enforce mandatory pre-action verification checkpoints to prevent pattern-matching from overriding explicit reasoning. Blocks execution when hypothesis unverified or action targets different system than hypothesis identified.

Best for

  • Use this skill when about to execute implementation actions (Bash, Write, Edit) to verify hypothesis-action alignment.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/Jamie-BitFlight/claude_skills --skill "plugins/verification-gate/skills/verification-gate"
Safe inspection promptEditorial

Inspect the Agent Skill "verification-gate" from https://github.com/Jamie-BitFlight/claude_skills/blob/a00194f25fec502d3d659b7d610369614967251e/plugins/verification-gate/skills/verification-gate/SKILL.md at commit a00194f25fec502d3d659b7d610369614967251e. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Mandatory Pre-Action Verification Gate

    Before executing ANY implementation action, complete ALL checkpoints in sequence. If any checkpoint fails, HALT and report the failure.

    Can I name the specific system? (e.g., "PEP 723 inline metadata", "pyproject.toml dependencies", "Docker network configuration")Have I written this hypothesis explicitly in my response?Read relevant files to confirm system state
  2. 02

    Common Verification Scenarios

    Observation: ModuleNotFoundError: No module named 'pydantic'

    Checkpoint 1 - State hypothesis:"Hypothesis: pydantic is missing from project dependencies"BUT need to specify WHICH dependency system (there are multiple)
  3. 03

    Integration with Workspace Verification Rules

    This skill enforces existing workspace verification protocols by adding structural gates:

    This skill enforces existing workspace verification protocols by adding structural gates:Workspace rules state: "The model must verify behavior with authoritative sources"This skill enforces: "Cannot execute until verification completed and documented"
  4. 04

    Verification is Not Optional

    This skill implements defensive programming for LLM reasoning. Just as compilers block syntactically invalid code, verification gates block logically misaligned actions.

    This skill implements defensive programming for LLM reasoning. Just as compilers block syntactically invalid code, verification gates block logically misaligned actions.Key principle: Speed without verification is not efficiency—it's error propagation. Taking time to verify prevents cascading failures, reduces debugging cycles, and builds user confidence.Overhead justification: 2-3 Read operations (50-100 tokens each) prevent wrong implementations requiring 20+ tool calls to debug and fix (4000+ tokens). The verification overhead is small relative to the cost of debuggi…
  5. 05

    Checkpoint 1: Hypothesis Stated

    Requirement: Have I explicitly stated what system/component the issue affects?

    Can I name the specific system? (e.g., "PEP 723 inline metadata", "pyproject.toml dependencies", "Docker network configuration")Have I written this hypothesis explicitly in my response?Requirement: Have I explicitly stated what system/component the issue affects?

Permission review

Static risk signals and limitations

Reads files

low · line 54

The documentation asks the agent to read local files, directories, or repositories.

Have I used read-only file reads, project search, or read-only shell commands to gather evidence?

Reads files

low · line 131

The documentation asks the agent to read local files, directories, or repositories.

Not using read-only file reads, project search, or documentation lookup to verify before acting

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score96/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars64SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
Jamie-BitFlight/claude_skills
Skill path
plugins/verification-gate/skills/verification-gate/SKILL.md
Commit
a00194f25fec502d3d659b7d610369614967251e
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

Verification Gate

Overview

This skill implements mandatory verification checkpoints that prevent pattern-matching from training data from overriding explicit reasoning. It enforces structural gates between hypothesis formation and action execution, ensuring actions align with verified hypotheses rather than reflexive pattern-matching responses.

When to use this skill:

  • Before executing ANY implementation action (Bash, Write, Edit, or any other write-capable action)
  • After stating a hypothesis about what system/component has an issue
  • When choosing between multiple implementation approaches
  • When detecting potential pattern-matching from training data
  • When error messages or observations could trigger multiple solution paths

Core principle: Verification is not advisory—it is a mandatory gate. Actions that don't align with verified hypotheses are BLOCKED.

Mandatory Pre-Action Verification Gate

Before executing ANY implementation action, complete ALL checkpoints in sequence. If any checkpoint fails, HALT and report the failure.

Checkpoint 1: Hypothesis Stated

Requirement: Have I explicitly stated what system/component the issue affects?

Test:

  • Can I name the specific system? (e.g., "PEP 723 inline metadata", "pyproject.toml dependencies", "Docker network configuration")
  • Have I written this hypothesis explicitly in my response?

If NO:

BLOCKED - Hypothesis not stated
REQUIRED: State hypothesis explicitly before proceeding
EXAMPLE: "Hypothesis: The issue affects [specific system/component]"

If YES: Proceed to Checkpoint 2

Checkpoint 2: Hypothesis Verified

Requirement: Have I gathered evidence to confirm or refute my hypothesis?

Verification methods:

  • Read relevant files to confirm system state
  • Check official documentation for expected behavior using the documentation and search tools available in your environment
  • Test or execute commands to observe actual behavior
  • Grep for configuration or implementation details

Test:

  • Have I used read-only file reads, project search, or read-only shell commands to gather evidence?
  • Can I cite specific files, line numbers, or outputs supporting my hypothesis?
  • Note: Prefer authoritative documentation and project-local evidence over ad hoc web fetching when possible

If NO:

BLOCKED - Hypothesis not verified
REQUIRED: Gather evidence before proceeding
NEXT STEPS:
1. Identify what evidence would confirm/refute hypothesis
2. Use appropriate tools to gather that evidence
3. Document findings with file paths and line numbers
4. Revise hypothesis if evidence contradicts it

If YES: Proceed to Checkpoint 3

Checkpoint 3: Hypothesis-Action Alignment

Requirement: Does my planned action target the SAME system as my hypothesis identified?

Alignment template:

┌─────────────────────────────────────────────────────────┐
│ HYPOTHESIS SYSTEM: [What system does my hypothesis     │
│                     identify as the problem location?]  │
├─────────────────────────────────────────────────────────┤
│ ACTION SYSTEM:     [What system does my planned action  │
│                     operate on or modify?]              │
├─────────────────────────────────────────────────────────┤
│ ALIGNMENT CHECK:   [Same system = ✓ Proceed]           │
│                    [Different systems = ✗ BLOCKED]      │
└─────────────────────────────────────────────────────────┘

Common misalignments:

Hypothesis SystemWrong Action SystemWhy Blocked
PEP 723 inline metadata (# /// script)uv sync (pyproject.toml)Different dependency systems
Docker container configHost network settingsDifferent network layers
Git repository stateFile system permissionsDifferent system domains
Python virtual environmentGlobal pip installDifferent installation scopes
Application code logicInfrastructure configurationDifferent operational layers

If MISALIGNED:

✗ BLOCKED - Hypothesis-action misalignment detected
HYPOTHESIS targets: [system A]
ACTION operates on: [system B]

REQUIRED: Either:
1. Revise action to target same system as hypothesis
2. Revise hypothesis after gathering new evidence
3. Report that systems are unrelated and task needs clarification

If ALIGNED: Proceed to Checkpoint 4

Checkpoint 4: Pattern-Matching Detection

Requirement: Is this action based on verified project reality or pattern-matching from training data?

Detection questions:

  1. Did I read any files in THIS project to verify this approach?
  2. Did I check official documentation for THIS version/tool?
  3. Is my action based on what THIS project actually uses?
  4. Or is my action based on common patterns I've seen in training data?

Pattern-matching indicators:

  • Solution appears immediately without investigation
  • Executing command within 1-2 tool calls of error observation
  • Not using read-only file reads, project search, or documentation lookup to verify before acting
  • Thinking "this is the standard way to do X" without checking if project uses standard approach
  • Recognizing error pattern and jumping to common solution

Note on research tools: Prefer authoritative sources for verification:

  • Use authoritative documentation and code-search tools available in your environment for high-fidelity evidence
  • Use web research only when project-local evidence and authoritative documentation are insufficient
  • Prefer the most direct source available, then cite what you observed

Web resource access, definitive guide for getting accurate data for high quality results

If pattern-matching detected:

⚠ PATTERN-MATCHING WARNING
I am using training data patterns without project verification.

REQUIRED actions:
1. State: "I am pattern-matching from training data without verification"
2. Read relevant files to understand current project setup
3. Check project documentation or configuration
4. Verify approach against project reality
5. Return to Checkpoint 2 with gathered evidence

If verified against project reality: Proceed to execution

Execution Decision

After completing ALL four checkpoints:

✓ ALL CHECKPOINTS PASSED → EXECUTE ACTION

Document verification trail:

VERIFICATION COMPLETE:
✓ Checkpoint 1: Hypothesis stated - [brief hypothesis]
✓ Checkpoint 2: Verified via [files/docs read]
✓ Checkpoint 3: Aligned - both target [system name]
✓ Checkpoint 4: Verified against project reality

EXECUTING: [action description]

✗ ANY CHECKPOINT FAILED → HALT

Report failure explicitly:

EXECUTION BLOCKED
Failed checkpoint: [number and name]
Reason: [specific failure reason]
Required before proceeding: [specific next steps]

Common Verification Scenarios

Scenario 1: Dependency Error

Observation: ModuleNotFoundError: No module named 'pydantic'

Verification workflow:

  1. Checkpoint 1 - State hypothesis:

    • "Hypothesis: pydantic is missing from project dependencies"
    • BUT need to specify WHICH dependency system (there are multiple)
  2. Checkpoint 2 - Gather evidence:

    • Read script file to check for PEP 723 # /// script block
    • Read pyproject.toml to check declared dependencies
    • Check if script is standalone (PEP 723) or project-managed
    • Evidence gathered, hypothesis refined: "PEP 723 script missing pydantic in inline metadata"
  3. Checkpoint 3 - Verify alignment:

    • Hypothesis system: PEP 723 inline # /// script block
    • Proposed action: Add pydantic to # /// script block
    • ✓ ALIGNED - both target PEP 723 system
  4. Checkpoint 4 - Pattern-matching check:

    • Did I verify this is a PEP 723 script? YES (read file, found # /// script block)
    • Did I check what the block currently contains? YES (observed dependencies list)
    • Am I acting on project reality? YES (verified via Read tool)
    • ✓ VERIFIED

Result: Execute action

WRONG approach (BLOCKED):

  • Hypothesis: "PEP 723 dependencies not installed"
  • Action: uv sync (operates on pyproject.toml)
  • ✗ BLOCKED at Checkpoint 3 - systems don't align

Scenario 2: Configuration Change

Observation: Application not respecting new timeout setting

Verification workflow:

  1. Checkpoint 1 - State hypothesis:

    • Initial: "Timeout configuration not working"
    • Refined: "Hypothesis: Application reads timeout from environment variable, not config file"
  2. Checkpoint 2 - Gather evidence:

    • Grep for timeout configuration loading code
    • Read relevant source files
    • Check which configuration source has precedence
    • Evidence: Code reads from env var first, config file as fallback
  3. Checkpoint 3 - Verify alignment:

    • Hypothesis system: Environment variable configuration
    • Proposed action: Set environment variable
    • ✓ ALIGNED
  4. Checkpoint 4 - Pattern-matching check:

    • Verified via reading actual source code
    • Not assuming "configs usually work this way"
    • ✓ VERIFIED

Result: Execute action

Scenario 3: Build Failure

Observation: npm build fails with module resolution error

Verification workflow:

  1. Checkpoint 1 - State hypothesis:

    • Need to investigate before stating hypothesis
    • ✗ BLOCKED - Cannot proceed without hypothesis
  2. Investigation required:

    • Read package.json to understand dependencies
    • Read build logs to identify specific failure
    • Check if node_modules exists and is current
    • Form hypothesis based on evidence
  3. After investigation:

    • Hypothesis: "Build fails because dependencies not installed after package.json update"
    • Evidence: package-lock.json timestamp older than package.json
    • Action: Run npm install to sync dependencies
    • Alignment: Both target npm dependency system
    • ✓ ALL CHECKPOINTS PASSED

Result: Execute action

Integration with Existing Workflows

When This Skill Activates

The model must activate this skill:

Automatically before:

  • Any Bash command that modifies system state
  • Any Write/Edit operation
  • Any action following error diagnosis
  • Any implementation choice between multiple approaches

On detection of:

  • Hypothesis stated without verification
  • Pattern-matching language ("usually", "typically", "standard approach")
  • Solution appearing immediately after error observation
  • Multiple possible approaches without clear selection criteria

Compatibility with Other Skills

This skill works in conjunction with:

  • python3-development: Verification gate activates before executing Python scripts or modifying code
  • bash-script-developer: Verification gate activates before creating/modifying scripts
  • agent-orchestration: Orchestrator ensures sub-agents follow verification protocol
  • holistic-linting: Verification ensures fixes target root cause, not symptoms

Integration with Workspace Verification Rules

This skill enforces existing workspace verification protocols by adding structural gates:

Workspace rules state: "The model must verify behavior with authoritative sources"

This skill enforces: "Cannot execute until verification completed and documented"

Workspace rules state: "Never cargo cult code without verification"

This skill enforces: "Checkpoint 4 detects and blocks pattern-matching behavior"

Workspace rules state: "Distinguish verified information from assumptions"

This skill enforces: "Checkpoint 2 requires evidence before proceeding"

Reference Materials

This skill includes reference documentation:

./references/research-foundations.md

Authoritative research backing the verification gate approach:

  • Meta Chain-of-Verification (CoVe) methodology
  • Anthropic Chain-of-Thought best practices
  • System 2 Attention research
  • Academic findings on LLM reasoning failures

Load this reference when:

  • Understanding why verification gates are necessary
  • Justifying verification overhead to users
  • Researching advanced verification techniques
  • Designing new checkpoint patterns

./references/failure-patterns.md

Common failure modes and how verification prevents them:

  • Pattern-matching override scenarios
  • Cognitive dissonance examples
  • Hypothesis-action misalignment cases
  • Real-world verification violations

Load this reference when:

  • Diagnosing why verification failed
  • Identifying subtle misalignments
  • Learning from historical failures
  • Teaching verification concepts

Self-Monitoring

The model must actively monitor for verification violations:

Warning signs:

  • Stating hypothesis then immediately executing without Checkpoint 2
  • Reading files AFTER taking action instead of BEFORE
  • Modifying different files/systems than hypothesis identified
  • Solution appearing reflexively upon seeing error message
  • Not being able to cite specific evidence for hypothesis

When warning signs detected:

⚠ VERIFICATION VIOLATION DETECTED
I attempted to bypass verification checkpoint.
HALTING and returning to Checkpoint [number].

Verification is Not Optional

This skill implements defensive programming for LLM reasoning. Just as compilers block syntactically invalid code, verification gates block logically misaligned actions.

Key principle: Speed without verification is not efficiency—it's error propagation. Taking time to verify prevents cascading failures, reduces debugging cycles, and builds user confidence.

Overhead justification: 2-3 Read operations (50-100 tokens each) prevent wrong implementations requiring 20+ tool calls to debug and fix (4000+ tokens). The verification overhead is small relative to the cost of debugging misaligned actions.

Frequently asked questions

What to verify before installation and use

What does the verification-gate source document cover?

Enforce mandatory pre-action verification checkpoints to prevent pattern-matching from overriding explicit reasoning. Blocks execution when hypothesis unverified or action targets different system than hypothesis identified.

How do I install verification-gate?

The source record exposes this install command: npx skills add https://github.com/Jamie-BitFlight/claude_skills --skill "plugins/verification-gate/skills/verification-gate". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged read-files in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10045,960

coreyhaines31/marketingskills

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

Computed 10045,960

coreyhaines31/marketingskills

churn-prevention

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

Computed 10025,136

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 10015,385

wanshuiyin/Auto-claude-code-research-in-sleep

citation-audit

Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.