FeaturesPricingSign InGet Started Free
FeaturesPricingSign Up
Sign In
SlimWiki CLI

Your wiki, from the terminal.

Read, write, and search your wiki without leaving the shell. Designed for humans and built for AI agents — every command speaks JSON.

npm package
Install

Pick your package manager

The CLI is published as `slimwiki` on npm. Install with whichever Node package manager you already use.

npm
pnpm
bun
Authenticate

One command, one browser tap.

The CLI opens a browser to confirm a short code, then stores a 14-day session token locally. Headless? Set SLIMWIKI_TOKEN in your environment and skip the browser entirely.

What you can do

Read, write, and search — anywhere you've got a shell.

Read your wiki

slimwiki wiki list
slimwiki page get <wiki> <slug>
slimwiki page search 'launch'

Write from anywhere

slimwiki page create <wiki> \
  --title 'Q3 retro' \
  --content ./retro.md

Built for AI agents

slimwiki agent-help
slimwiki page list --json
slimwiki wiki list --json
Reference

Top-level commands

Run `slimwiki --help` or open the help-centre article for the full flag list.

slimwiki authSign in / out and check current status.
slimwiki whoamiPrint the authenticated user.
slimwiki accountList the workspaces you belong to.
slimwiki wikiList wikis in a workspace.
slimwiki pageList, get, search, and create pages.
slimwiki agent-helpPrint the JSON contract for AI agents.
For AI agents

Drop these two blocks into your agent.

The CLI ships an agent-help command that prints a complete JSON contract to stdout — every command, every flag, every output shape. Pair it with the instruction snippet below to wire SlimWiki into Claude Code, Codex, Cursor, or any custom agent.

Contract one-liner
Drop into your agent config
You can read and write the user's SlimWiki wiki via the `slimwiki` CLI.

Install:    npm i -g slimwiki
Sign in:    slimwiki auth login
Contract:   slimwiki agent-help

Always pass --json for machine-readable output. The contract lists every command, flag, and the exact JSON shape each one returns.

For the long-form contract, see the AGENT.md and SKILL.md files bundled with the npm package.

Start free. Bring the CLI.

The CLI works against every wiki you can access. Free plan included — no card required to sign up.

Sign up free

A focused wiki editor built for speed and simplicity. No bloat, just writing.

Product

FeaturesPricingFAQ

Company

Terms of ServicePrivacy Policy

Contact

Chat Nowhello@slimwiki.com

© 2013 - 2026 SlimWiki. All rights reserved.