@gobing-ai/knowledge-kit

中文文档
0.1.19发布于 2026/11/16Apache-2.0ES Module近 30 天下载 3754

An ingest → create → publish content pipeline CLI (Bun).

原始使用文档
文档目录6 节
  1. Install
  2. Optional: install the kk agent plugin collection
  3. Commands
  4. The plugin model
  5. Documentation
  6. License

@gobing-ai/knowledge-kit

Ingest → Create → Publish — a content pipeline CLI. knowledge-kit turns documents (or just a topic brief) into finished, published content across multiple channels.

The name is historical. knowledge-kit is not only a knowledge-management tool: content creation and multi-channel publishing are first-class, co-equal capabilities, and ingestion is optional — a pipeline may start from a Brief (topic → article) with no ingested documents.

The binary installs as both kk and knowledge-kit. Pipelines are expressed as plugins (ingestion / generator / publish) wired together by spur workflows — kk owns each step, spur owns the orchestration.

Install

bun add -g @gobing-ai/knowledge-kit

Requires Bun ≥ 1.4.3.

Optional: install the kk agent plugin collection

The npm tarball ships the kk plugin collection (skills, commands, agents, hooks, rules) for coding agents. Install it globally via superskill:

bun add -g @gobing-ai/superskill
superskill install kk --marketplace gobing-ai/knowledge-kit

The repo is private, so superskill needs a GitHub token in the environment (GITHUB_TOKEN or GH_TOKEN). It caches under ~/.cache/superskill/marketplaces (a warm cache works offline).

Commands

CommandWhat it does
kk executor run <plugin> --in <path> --out <path>Invoke a plugin with input/output files and contract validation
kk executor fan-inMerge N Doc[] JSON inputs into one deduplicated Doc[] output
kk executor fan-outPublish one Content JSON to N targets, aggregating per-target results
kk plugin statusList discovered plugins grouped by kind with per-plugin health (--kind, --json)
kk -v, --verboseEnable verbose diagnostics
kk --help / kk <command> --helpFull flag reference

Hidden one-release aliases (invoke, fanin, fanout, plugins list, plugins doctor) still work but are not listed in kk --help.

The plugin model

Plugins are directories with a plugin.json manifest, discovered by a registry scan across built-in, user, project, and KK_PLUGIN_PATH roots. Three kinds:

KindContractShipped examples
ingestionsource → Doc[]karakeep-local, web-search, last30days-ingest
generatorDoc[] | Brief → Contentcontent-gen (owned STORM pipeline), voice-gen (Voicebox TTS)
publishContent → Resultsurfdash-pub, zenn-pub, qiita-pub

Core contracts (Doc, Brief, Content, Result) and per-kind validation live in @gobing-ai/kk-core. LLM-as-judge is not a plugin kind — quality gating is delivered as agent skills + agent.run in the kk plugin collection.

Documentation

Source repo: gobing-ai/knowledge-kit — architecture decisions (docs/00_ADR.md), command surface (docs/04_DESIGN.md), feature status (docs/05_FEATURES.md), and per-kind plugin authoring specs (docs/design/).

License

Apache-2.0

版本与发布记录

@gobing-ai/knowledge-kit 共发布 55 个版本,首次发布于 2026/08/13;过去 12 个月发布了 55 个版本。

版本发布日期距今
0.1.19latest2026/11/161 天前
0.1.172026/11/133 天前
0.1.162026/11/124 天前
0.1.152026/11/106 天前
0.1.142026/11/088 天前
0.1.132026/11/089 天前

关于 @gobing-ai/knowledge-kit 的常见问题

@gobing-ai/knowledge-kit 是什么?

An ingest → create → publish content pipeline CLI (Bun).

如何安装 @gobing-ai/knowledge-kit?

在项目目录运行 npm install @gobing-ai/knowledge-kit,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 kk、knowledge-kit,可以用 npx kk 直接运行。

@gobing-ai/knowledge-kit 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/gobing-ai__knowledge-kit 是否存在。

@gobing-ai/knowledge-kit 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@gobing-ai/knowledge-kit 可以商用吗?

@gobing-ai/knowledge-kit 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@gobing-ai/knowledge-kit 的下载量有多少?

根据 npm 官方下载统计,@gobing-ai/knowledge-kit 在 2026/10/17 – 2026/11/15 这 30 天内被下载 3,754 次,日均约 125 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@gobing-ai/knowledge-kit 还在维护吗?

最新版本 0.1.19 发布于 2026/11/16(1 天前);至今共发布 55 个版本,其中过去 12 个月发布了 55 个;首次发布于 2026/08/13。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。