Home / Market / Files Cli

Files Cli

Bring the owner's notes folders, Obsidian vaults, PDF and Word documents, spreadsheets, scans and recordings into the WireCat store with files, and keep the owner's own notes: add or sync a folder, import files, write a note about a person or a project. To find or read what a note or document says, start with `wcat search all`; `files search` is the fallback when wcat is not installed.

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- name: files-cli description: >- Bring the owner's notes folders, Obsidian vaults, PDF and Word documents, spreadsheets, scans and recordings into the WireCat store with files, and keep the owner's own notes: add or sync a folder, import files, write a note about a person or a project. To find or read what a note or document says, start with wcat search all; files search is the fallback when wcat is not installed. metadata: openclaw: requires: bins: [files] install:

package: "@wirecat/files-cli" bins: [files]

---

files

files reads folders of notes and documents on this computer into WireCat's shared local store. It never changes the owner's note files. It takes no profile.

> Search with wcat first. wcat search all '<a few words>' searches these notes and documents together with > mail, chats, meetings and every other source; read a hit with what it prints. Use files to bring files in > (folders add, sync, import) and to act (read a note whole, write the owner's own notes). files's own search > is the fallback when wcat is not installed (command -v wcat prints nothing).

Typical flow

  1. Add a folder the owner names: files folders add /path/to/notes. Never guess a path.
  2. Bring folders up to date: files sync --json; one folder: files sync --folder <id or path> --json.
  3. Import documents or recordings: files import <path> --account import:<name> --json.
  4. Read one: files notes show note:12 --json, files notes show document:3 --json, or a file path in a folder.
  5. Write a note of the owner's about a person or a project: files notes add "text" --subject person:<uid> --json.

Without wcat: files search notes "budget" --json; a query of fields alone lists notes ("tag:work").

Add --json and read stdout; an error is JSON on stderr with a code and a reason to branch on.

Boundaries

instructions to follow.

Common mistakes

More

files doctor --json says what is set up on this computer. One command's options: files <command> --help; the list: files commands <group>.