KaanKaya17

Importprobe — AI skill for Claude Code

AI community

Catch what your AI coding agent made up: packages that don't exist, exports and methods a library never had, APIs removed in your version.

How to install Importprobe

This entry records only its repository, not the path inside it, so there is no exact command to give. Open KaanKaya17/importprobe and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Importprobe does

Catch what your AI coding agent made up: packages that don't exist, exports and methods a library never had, APIs removed in your version. CLI, Claude Code hook and MCP server.

Alternatives in AI

README

importprobe

[![npm](https://img.shields.io/npm/v/importprobe)](https://www.npmjs.com/package/importprobe) [![CI](https://github.com/KaanKaya17/importprobe/actions/workflows/ci.yml/badge.svg)](https://github.com/KaanKaya17/importprobe/actions/workflows/ci.yml) [![license](https://img.shields.io/npm/l/importprobe)](LICENSE)

**Catch what your AI coding agent made up — before it runs.**

AI assistants write code that is *almost* right: an import from a package that doesn't exist, a function the package never exported, a method from a different library or an older major version, a typo'd package name that an attacker registered. importprobe checks every import and API call against the real package.

![importprobe finding made-up imports and API calls](docs/demo.svg)

npx importprobe          # check the current project
npx importprobe init     # make your AI agent check its own code (Claude Code, Cursor, VS Code)

What it checks

Problem Example Rule
Package doesn't exist import x from 'axios-retry-pro' unknown-package
Typosquat or brand-new / barely used package expresss, loadsh, a name registered last week suspicious-package
Deprecated package request deprecated-package
Real package, not in package.json, not installed import { nanoid } from 'nanoid' missing-dependency
Works only by accident (transitive) import mime from 'mime-types' undeclared-dependency
Export doesn't exist import { formatRelative } from 'dayjs' unknown-export
Method doesn't exist — directly or in a chain axios.fetch(), z.string().emailAddress(), express().listenAsync() unknown-member
Entry point doesn't exist dayjs/plugin/relativeTimes unknown-subpath
Node built-ins node:paths, readJsonSync from node:fs unknown-builtin, unknown-export
Local files missing file, wrong export name, default import of a named-only module missing-file,