Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

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.

In detail

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.

Safety check

  • Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: self-hosted-companion
description: 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.
---

# Self-hosted AI 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`](../../../examples/cookbooks/self_hosted_companion/README.md).

Run every command from the repo root.

## Steps

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.

1. Run
   `uv run python examples/cookbooks/self_hosted_companion/self_hosted_companion.py --check <folder>`
   with the notes folder the user named.
   - Exit 0: go to step 2.
   - Exit 2: each `[setup] MISSING:` line names one fix. Tell the user which line to fix,
     using the README's "What it needs" table, and stop.
2. You can't type into the interactive chat, so pass the user's message with `--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 "..."`.
3. The answer is everything after `[chat] companion>`. Give it to the user. Each `--ask` is
   its own chat session, saved to memory, so a later one knows it.
4. If a script fails, `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.

## Rules

- The notes are the user's private files. Don't quote them beyond what answers the
...

From topoteretes's repository, Apache-2.0 licence.

Related skills

  • Checked

    Meeting notes summary

    Turns meeting notes or transcripts into a factual summary with decisions and action items, nothing invented.

    by iflytek 5.5k
    7/101 credit
  • Checked

    Trip itinerary planner

    Turns your destination, dates and budget into a day by day itinerary with backup plans and a budget table.

    by iflytek 5.5k
    8/101 credit
  • Checked

    Booking page builder

    Builds booking pages with Cal.com or Calendly and live availability, and fixes double bookings and time zones.

    by ericrisco 691
    8/101 credit
  • Checked

    Obsidian Bases views

    Creates and edits Obsidian Bases with table, card and kanban views, filters and formulas over your notes.

    by obsidianmd 55k
    8/101 credit
  • Checked

    Obsidian note databases

    Creates Obsidian Bases files with table and card views, filters and formulas so notes work like a database.

    by Atmosphere 3.8k
    8/101 credit
  • Checked

    Event planner

    Turns your occasion, headcount and budget into a timeline, supplies list and backup plan, so nothing is missed.

    by iflytek 5.5k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added