ide-type-mismatch-fix

ide-type-mismatch-fix is a skill for Claude Code from Oolab-labs/claude-ide-bridge. It costs 64 tokens per session (836 once invoked), scanned A, original, MIT.

A tool-assisted workflow for diagnosing and fixing TypeScript or other language type errors using the editor’s language server. A type error means code uses a value in a way its declared data type does not allow.

In plain words
What is it for?
Use it when workspace diagnostics report type errors. It groups errors, checks symbol types and available fixes, and can apply suitable quick fixes when the connected IDE bridge is available.
Why use it?
It replaces guesses with information about the expected and actual types, plus suggested editor fixes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: agent in frontmatter.

Part of the claude-ide-bridge plugin — 4 skills, 1 agent, 16 hooks, 1 MCP server shipped together

Good fit Use it when workspace diagnostics report type errors. It groups errors, checks symbol types and available fixes, and can apply suitable quick fixes when the connected IDE bridge is available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oolab-labs/claude-ide-bridge/ide-type-mismatch-fix
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 Oolab-labs/claude-ide-bridge --skill ide-type-mismatch-fix
Clone the repo
git clone --depth 1 https://github.com/Oolab-labs/claude-ide-bridge

Made for: Claude Code.

Or install claude-ide-bridge, the plugin that ships this one along with the rest of its 4 skills, 1 agent, 16 hooks, 1 MCP server.

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 ide-type-mismatch-fix

README.md
[![agentmods](https://agentmods.dev/badge/skills/oolab-labs/claude-ide-bridge/ide-type-mismatch-fix/github.svg)](https://agentmods.dev/skills/oolab-labs/claude-ide-bridge/ide-type-mismatch-fix)
Your own site
<a href="https://agentmods.dev/skills/oolab-labs/claude-ide-bridge/ide-type-mismatch-fix"><img src="https://agentmods.dev/badge/skills/oolab-labs/claude-ide-bridge/ide-type-mismatch-fix/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 ide-type-mismatch-fix

Your own site · 80×15
<a href="https://agentmods.dev/skills/oolab-labs/claude-ide-bridge/ide-type-mismatch-fix"><img src="https://agentmods.dev/badge/skills/oolab-labs/claude-ide-bridge/ide-type-mismatch-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 836 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.00064 $0.00836
Opus 5 $0.00032 $0.00418
Sonnet 5 $0.00013 $0.00167
Haiku 4.5 $0.00006 $0.00084

Measured 10d ago against content hash 3132a9712500, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

ide-type-mismatch-fix 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 10d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

claude-ide-bridge-plugin/skills/ide-type-mismatch-fix/SKILL.md · 95 lines

How it starts

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

IDE Type Mismatch Fixer

Prerequisites

  1. Check if getToolCapabilities is available.
    • Not available: tell the user this skill requires the Claude IDE Bridge with a connected VS Code extension, then stop.
    • Available: call it. If extensionConnected is false: show the same message and stop. If true: proceed.

Goal

Systematically diagnose and fix type errors using LSP intelligence, without guessing or making assumptions about types.

Workflow

Phase 1: Collect type errors

  1. Note the argument: $ARGUMENTS

    • If a specific file path: call getDiagnostics with that uri
    • If empty: call getDiagnostics with no uri (workspace-wide)
  2. Filter diagnostics to severity error only. If zero errors: report "No type errors found" and stop.

  3. Group errors by file. Process at most 10 files; note if more exist.

Phase 2: Diagnose each error

For each error (up to 20 total across all files):

  1. Call getHover at the error position (file, line, column) to fetch:

    • The symbol's actual type
    • The type context (what was expected)
  2. Call getCodeActions at the error range to get quickfix suggestions from the language server

  3. If the error involves a function call or method: call getSignatureHelp at the call site to see the expected parameter types

  4. Build a diagnosis entry:

    Error: [error message]
    File: [file]:[line]:[column]
    Symbol: [symbol from hover]
    Actual type: [type from hover]
    Expected type: [inferred from error message + context]
    Quickfixes available: [list from getCodeActions]
    Recommended fix: [your recommendation]
    

Phase 3: Apply fixes (if authorized)

  1. For each error where a quickfix is available AND the fix is low-risk (adds a type annotation, removes any, fixes an import):

    • Call previewCodeAction to show the exact diff
    • If the diff looks correct: call applyCodeAction to apply it
  2. After applying fixes: call getDiagnostics again to verify error count dropped

Read the full file on GitHub · 95 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. 10d ago First seen · 95 lines · 64 tokens per session scan A 3132a9712500

Subscribe to this mod's changes

ide-type-mismatch-fix is a skill published in the GitHub repository Oolab-labs/claude-ide-bridge (38 stars, last pushed 4mo ago), licensed MIT. It adds 64 tokens to every session and 836 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

lsp-cross-repo

Cross-repository analysis — find all callers of a library symbol in one or more consumer repos. Use when refactoring a shared library and need to understand how consumers use it.

blackwell-systems/agent-lsp · 41 tokens

lsp-implement

Find all concrete implementations of an interface or abstract type. Use when you need to know what types satisfy an interface, or what subtypes exist before changing a base type.

blackwell-systems/agent-lsp · 39 tokens

ag-corrigir-tipos

Corrige erros TypeScript com auto-routing. Scan (diagnosticar), Fix (batch incremental), Sweep (varredura com ratchet), Audit-any (auditoria proativa de any/inferencias fracas). Substitui workflow manual de typecheck.

andregusman-raiz/a-gusman-claude · 60 tokens

javascript-sandbox

Best practices for using the clodex built-in JavaScript sandbox for browser debugging, fetched-data processing, attachments, and mini-app orchestration within its bundled capability boundary.

mereyabdenbekuly-ctrl/clodex-ide · 38 tokens

async-await-patterns

Use when writing JavaScript or TypeScript code with asynchronous operations, fixing promise-related bugs, or converting callback/promise patterns to async/await. Triggers: 'promise chain', 'unhandled rejection', 'race condition in JS', 'callback hell', 'Promise.all', 'sequential vs parallel async', 'missing await'.…

axiomantic/spellbook · 81 tokens

build-error-resolver

Build and TypeScript error resolution specialist. Use PROACTIVELY when build fails or type errors occur.

myths-labs/muse · 26 tokens