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

@tlbt/cli

v0.0.6

Published

TLBT — Toolbelt for AI agents

Downloads

644

Readme

TLBT - Toolbelt for Agent Builders

TLBT helps you ship agent tooling that is reliable, composable, and easy to extend.

Interop Gate MCP Compatibility Extension DX

Build once, run everywhere:

  • as a CLI for humans and scripts
  • as an HTTP service for workflows and apps
  • as an MCP server for agent frameworks

All transports share one execution contract, so behavior stays predictable.

Why teams pick TLBT

  • Interoperable by default: same tools over CLI, HTTP, and MCP.
  • Built for automation: JSON-first outputs, schema-validated inputs.
  • Extension-friendly: scaffold plugins in minutes, validate with conformance checks.
  • Production-minded: policy guardrails, stable error codes, structured metadata.

Start in 60 seconds

From source:

npm install
node cli.js tools
node cli.js run repo.map '{"path":"."}'
node cli.js serve
node cli.js mcp

Global install:

npm install -g @tlbt/cli
tlbt tools
tlbt run repo.map '{"path":"."}'

Local install tip (without global install):

npx tlbt tools

Core commands

tlbt tools
tlbt <tool> [input]
tlbt run <tool> <json>
tlbt install <plugin>
tlbt create plugin <name> [dir]
tlbt plugin:test <path>
tlbt serve
tlbt mcp
tlbt --version

Interoperability

TLBT supports three transports with one contract:

  • CLI (tlbt run ...)
  • HTTP (tlbt serve then POST /run)
  • MCP stdio (tlbt mcp)

| Capability | CLI | HTTP | MCP | |---|---|---|---| | list tools | tlbt tools | GET /tools | tools/list | | run tool | tlbt run or tlbt <tool> | POST /run | tools/call | | same envelope shape | yes | yes | yes | | stable error codes | yes | yes | yes |

Canonical contract: Tool Contract v1

Build your own plugin quickly

Create a plugin scaffold with implementation, tests, and docs:

tlbt create plugin github ./plugins/tlbt-tool-github

Validate compatibility:

tlbt plugin:test ./plugins/tlbt-tool-github

Every scaffold includes:

  • index.js sample tool
  • tests/plugin.spec.js run-path + schema checks
  • README.md with usage examples

Safety and trust

Use policy guardrails without changing plugin code:

  • TLBT_POLICY_FILE=/path/to/policy.json
  • TLBT_POLICY_PRESET=dev|balanced|strict
  • TLBT_LOG_JSON=1 for structured logs

Preset behavior:

  • dev: no path enforcement, no denylist
  • balanced: enforce workspace path boundaries
  • strict: enforce workspace paths and block sys.* by default

Example policy:

{
  "denyToolPrefixes": ["sys."],
  "enforceWorkspacePaths": true,
  "workspaceRoot": "."
}

Reliability report:

npm run reliability:metrics

Built-in tool families

  • Repo/Codebase: mapping, search, read/write, patch, symbols.
  • Docs/Knowledge: headings, links, summaries, frontmatter.
  • Web/Research: fetch, extract text, metadata, status.
  • Data/Transform: JSON query, CSV to JSON, schema validation.
  • System/Ops: guarded exec, process inspection, env inspection.

Documentation map

Minimal tool format

Each tool exports:

  • name
  • description
  • input (JSON Schema)
  • run(input) (sync or async, returns JSON-compatible data)
module.exports = {
  name: "repo.map",
  description: "Map repository structure",
  input: {
    type: "object",
    properties: { path: { type: "string" } },
    required: ["path"]
  },
  async run({ path }) {
    return { path }
  }
}

Development

npm install
npm test
npm run coverage