- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add topoteretes/cognee --skill self-hosted-companion -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add topoteretes/cognee --skill self-hosted-companion -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add topoteretes/cognee --skill self-hosted-companion -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add topoteretes/cognee --skill self-hosted-companion -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/topoteretes/cognee/tree/HEAD/.agents/skills/self-hosted-companion來自發布者
Runs the self-hosted companion cookbook in examples/cookbooks/self_hosted_companion/. It
remembers a notes folder in the cognee dataset self_hosted_companion, then answers
messages about it; each chat is saved to memory, so a later one knows it. Setup, the
scripts and what each one does are in the cookbook's
README.md.
Run every command from the repo root.
Without a notes folder of the user's own, or to see it work first, leave out <folder>
below: the run then uses sample notes (the [setup] line says so). It needs only
LLM_API_KEY. Tell the user the answer comes from sample notes.
uv run python examples/cookbooks/self_hosted_companion/self_hosted_companion.py --check <folder>
with the notes folder the user named.
[setup] MISSING: line names one fix. Tell the user which line to fix,
using the README's "What it needs" table, and stop.--ask:
uv run python examples/cookbooks/self_hosted_companion/self_hosted_companion.py <folder> --ask "...".
Once the folder is remembered, later messages only need
uv run python examples/cookbooks/self_hosted_companion/scripts/chat.py --ask "...".[chat] companion>. Give it to the user. Each --ask is
its own chat session, saved to memory, so a later one knows it.self_hosted_companion.py exits 1 with a line naming what went
wrong. Run that script from examples/cookbooks/self_hosted_companion/scripts/ on its
own to look closer..env.self_hosted_companion before it ingests (the [clear]
line). On the user's own data, pass --clear only when they asked to start over: it
forgets everything the dataset holds, including the earlier chats.--ui unless the user asked to browse the graph: it keeps running until
Ctrl+C.uv run cognee-cli forget --dataset self_hosted_companion
Chat with a companion that knows your notes folder (a journal, an Obsidian vault, any .md or .txt files) and every earlier chat, using cognee memory with local databases. Use when someone wants to ask
---name: self-hosted-companiondescription: Chat with a companion that knows your notes folder (a journal, an Obsidian vault, any .md or .txt files) and…---# .agents/skills/self-hosted-companion/SKILL.md總覽
Chat with a companion that knows your notes folder (a journal, an Obsidian vault, any .md or .txt files) and every earlier chat, using cognee memory with local databases. Use when someone wants to ask questions about their own notes, or to talk with a companion that remembers past conversations. Runs locally; reads the notes folder, writes only to cognee's memory.
常見問題
從發布者下載 .agents/skills/self-hosted-companion/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/topoteretes/cognee。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。