npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

kindlm

v0.2.0

Published

YAML validation, completions, and hover docs for KindLM config files

Readme

KindLM — VS Code Extension

First-class editor support for KindLM config files (kindlm.yaml / kindlm.yml).

Features

YAML Validation

Real-time diagnostics as you type:

  • Flags missing required fields (kindlm, project, suite, providers, models, prompts, tests)
  • Validates provider is a known value (openai, anthropic, gemini, mistral, cohere, ollama, http)
  • Validates temperature is in range 0–2
  • Validates minScore and maxScore are in range 0.0–1.0
  • Catches unknown keys with helpful messages

Autocomplete

Context-aware completions inside kindlm.yaml:

  • Top-level fields: kindlm, project, suite, providers, models, prompts, tests, gates, defaults
  • expect sub-keys: output, toolCalls, judge, guardrails, baseline, latency, cost
  • expect.toolCalls[] fields: tool, argsMatch, shouldNotCall, argsSchema, order
  • expect.judge[] fields: criteria, minScore, model, rubric
  • expect.guardrails fields: pii, keywords, deny, allow
  • Model names: gpt-4o, claude-sonnet-4-5-20250929, gemini-2.0-flash, and more
  • Provider names: openai, anthropic, gemini, mistral, cohere, ollama, http

Hover Documentation

Hover over any KindLM field to get inline documentation with expected values and examples.

JSON Schema

Full JSON Schema for kindlm.yaml is bundled. If you have the YAML extension installed, you get schema-based completions and validation automatically.

Snippets

Starter snippets to scaffold new config files and test blocks:

  • kindlm-init — full config file skeleton (kindlm v1)
  • kindlm-test — single test case
  • kindlm-model — model configuration entry
  • kindlm-prompt — named prompt template
  • kindlm-expect-tooltoolCalls assertion
  • kindlm-expect-judgejudge assertion with minScore
  • kindlm-expect-pii — PII guardrail
  • kindlm-expect-keywords — keyword guardrail
  • kindlm-expect-output — output content assertion
  • kindlm-expect-drift — baseline drift assertion

Quick Start

  1. Install the extension from the VS Code Marketplace
  2. Open a project with a kindlm.yaml file (or create one with kindlm init)
  3. The extension activates automatically when a kindlm.yaml or kindlm.yml is present

Example Config

kindlm: 1
project: my-agent

suite:
  name: refund-agent
  description: Behavioral tests for the refund agent

providers:
  openai:
    apiKeyEnv: OPENAI_API_KEY

models:
  - id: gpt-4o
    provider: openai
    model: gpt-4o
    params:
      temperature: 0
      maxTokens: 1024

prompts:
  refund:
    system: You are a helpful refund agent. Be empathetic and professional.
    user: "{{message}}"

tests:
  - name: happy-path-refund
    prompt: refund
    vars:
      message: "I want to return order #12345"
    expect:
      toolCalls:
        - tool: lookup_order
          argsMatch:
            order_id: "12345"
      guardrails:
        pii:
          enabled: true
      judge:
        - criteria: Response is empathetic and professional
          minScore: 0.8

gates:
  passRateMin: 0.95

Requirements

  • VS Code 1.85.0 or newer
  • A kindlm.yaml file in your workspace (created by kindlm init)

For YAML schema-based completions, install the YAML extension by Red Hat.

Links

License

MIT