Knowledge Connector

👤 harrylabsj 📦 v1.4.0 ⭐ 4.5 ⬇️ 1.3K 下載
📚 知識管理 免費

📖 技能介紹


name: knowledge-connector description: "Knowledge workbench connector. Input notes, documents, or a local knowledge folder; output import guidance, relationship maps, cross-document answers, and concrete next actions. Privacy boundary: do not upload sensitive notes unless the user explicitly chooses an external tool."


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 - verify the connector is installed and writable before a long import - 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: - reliable first-run setup - 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. First-Run Check

Use kc doctor when: - the user just installed the skill - kc is not found or a command fails before doing useful work - the user is about to import a large notes folder

Good doctor behavior means: - confirm the data directory is writable - confirm JSON stores are readable - confirm the CLI entrypoint exists - warn clearly if kc is not on PATH

If kc is not available, tell the user to reinstall or repair the Clawhub install before continuing with import/search commands. If dependencies are missing but the files are present, node bin/cli.js doctor still works as a fallback diagnostic. If the default data directory is not writable, set KC_DATA_DIR to a writable folder before running import/search commands.

2. 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 - avoid duplicate source records when the same file is imported again - preserve source titles and paths - show how many documents, concepts, and relations were created - keep the user oriented after import

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 - matched keywords when helpful - useful next actions

4. 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

5. 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 doctor
kc import-wizard --dir notes/
kc import-docs --dir notes/
kc import-docs --files a.md b.md c.txt
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

小蔥技能站7w4.net,專業的AI技能分享平臺。

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.

🤖 AI 評測

這個 Skill 質量不錯,核心功能齊全,文件清晰易懂。有匯入嚮導、跨文件搜尋、關係圖視覺化等實用功能,還能自動去重和給出行動建議。安全性考慮較周全,會轉義使用者內容避免風險,資料本地儲存也標註了隱私邊界。美中不足的是缺少自動安裝依賴的引導,版本號有小問題,偶爾可能需要手動處理。總體適合需要管理大量筆記文件、構建知識圖譜的使用者使用。

📊 多維度評分

適應性4.5
規範性4.4
有效性4.6
可靠性4.4
可信度4.9

📁 包含檔案 (10 個)

📄 CHANGELOG.md 2.5 KB
📄 RELEASE.md 1.4 KB
📄 SKILL.md 4.4 KB
📄 _meta.json 138 B
📄 bin/cli.js 19.7 KB
📄 package-lock.json 13.6 KB
📄 package.json 1.2 KB
📄 skill-card.md 2.3 KB
📄 src/index.js 32.1 KB
📄 test/test.js 10.3 KB