← 返回 Skills 市场
harrylabsj

Knowledge Connector

作者 haidong · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ 安全检测通过
594
总下载
0
收藏
6
当前安装
5
版本数
在 OpenClaw 中安装
/install knowledge-connector
功能描述
Turn scattered notes and documents into an actionable knowledge graph. Use when the user wants an import wizard, cross-document answers, relationship maps, a...
使用说明 (SKILL.md)

Knowledge Connector

Knowledge Connector should feel like a product line, not another graph utility.

Its job is not just to extract concepts. Its job is to help the user:

  • import notes and documents with low friction
  • search across multiple documents from one query
  • visualize concept relationships in a way that is easy to inspect
  • get actionable graph results such as what to connect, review, or expand next

What This Skill Optimizes For

Default toward five high-value outcomes:

  • fast document import
  • guided import onboarding
  • cross-document knowledge retrieval
  • relationship-aware graph views
  • actionable next steps

Avoid drifting into “yet another adjacent knowledge skill”.

Primary Workflows

1. Import Experience

Use kc import-docs when the user wants to build a graph from multiple files or a notes directory. Use kc import-wizard when the user wants a preview-first onboarding flow.

Good import behavior means:

  • accept files or a directory
  • preserve source titles and paths
  • show how many documents, concepts, and relations were created
  • keep the user oriented after import

2. Cross-Document Search

Use kc search or kc query when the user asks:

  • where an idea appears across notes
  • which documents mention a concept
  • what concepts connect several documents

Results should show:

  • matching concepts
  • matching source documents
  • useful next actions

3. Relationship Visualization

Use kc visualize for full graph export and kc map for a concept-centered actionable subgraph.

Visualization should help the user answer:

  • what is central
  • what is weakly connected
  • what deserves review

4. Actionable Results

Do not stop at “here is the graph”.

The output should usually recommend one or more actions such as:

  • import more source material
  • auto-connect newly imported concepts
  • inspect a concept-centered subgraph
  • verify weak relationships from source documents
  • export a graph view for sharing or review

Core Commands

Import

kc import-wizard --dir notes/
kc import-docs --dir notes/
kc import-docs --files a.md b.md c.txt

Search

kc search "machine learning"
kc answer "哪些文档把强化学习和规划连在一起?"
kc query "transformer" --sources
kc query --ask "哪些文档同时提到了强化学习和规划?"

Map And Visualize

kc map --concept "人工智能" --depth 2
kc visualize --format html --output graph.html
kc visualize --concept "机器学习" --depth 2 --output ml-graph.html

Manage

kc stats
kc export --output backup.json
kc import --file backup.json

Output Standard

When the skill returns results, prefer this structure:

What Matched

Show concepts and source coverage.

Why It Matters

Explain the meaningful relationship or pattern.

Next Step

Tell the user what to do next with the graph.

Product Positioning

Knowledge Connector is strongest when the user has:

  • a growing notes corpus
  • repeated concepts spread across files
  • a need to move from storage to understanding

It is weaker if it only acts like a raw extractor with no import flow, no source-aware search, and no next-step guidance.

安全使用建议
This skill appears to do what it says: it reads the files or directories you point it at, extracts concepts, builds simple local JSON stores, and writes a data directory (~/.local/share/knowledge-connector by default). Before installing or running: (1) review or run the included test script to verify behavior in a sandbox; (2) avoid pointing the importer at system or sensitive directories (e.g., /, /etc, or folders containing secrets) — the tool will recursively scan allowed text file types; (3) inspect the repository URL/code if you want to be extra cautious; (4) be aware data will be stored on-disk in the skill's data directory and exported HTML/JSON files may contain extracted content.
功能分析
Type: OpenClaw Skill Name: knowledge-connector Version: 1.2.0 The Knowledge Connector skill is a legitimate utility for extracting concepts from local documents and building a knowledge graph. Analysis of 'src/index.js' and 'bin/cli.js' shows standard filesystem operations for reading notes and storing graph data in the user's local share directory. There is no evidence of data exfiltration, malicious execution (eval/exec), or prompt injection; the code uses local regex-based extraction and only references a reputable CDN (unpkg.com) for the 'vis-network' visualization library.
能力评估
Purpose & Capability
Name/description (Knowledge Connector → import/search/map/visualize) lines up with the provided CLI, README, and src code. The declared lack of required env vars/binaries fits the local, file-based operation the code implements.
Instruction Scope
SKILL.md tells the agent to run local kc commands (import-docs, import-wizard, search, visualize, etc.), and those commands operate on files/directories the user supplies. The instructions do not ask the agent to read unrelated system config, access secret env vars, or send data to external endpoints.
Install Mechanism
There is no remote download/install hook in the skill metadata. The package.json and small set of standard npm deps (commander, chalk, ora) are typical and the repo points to GitHub. No extract-from-URL or other high-risk installer is present.
Credentials
The skill requires no credentials or special env vars. It stores its data under the user's home directory (default: ~/.local/share/knowledge-connector), which is proportional to a local import/search tool. No unrelated credentials or config paths are requested.
Persistence & Privilege
The skill persists data to the user home (creates ~/.local/share/knowledge-connector and JSON files) and reads files/directories provided by the user. always:false and normal agent invocation are appropriate. The persistence is expected but users should be aware data is stored on disk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install knowledge-connector
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /knowledge-connector 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
Added an import wizard and answer-style cross-document results to make Knowledge Connector easier to onboard and more actionable.
v1.1.0
Upgraded Knowledge Connector into an action-oriented knowledge graph product with document import, cross-document search, relationship maps, and next-step guidance.
v1.0.2
Update documentation to English.
v1.0.1
No user-visible changes in this version. - Version number updated to 1.0.1; all documentation and functionality remain unchanged.
v1.0.0
Knowledge Connector v1.0.0 – Initial Release - First public release with core functionality. - Extracts concepts and entities from documents and conversations. - Automatically builds relationships and constructs a knowledge graph. - Supports intelligent querying, recommendations, and visualization. - Full CLI coverage for management, extraction, connection, querying, and export/import.
元数据
Slug knowledge-connector
版本 1.2.0
许可证 MIT-0
累计安装 7
当前安装数 6
历史版本数 5
常见问题

Knowledge Connector 是什么?

Turn scattered notes and documents into an actionable knowledge graph. Use when the user wants an import wizard, cross-document answers, relationship maps, a... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 594 次。

如何安装 Knowledge Connector?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install knowledge-connector」即可一键安装,无需额外配置。

Knowledge Connector 是免费的吗?

是的,Knowledge Connector 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Knowledge Connector 支持哪些平台?

Knowledge Connector 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Knowledge Connector?

由 haidong(@harrylabsj)开发并维护,当前版本 v1.2.0。

💬 留言讨论