ae-kb — Claude Code skill: AE knowledge bases via ae-cli
A skill that teaches the agent the ae-cli kb commands: page retrieval, LLM ask, source uploads and compiling.
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-kb -a claude-codeWhat ae-kb does
This skill is a manual for ae-cli kb. Answering a question from a knowledge base is the everyday case, and for that it points the agent at +index, +grep and +read. Those three run server-side and involve no LLM, so a plain factual lookup stays cheap. Reach for +ask when the answer has to be assembled from several pages or needs a chain of steps.
Management is covered too. +new creates a base, +import takes a compiled Markdown ZIP as a read-only snapshot, +add and +url bring in local files, a directory or web pages, and source create-text writes an ordinary text source. Edits are revision-aware: source read-text hands back the text with its revision, while replace, restore, commit and cancel operate on drafts. +schema, +compile and +list-sources round it out.
The skill forbids guessing base names, scopes, page paths, source IDs and JSON shapes — pull them from +list or ask. Writes need explicit intent, and high-risk-write commands carry a CLI confirmation, so --yes belongs only after the user authorises it. --dry-run is the suggested first move before a broad or destructive write. Picking which base deserves a search is a separate job: ae-kb-discovery runs first, and this skill does the retrieval once a target exists.
What it helps with
- pull an answer out of knowledge base pages without browsing them by hand
- upload documents and URLs into an AE knowledge base
- ask several knowledge bases at once and get a combined answer
- inspect indexes and source metadata before touching anything
- swap a source draft and roll it back if the edit goes wrong
Example prompts for the agent
- Search the knowledge base for what we wrote about rate limits
- Upload
spec.mdto the knowledge base and list its sources - Ask the knowledge base how staging differs from production
How to install ae-kb
1Skills CLI (Vercel)
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-kb -a claude-code2Manually: put the files in place
~/.claude/skills/ae-kb/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/ae-kb/
1Skills CLI (Vercel)
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-kb -a codex2Manually: put the files in place
.agents/skills/ae-kb/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-kb -a cursor2Manually: put the files in place
.cursor/skills/ae-kb/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ThinkingAIAgenticEngine/ae-cli ae-kb2Manually: put the files in place
.github/skills/ae-kb/SKILL.md1Skills CLI (Vercel)
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-kb -a gemini-cli2Platform CLI
gemini skills install https://github.com/ThinkingAIAgenticEngine/ae-cli --path skills/ae-kbManually: put the files in place
.devin/skills/ae-kb/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-kb -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about ae-kb
How do I install ae-kb in Claude Code?
Run npx skills add ThinkingAIAgenticEngine/ae-cli --skill ae-kb -a claude-code. The skill file then lands at ~/.claude/skills/ae-kb/SKILL.md.
What does ae-kb do?
It gives the agent the ae-cli kb command set: creating bases, importing snapshots, uploading sources, page retrieval, LLM ask and compiling.
Which commands handle a simple lookup?
+index, +grep and +read cover factual lookups and stay LLM-free. +ask is for questions that span multiple pages.