🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@agentskb/cli

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agentskb/cli

AgentsKB CLI - Researched answers to any problem. Your AI, upgraded. Lock answers, check coverage, verify facts.

latest
Source
npmnpm
Version
0.1.0-beta.8
Version published
Maintainers
1
Created
Source

@agentskb/cli

Verified knowledge that stops AI coding assistant hallucinations.

npm version License: MIT

The Problem: AI Coding Assistants Hallucinate

Your AI coding assistant (Cursor, Claude Code, Cline) is great at common tasks. But ask about specific details and it often guesses wrong:

  • Wrong default values ("PostgreSQL max_connections is 200" - actually 100)
  • Outdated version info ("Use getInitialProps" - deprecated in Next.js App Router)
  • Incorrect specifications ("JWT should expire in 1 hour" - OWASP says 15 minutes)

The result: You waste 30+ minutes in retry loops, reprompting 5-10 times before giving up.

The Solution: Verified Answers with Sources

AgentsKB provides 5,000+ atomic Q&As, each verified using Claude Opus 4.5 with web search against official documentation.

What you get:

  • Verified answers with authoritative sources
  • Real-time MCP integration (Claude Code, Cursor, Cline)
  • Lock specific answer versions for reproducibility
  • Check coverage before starting a project

Installation

npm install -g @agentskb/cli

Or use with npx:

npx @agentskb/cli check

Quick Start

1. Check Coverage for Your Project

cd my-project
agentskb check --stack "Next.js, PostgreSQL, Prisma"

See how many verified answers exist for your tech stack:

AgentsKB Coverage Check

Stack: Next.js, PostgreSQL, Prisma

Coverage: 89% (267/300 questions verified)
  Next.js 15 App Router:  95%
  PostgreSQL 16:          92%
  Prisma ORM:             78%

Your AI assistant has verified knowledge for 89% of common questions in this stack.

2. Lock Answers for Reproducibility

agentskb lock

Creates agentskb.lock with pinned verification IDs - same answers today as 6 months from now.

git add agentskb.lock
git commit -m "Lock AgentsKB knowledge versions"

3. Verify in CI/CD

agentskb verify --ci

Detects when answers have been updated so you can review changes consciously.

Commands

agentskb check

Check how much verified knowledge exists for your stack.

agentskb check --stack "React, Node.js, MongoDB"

agentskb lock

Generate lockfile for reproducible builds.

agentskb lock

Why lock?

  • Same verified answers across your team
  • Reproducible AI behavior
  • Audit trail of what knowledge was used

agentskb update

Update lockfile to latest verified versions.

agentskb update

Shows what changed so you can review before committing.

agentskb verify

Verify lockfile integrity (for CI/CD).

agentskb verify --ci

Returns JSON for pipeline integration:

{"status": "ok", "coverage": 89, "drift_count": 0}

agentskb request

Request knowledge for questions we don't have yet.

agentskb request "What's the default connection pool size in Prisma 5?"

MCP Integration

AgentsKB works with Claude Code, Cursor, and Cline via MCP (Model Context Protocol).

One-line install for Claude Code:

claude mcp add agentskb

Your AI assistant automatically queries AgentsKB for verified answers during conversations.

What We Cover

5,000+ verified Q&As across 40+ domains:

DomainCoverage
PostgreSQL380+ Q&As
Next.js 15260+ Q&As
Prisma170+ Q&As
JWT/OAuth150+ Q&As
AWS200+ Q&As
Docker/K8s180+ Q&As
And 35+ more...

Each answer is:

  • Verified with Claude Opus 4.5 + web search
  • Sourced from official documentation
  • Atomic (one question, one complete answer)

Who It's For

Developers using AI coding assistants who want:

  • Accurate answers on the first try
  • No more retry loops
  • Verified facts with sources

Works best with:

  • Claude Code
  • Cursor
  • Cline
  • Any MCP-compatible assistant

Pricing

Free Beta: 100 queries/month - no credit card required.

Get started at agentskb.com

Environment Variables

  • AGENTSKB_API_KEY - Your API key (optional for free tier)

License

MIT

Stop hallucinations. Get verified answers.

Keywords

ai

FAQs

Package last updated on 05 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts