ae-kb
FreeNo executable scriptsNot checkedAE knowledge base CLI manual for creating, importing read-only compiled snapshots, querying, LLM-powered ask, listing accessible knowledge bases and their…
by ThinkingAIAgenticEngine★ 24 GitHub starsAbout this skill
ae-kb
Cross-skill collaboration
When remaining work is outside this skill's scope, or a necessary prerequisite needs another capability, follow the collaboration protocol. Choose from the skills available in this run by capability, preserve verified context, and continue the remaining task. Reuse this protocol if already loaded.
AE CLI (ae-cli) knowledge base commands are invoked through:
ae-cli kb +<command> [options]
ae-cli kb source <create-text|read-text|replace|restore|preview|commit|cancel|check-updates|check-url-updates> [options]
Formal publication and pinned reads
Read Publication and read contexts for company approval, personal auto-publication, candidate inspection and changed-only approval previews (kb candidate changes), explicit published queries, or consistent multi-command retrieval. Compile success can mean a candidate awaiting approval; use kb publication get to verify formal publication. Never treat the working build status as proof that the formal version changed.
Global Rules
- Use this skill for AE knowledge base tasks: create, import a compiled snapshot, query, ask with LLM, list accessible knowledge bases and their sources, inspect indexes, grep pages, read pages, check status, upload sources, add URL sources, generate schema, compile, remove source files, and delete knowledge bases.
- Searching a knowledge base for an answer is the most common task. If that is what you are doing, go straight to Explore Knowledge Base Pages and read
references/query-workflow.mdfirst — it is the retrieval procedure. The other commands below are for managing knowledge bases, not answering from them. - When retrieved pages will guide project-scoped business data analysis, read and follow
references/analysis-workflow.mdbefore running any data query. This is mandatory after a KB hit identifies an asset, definition, parameter, time rule, conflict, or decision boundary. Verify semantic coverage before execution; a related page or KB limitation is not task completion. Continue ordinary analysis for uncovered requirements without jumping directly to unverified ad-hoc analysis or SQL. - Read operations can run directly after required inputs are known. Write operations require explicit user intent. Only
high-risk-writecommands require the CLI confirmation prompt; use--yesafter explicit authorization. - Prefer
--dry-runbefore destructive or broad writes when the user has not already validated the target. - Do not invent knowledge base names, scopes, source IDs, source display names, or JSON payloads. Ask the user or query known context when values are missing.
- When building a
--sourcesref (or+read --source), copy the exactscopeand displaynamefrom trusted active-source context or+listoutput. Runae-cli kb +listwhen neither supplies the exact scope and name; never use a slug as the display name. - JSON flags must be valid JSON strings, usually wrapped in single quotes in shell commands.
- Successful commands return JSON by default. Use
--format tableonly when a table is easier for a human to scan. Envelope may include optional_notice.host_compat. --host <url>overrides the active AE host. It is available on every command and may be placed after the subcommand, e.g.ae-cli kb +<command> --host <url>.- CRITICAL — Host compat (do this first): After each
ae-clirun, check stderr and_notice.host_compat. If either is present, open the user reply with a short ⚠️ version warning and quote thenpm i -g/npx skills add(or update-cluster) lines verbatim, then present the business result. Soft tip;ok: truecan still carry the notice. - Retrieval (
+index/+grep/+read) is deterministic and server-side LLM-free; use it for simple factual lookups. Use+askwhen the question requires synthesizing across multiple pages or multi-hop reasoning.
Commands
| Command | Risk | Purpose |
|---|---|---|
source create-text |
write | Create one ordinary Markdown source from text, UTF-8 file or explicit stdin; saves without compiling. |
source read-text |
read | Read complete ordinary text with its corresponding revision; optionally save original UTF-8 bytes to a new file. |
source check-url-updates |
write | Submit an asynchronous check for one compiled custom URL source; success means accepted only. |
source check-updates |
write | Check one compiled Feishu source with the scheduled detector; mark changes without compiling. |
+ask |
read | LLM-powered Q&A over knowledge bases; for multi-page synthesis or multi-hop questions. |
+ask-status |
read | Query an ask execution, or revisit its original versioned citation with --source-index. |
project-target get |
read | Resolve the authoritative company project semantic target by |
Install ae-kb in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the ae-kb skill do?
AE knowledge base CLI manual for creating, importing read-only compiled snapshots, querying, LLM-powered ask, listing accessible knowledge bases and their sources, deterministic index/grep/read retrieval, checking status, ZIP source upload and directory management, raw child-file reading, revision-checked child updates and deletion, compiling, schema generation, URL sources, source deletion, ordinary text source creation, full reads and revision-checked editing, file/ZIP source draft replacement and restoration, and knowledge base deletion. Use when the user asks to manage AE (Agentic Engine) knowledge bases, import a compiled Markdown ZIP snapshot, upload documents or URLs to a knowledge base, query knowledge, ask knowledge bases with an LLM, list accessible knowledge bases or source metadata, inspect knowledge base indexes, search knowledge base pages, read a specific knowledge base page, check knowledge base status, generate schemas, compile knowledge, remove sources, create or edit text sources, or delete a knowledge base. For automatic project semantic retrieval, use the exact KB resolved by ae-analysis. Use ae-kb-discovery when the task requires choosing a KB. Must use ae-cli kb commands and must not guess knowledge base names, scopes, page paths, source IDs, source display names, JSON payload shapes, or URL formats.
How do I install the ae-kb skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the ae-kb skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic