Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jadecliv0.1.0MIT
Knowledge SDK with llms.txt crawler, doc fetcher, research orchestrator, and OTel tracker
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Distilled knowledge from Anthropic's Claude ecosystem — as code, not docs.
A TypeScript SDK + Claude Code plugin that captures the patterns, types, and tooling from Claude Code v2.1.83, the Claude Agent SDK, claude-code-actions, and 8 Anthropic engineering blog posts. Includes 4 Claude Code skills, TypeScript LSP support, CI/CD workflows, and an llms.txt documentation crawler.
Instead of reading docs, you import them:
import {
runLoop, // Agent loop wrapping SDK query()
orchestrateResearch, // Lead + parallel subagent fan-out/fan-in
recursiveResearch, // Research → evaluate → improve loop
parseLlmsTxt, // Parse llms.txt documentation indexes
fetchAllKnowledge, // Fetch docs from 3 Anthropic surfaces
calculateBudget, // Context window management
generateOtelEnvVars, // OTel configuration generator
MODEL_PRICING, // Current model pricing table
} from '@jadecli/claude-knowledge-sdk';
# Install
npm install @jadecli/claude-knowledge-sdk
# Fetch documentation index
npx ck fetch-docs --priority critical
# Run a recursive research query
npx ck research "how does Claude Code handle context compaction"
# Generate OTel monitoring config
npx ck otel-setup --backend prometheus
This repo is also a Claude Code plugin with 4 skills and TypeScript LSP:
# Load as plugin (dev)
claude --plugin-dir ~/repos/claude-knowledge-sdk-typescript
# Reload after changes
/reload-plugins
# Use skills
/claude-knowledge-sdk:doc-fetcher
/claude-knowledge-sdk:research-loop
/claude-knowledge-sdk:otel-tracker
/claude-knowledge-sdk:llms-txt-crawler
| Skill | Description |
|---|---|
| doc-fetcher | Local documentation oracle — fetches and caches Anthropic docs |
| research-loop | Multi-agent recursive research with lead + subagent pattern |
| otel-tracker | OTel monitoring setup generator for Prometheus/SigNoz/Grafana |
| llms-txt-crawler | Parses llms.txt files, crawls doc URLs, generates Scrapy spiders |
The llms-txt-crawler skill can:
~/.claude/knowledge/Known endpoints: code.claude.com/docs/llms.txt, platform.claude.com/llms.txt
Built from 5 distilled sources:
| Source | What It Provides |
|---|---|
anthropics/claude-code v2.1.83 | CLI surface, hooks, skills, plugins, monitoring |
@anthropic-ai/claude-agent-sdk v0.2.33 | query(), AgentDefinition, subagents, V2 sessions |
anthropics/claude-code-action | CI/CD integration, GitHub Actions patterns |
anthropics/claude-code-monitoring-guide | OTel + Prometheus stack |
anthropic.com/engineering (8 posts) | Multi-agent patterns, context engineering, tool design |
Three GitHub Actions workflows are included:
ci.yml)Runs on push to main and PRs: typecheck → build → test → lint. All must pass.
claude-review.yml)Uses anthropics/claude-code-action@v1 for automated PR review.
security.yml)Uses anthropics/claude-code-security-review@main for AI security scanning.
| Secret | Source | Used By |
|---|---|---|
CLAUDE_CODE_OAUTH_TOKEN | Run claude setup-token locally | claude-review.yml |
CLAUDE_API_KEY | Anthropic API key with Claude Code usage enabled | security.yml |
Prerequisites:
/install-github-app in Claude Code)Follows Boris Cherny's "Programming TypeScript" discipline:
AgentId with SessionIdResult<T, E> replaces try/catch — no exceptions cross boundariesassertNever()noUncheckedIndexedAccess catches undefined array/object accessreadonly propertiesGenerated from the plugin's indexed repository (jadecli/claude-knowledge-sdk-typescript) — no native marketplace selected
npx claudepluginhub p/jadecli-claude-knowledge-sdkBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground