Kosha Discovery — AI skill for Claude Code
Discovery registry for AI models, credentials, and pricing across local and cloud providers.
How to install Kosha Discovery
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sriinnu/kosha-discovery and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Kosha Discovery does
Discovery registry for AI models, credentials, and pricing across local and cloud providers. Library, CLI, and HTTP API.
Alternatives in AI
- Cursor Tools — by eastlondoner - Creates a versatile AI command interface supporting multiple providers and models with flexi 4.7k ★
- Chat Ollama — ChatOllama is an open source agentic app for running AI agents across local and hosted models 3.5k ★
- DontFeedTheAI — Transparent anonymization proxy for AI-assisted pentesting 654 ★
README
kosha-discovery
**Tells your agent — or your code — which model to use and what it costs.**
kosha discovers models across 45 providers and local runtimes, finds your API keys wherever they already live (env vars, Claude CLI, Codex, gcloud ADC, AWS SSO), fills in pricing and context limits, and answers questions like *the cheapest model with tool use and 128k context that I actually hold a key for*. It ships as a TypeScript library, a CLI, an HTTP API, an OpenAI-compatible proxy with a spend ledger, and an MCP server.
It works with no API keys at all — discovery falls back to the public models.dev and LiteLLM catalogs, so `kosha list` is useful on a fresh machine.
Install
npm install @sriinnu/kosha-discovery # library / server
npm install -g @sriinnu/kosha-discovery # global `kosha` CLI
Requires Node.js 22+.
Quick start
Library
import { createKosha } from "@sriinnu/kosha-discovery";
const kosha = await createKosha();
const models = kosha.models(); // ModelCard[] across every provider
const cheapest = kosha.cheapestModels({ role: "image" }); // ranked by price, with missingCredentials
const sonnet = kosha.model("sonnet"); // alias → canonical ID; undefined if unknown
console.log(sonnet?.pricing); // { inputPerMillion: 2, outputPerMillion: 10, cacheReadPerMillion: 0.2, ... }
CLI
kosha discover # query every provider; writes ~/.kosha/cache and the manifest
kosha list --provider anthropic # read from the local cache
kosha model sonnet # one model, alias-aware
kosha routes claude-opus-5 # every serving route for a model (direct, OpenRouter, Bedrock, …)
kosha cheapest --role embeddings # rank by price for a role
kosha doctor --ci # deprecations + provider health; non-zero exit for C
Related Skills
LLM Adapter Kit
A universal TypeScript library for interacting with multiple LLM providers through a unified interface. Suppor
Anthroxy
anthroxy: one endpoint for Claude Code in front of several Anthropic-compatible backends (vLLM, LM Studio, api
Smart Switch
Multi-app model provider switcher: manage OpenAI/Anthropic-protocol providers (base URL + API key + models) an
onWatch
Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu
Nanobananas API Guide
Claude Code Skill for NanoBananas.AI API — AI image & video generation with 5 image models, 4 video models, Py
Lamoom Python
by LamoomAI - Serves as reference for production prompt engineering library with load balancing of AI Models,
Related Agents
Cost Control Reviewer
Reviews architecture and infrastructure for cost efficiency across AWS, Azure, and GCP. Use when provisioning
Mock Generator
Generates mock API responses and test data using local Ollama models. Saves cloud tokens.
Secret Hunter
Hunts publicly-leaked credentials (API tokens, cloud keys, DB strings) that belong to a previously-ingested pr