Skip to content

Agent access

Loofah is your personal knowledge vault for notes, research, decisions, and meeting content. We recommend the loof CLI for agents that can run shell commands. It gives your agent one interface for searching, reading, and saving knowledge, with structured JSON output.

Copy the skill installation prompt into your agent. It installs the instructions for using the CLI and asks the agent to remember Loofah as your personal knowledge vault, using the skill through loof whenever you want to save or retrieve knowledge.

The skill and the CLI are separate: your agent also needs the loof executable available in its environment. The prompt checks CLI and vault access and explains any remaining setup. Once ready, follow CLI for agents for command examples.

Both interfaces work on the same vault. A session may be a recorded meeting or a standalone note containing research, decisions, project context, or material brought in from another tool.

InterfaceUse it whenOutput
CLI (recommended)The agent can run shell commands; supports reading and writingJSON with --json, or readable terminal output
MCP (optional)You want a read-only connection, or your client supports MCP but cannot run shell commandsStructured tool results and resources
  1. List recent sessions or search with a short phrase.
  2. Take the session ID from the result. Do not guess it.
  3. Read session details before fetching a transcript.
  4. Fetch the transcript only when the notes and summaries are not enough.
  5. When the user asks to keep new work, create a session with clear authorship, useful tags, and the source artifact when appropriate.

The skill follows this workflow through the CLI, even when MCP is connected. MCP remains available when you explicitly choose it or your agent cannot run the CLI; it cannot save or edit notes.

Every vault also carries a copy of the vault guide for agents at its root as AGENTS.md, so agents that land in the folder without this documentation still learn the layout and the rules.

Use these interfaces instead of crawling the vault. They apply the same rules for canonical notes, summaries, speaker names, and transcript rendering.

MCP cannot write: no MCP tool creates or edits a note, action item, or session. The CLI can: sessions new creates a standalone note, sessions note --set and --append edit a note body, sessions attach keeps a source file with the note, import turns an audio file into a new session, and transcribe replaces a session’s transcript. sessions export writes only to the file you pass with --output, and replaces an existing file only when --force is passed. Agents creating sessions must always pass --author <agent-name> so the note is marked as not written by the vault owner.

The CLI is intentionally source-agnostic. If an agent is authorized to read a document, research result, issue tracker, knowledge service, or generated deck, it can turn the useful content into Markdown and store it as a new session. There is no separate importer to build for every source.

For example, after researching a topic or extracting the important findings from a deck, an agent can run:

Terminal window
loof --json sessions new --title "Research: customer onboarding" --note findings.md --tag research --author claude-code
loof --json sessions attach SESSION_ID onboarding-research.pdf

This keeps the synthesized note searchable while preserving the source artifact beside it. The agent must still follow the source tool’s permissions and should only write when the user asks it to.