CLI Commands Manual
CLI Commands Manual
Document Management (doc)
# List documents with optional category/tag filtersagentwiki doc list [--limit 20] [--offset 0] [--category <cat>] [--tag <tag>] [--json]
# Get document by ID or slugagentwiki doc get <id-or-slug> [--json]
# Create documentagentwiki doc create --title "Title" --content "Markdown text" [--folder-id <id>]
# Update document contentagentwiki doc update <id> --content "Updated markdown"
# Delete documentagentwiki doc delete <id>Search (search)
agentwiki search "query term" [--type hybrid|keyword|semantic] [--source docs|storage|all] [--limit 10]Folders & Tags (folder, tag)
agentwiki folder list [--tree]agentwiki folder create --name "Folder Name" [--parent <parent-id>]agentwiki tag listMeme collection (meme)
Memes are never extracted, summarized, searched, or sent to an agent’s context.
agentwiki meme upload cat.gif --description "Cat falling off a desk" [--folder <id>] [--private] [--json]agentwiki meme list [--search "cat"] [--limit 50] [--json]agentwiki meme add <upload-id> # existing file becomes a meme (its extracted text, summary, and vectors are deleted)agentwiki meme remove <upload-id> # back to ordinary knowledge (extraction runs again)Check the wiki against code (check)
Your own agent verifies pages against a local repository; no credits.
agentwiki check [project] --path <repo> [--page deploy,billing] > check.mdagentwiki check [project] --propose <slug> --file page.md --path <repo> (--brief check.md | --expected-version <n>) [--change "what changed"]agentwiki check [project] --report findings.json--propose needs the page version the check read. Cited files must be git-tracked text without secrets and not credentials files; AgentWiki pushes them as Sources titled <path> @ <short sha>, replaces the markers with [src:<id>], and sends the page to the review queue. Check corrections always wait for a person.
Reports from agent kits (report)
agentwiki report publish report.md [--project <slug>] [--title "..."] [--origin agentkit] [--origin-ref ak-advise:<repo>/<topic>] [--json]Accepts .md, .markdown, .txt, .html, .htm up to 512 KB. A report is identified by project, origin, and --origin-ref: republishing with the same reference replaces the older version even under another file name (default reference report:<project>/<path in the repository>). --json includes the Source url.
agentwiki upload list [--collection none|meme|all] # default none: memes only when askedStatic Sites (sites)
agentwiki sites upload <file-path> [--title "Site Title"] [--description "Desc"]agentwiki sites listagentwiki sites get <id>agentwiki sites delete <id>Secrets (secrets)
The web app no longer manages secrets; new secrets belong in AgentKit’s ak secrets. These commands keep working so you can export what you stored (Secrets → ak secrets).
agentwiki secrets list [--env dev] [--path /]agentwiki secrets set <key> <value> [--env dev] [--kind secret|value]agentwiki secrets reveal <id> --reason "Audited deployment action"agentwiki secrets export --env dev [--path /] [--reveal --reason "move to ak secrets"]