Introduction
Bring Ancher into your workflow — from a coding agent or from your terminal.
Ancher is your personal knowledge base and research assistant. These docs cover the two ways to reach it from a developer workflow: Agent Skills, which give a coding agent direct access to your knowledge base, and the CLI, which puts Ancher in your terminal.
The two are independent. Install either one, or both — the Quickstart walks through each in a few commands.
Agent Skills
Give Claude Code, Codex, or Cursor the skills and hosted MCP server to work with your Ancher knowledge base.
npx -y @ancher-ai/agent-skills installThe installer finds Claude Code, Codex, and Cursor, then configures the ones it finds. It does not install a local server or require an API token. Start at Agent Skills installation.
CLI
A terminal-friendly interface for saving, searching, organizing, and creating from your knowledge base.
npm install -g @ancher-ai/cli
ancher loginCommands that return a record or a page print JSON; the ones that don’t — action confirmations, raw content, streamed chat prose, api passthrough — are spelled out per kind under Output. All of them authenticate from an environment variable and reject an unknown flag before a request leaves your machine, so one interface serves a person at a prompt, a CI job, and an AI agent equally well. Start at CLI installation.
Which one do I want?
| If you want to | Use |
|---|---|
| Have your coding agent save and search Ancher content | Agent Skills |
| Work with Ancher yourself, from a terminal | CLI |
| Script Ancher in CI | CLI, with ANCHER_API_TOKEN |
Agent Skills works without the CLI, because the agent talks to the hosted MCP server rather than shelling out.