Loading...
Loading...
AE/TE knowledge base CLI manual for creating, querying, LLM-powered ask, listing accessible knowledge bases, deterministic index/grep/read retrieval, checking status, uploading, compiling, schema generation, URL sources, source deletion, and knowledge base deletion. Use when the user asks to manage TE/AE/ThinkingEngine knowledge bases, upload documents or URLs to a knowledge base, query knowledge, ask knowledge bases with an LLM, list accessible knowledge bases, inspect knowledge base indexes, search knowledge base pages, read a specific knowledge base page, check knowledge base status, generate schemas, compile knowledge, remove sources, or delete a knowledge base. Must use ae-cli kb commands and must not guess knowledge base names, scopes, page paths, source display names, JSON payload shapes, or URL formats.
npx skill4agent add thinkingaiagenticengine/ae-cli ae-kbae-cliae-cli kb +<command> [options]--dry-run--format table_notice.host_compat--host <url>ae-cli kb +<command> --host <url>ae-cli_notice.host_compatnpm i -gnpx skills addok: true+index+grep+read+ask| Command | Risk | Purpose |
|---|---|---|
| read | Query one or more knowledge bases with a natural-language question. |
| read | LLM-powered Q&A over knowledge bases. Consumes platform tokens. |
| read | List accessible knowledge bases filtered by buildStatus (default: compiled). |
| read | List accessible knowledge bases and their |
| read | Keyword-search knowledge base pages and return matched lines with context. |
| read | Read a full knowledge base page or a line window. |
| write | Create a new personal or company knowledge base. |
| write | Upload local files, a non-recursive directory, or HTTP(S) pages converted to markdown. |
| write | Upload a URL source directly with optional display name and parsing instruction. |
| write | Generate the compile schema for a knowledge base. |
| write | Compile a knowledge base in incremental or full mode. |
| read | Query the current status of a knowledge base. |
| write | Delete one source file from a knowledge base by display name. |
| write | Delete an entire knowledge base. |
+new--scopecompanypersonalcompanyae-cli kb +new \
--scope company \
--name engineering-handbook \
--description "Engineering handbook" \
--tags '["engineering","handbook"]'--scopecompany--description--tags--project-id--project-name+addae-cli kb +add \
--name engineering-handbook \
--files '["./README.md","./docs","https://example.com/guide"]'--fileshttp://https://name-1.extname-2.ext+urlae-cli kb +url \
--name engineering-handbook \
--url https://example.com/guide \
--display-name guide \
--parse-instruction "Keep headings and code blocks"--urlhttp(s)ae-cli kb +schema --name engineering-handbook--forcegenerating--modelae-cli kb +compile --name engineering-handbook --mode incrementalincrementalfullincremental+statusae-cli kb +status --name engineering-handbook+queryae-cli kb +query \
--query "How do we release a dashboard?" \
--sources '[{"scope":"company","name":"engineering-handbook"}]' \
--top-k 10 \
--locale zh--sourcesscopepersonalcompanyname+ask+index+grep+readae-cli kb +ask \
--question "How do we troubleshoot payment alerts?" \
--sources '[{"scope":"company","name":"engineering-handbook"}]' \
--model-id claude-sonnet-4-6 \
--max-turns 50 \
--locale zh--question-q--sources--model-id--max-turns--localezhenjako+listindex.mdbuildStatus: compiledae-cli kb +list
ae-cli kb +list --locale zh
ae-cli kb +list --build-status compiled+list+index+indexae-cli kb +listae-cli kb +index \
--sources '[{"scope":"company","name":"engineering-handbook"}]'+grepae-cli kb +grep \
--query "sandbox configuration" \
--sources '[{"scope":"company","name":"engineering-handbook"}]' \
--top-k 10+readae-cli kb +read \
--source '{"scope":"company","name":"engineering-handbook"}' \
--path "wiki/sandbox.md" \
--offset 1 \
--limit 200+list--build-statuscompiled--localebuildStatusindex.md+index--sources--locale--sources+grep--query-q--sources--top-k--locale+read--source--path--offset--limit--locale--path+index+grep+rm-sourceae-cli kb +rm-source \
--name engineering-handbook \
--display-name kb-1780046712-guide.md+removeae-cli kb +remove --name engineering-handbook+queryae-cli kb +query --query "<question>" [--sources '[{"scope":"company","name":"kb-name"}]'] [--top-k 10] [--locale zh|en|ja|ko]--query-q--sources--top-k--localezhenjako+askae-cli kb +ask --question "<question>" [--sources '[{"scope":"company","name":"kb-name"}]'] [--model-id claude-sonnet-4-6] [--max-turns 50] [--locale zh|en|ja|ko]--question-q--sources--model-id--max-turns--localezhenjako+index+grep+read+listae-cli kb +list [--build-status compiled] [--locale zh|en|ja|ko]--build-statuscompiled--localezhenjakobuildStatus+indexae-cli kb +index [--sources '[{"scope":"company","name":"kb-name"}]'] [--locale zh|en|ja|ko]--sources--localezhenjako+grepae-cli kb +grep --query "<keywords>" [--sources '[{"scope":"company","name":"kb-name"}]'] [--top-k 10] [--locale zh|en|ja|ko]--query-q--sources--top-k--localezhenjako+readae-cli kb +read --source '{"scope":"company","name":"kb-name"}' --path "index.md" [--offset 1] [--limit 200] [--locale zh|en|ja|ko]--source--pathindex.mdwiki/concepts/data-model.md--offset--limit--localezhenjako+newae-cli kb +new --name "<name>" [--scope personal|company] [--description "..."] [--tags '["t1","t2"]'] [--project-id "..."] [--project-name "..."]+addae-cli kb +add --name "<name>" --files '["./a.md","./docs","https://example.com/page"]'+urlae-cli kb +url --name "<name>" --url "https://example.com/page" [--display-name "..."] [--parse-instruction "..."]+schemaae-cli kb +schema --name "<name>" [--force] [--model "<model displayName>"]+compileae-cli kb +compile --name "<name>" [--mode incremental|full]+statusae-cli kb +status --name "<name>"+rm-sourceae-cli kb +rm-source --name "<name>" --display-name "<uploaded source display name>"+removeae-cli kb +remove --name "<name>"