whatisgithub

What is library-insight?

coding-meet/library-insight — explained in plain English

Analysis updated 2026-05-18

5KotlinAudience · developerComplexity · 3/5Setup · moderate

In one sentence

A CLI tool that scans your exact installed Java or Kotlin library version to give AI assistants and developers accurate, version-correct API information.

Mindmap

mindmap
  root((Library Insight))
    What it does
      Scan JAR AAR versions
      Build API index
      Diff library versions
    Tech stack
      Kotlin
      ASM bytecode reader
      Gradle
    Use cases
      Verify real library API
      Export AI-ready context
      Compare version changes
    Audience
      Developers
      AI coding assistants

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Check which methods and classes actually exist in your installed library version.

USE CASE 2

Export a compact, AI-ready API context file to reduce hallucinated code suggestions.

USE CASE 3

Compare two versions of a dependency to spot breaking changes before upgrading.

USE CASE 4

Install a skill so any AI coding agent verifies real APIs before writing code.

What is it built with?

KotlinASMGradleClikt

How does it compare?

coding-meet/library-insightfuusio/kideblindman81/snippets
Stars554
LanguageKotlinKotlinKotlin
Setup difficultymoderatemoderatemoderate
Complexity3/53/52/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires JDK 17 or higher, the one-line shell installer sets up the global CLI and AI agent skill files.

The README does not state a license for this project.

So what is it?

Library Insight is a command line tool that helps AI coding assistants and developers know the true public API of a Java or Kotlin library, based on the exact version installed in your project rather than what the AI remembers from web examples or documentation for a different version. AI assistants often suggest methods that do not exist, use deprecated APIs, or write code for a newer or older release than the one you actually have, which leads to wasted debugging time. The tool works by directly reading the compiled JAR or AAR file, Gradle build output, or Maven artifact you point it at, examining the compiled class structures and Kotlin metadata annotations to build a searchable, version correct index of every class, method, constructor, and property, including details like visibility, default arguments, generics, and whether a property is mutable. It can export this index as JSON or readable Markdown documentation, search across it, and compare two versions of the same library to highlight what was added, removed, changed, or deprecated, including changes that would break compiled code. A key feature is a compact export format built specifically for feeding into AI assistants like ChatGPT, Gemini, Claude, Cursor, or Copilot, so the AI gets exact, current API information without wasting its limited context space on huge generated documentation files. The project also ships a skill file that teaches AI agents to check the real installed library before writing code instead of guessing, and this skill can be installed globally so any AI agent on your computer can use it, or scoped to just one project. The tool is built in Kotlin using Clean Architecture principles, with separate modules handling bytecode parsing, Kotlin metadata parsing, search, and export formatting, all coordinated by a core orchestration layer and a command line interface. Installing it requires Java 17 or higher, and can be done with a one line shell installer script or by building it yourself from source using Gradle.

Copy-paste prompts

Prompt 1
Help me install Library Insight and scan my project's dependencies.
Prompt 2
Explain how Library Insight's diff engine detects binary breaking changes.
Prompt 3
Show me how to export an ai-context.json file for feeding into Claude or Cursor.
Prompt 4
Walk me through installing the Library Insight skill for my AI coding assistant.

Frequently asked questions

What is library-insight?

A CLI tool that scans your exact installed Java or Kotlin library version to give AI assistants and developers accurate, version-correct API information.

What language is library-insight written in?

Mainly Kotlin. The stack also includes Kotlin, ASM, Gradle.

What license does library-insight use?

The README does not state a license for this project.

How hard is library-insight to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is library-insight for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.