Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

ae-kb-discovery

БесплатноБез исполняемых скриптовНе проверен

Discover which AE/TE/ThinkingEngine knowledge bases accessible to the current user are worth searching, and decide whether to search at all, through read-only…

infometaот infometa★ 475 звёзд на GitHub

Об этом скилле

Knowledge Base Discovery

Treat knowledge bases as an optional source of internal facts and business context. Keep the user's original goal unchanged; knowledge base retrieval is a supporting workflow, not the task itself.

This skill decides whether to use a knowledge base and which knowledge base is worth searching. The retrieval procedure itself — inspecting the index, grep, reading sections, and optional LLM synthesis — lives in the ae-kb skill (references/query-workflow.md). Discover here, then hand off to ae-kb to execute.

Decide Whether to Use This Skill

Use this skill when:

  • The user explicitly asks to search a knowledge base, internal documentation, or company materials.
  • The task requires organization-specific facts or context, such as product design and rules, events, campaign or operations calendars, release and iteration records, workflows, policies, or terminology.
  • Internal context is needed to explain data analysis results, anomalies, or trends and form evidence-backed conclusions.
  • The knowledge base context currently available does not cover the question, and discovering other accessible sources has clear value.

Do not use this skill when:

  • The user explicitly asks not to use knowledge bases.
  • The task only requires querying real-time state or performing an operation and does not need document context.
  • General knowledge is sufficient for a reliable answer and internal evidence would not materially improve it.

Discovery Workflow

1. Get the List of Accessible Knowledge Bases

First, get the lightweight list of knowledge bases accessible to the current user:

ae-cli kb +list

Use the exact scope and knowledge base name returned by the command, together with available metadata such as description, tags, language, and bindings. A binding identifies an associated context through targetType, targetId, and optional targetName. Do not guess a name, scope, or binding. Treat metadata returned by +list only as input for candidate selection, not as evidence from knowledge base content.

If +list is unavailable or fails, do not guess which knowledge bases exist. If the user explicitly requested a knowledge base search, explain that discovery cannot currently be completed. Otherwise, return to the original task and reassess the capabilities currently available.

2. Rank Candidate Knowledge Bases

Rank candidates in this order:

  1. Prefer a knowledge base explicitly named by the user. Use the exact name and scope returned by +list, regardless of whether it has a matching binding.
  2. Prefer candidates whose bindings exactly match the current session context. Match targetType: project against the current analysis project ID, targetType: space against the current community space ID, and targetType: dwSpace against the current digital workspace code.
  3. For the remaining candidates, compare the user's request with the knowledge base name, description, and tags. Use language only as a preference between candidates with similar relevance; language alone does not establish relevance.

Compare targetId with the corresponding current ID or code first. Use targetName only as a secondary signal when an ID or code is unavailable; do not replace a conflicting ID match with a name match. A candidate with no bindings or no current-context match remains eligible for semantic ranking. A binding to another project or space lowers implicit priority but does not exclude the candidate, and an explicit user choice still takes precedence.

Select one preferred knowledge base by default. When several candidates are highly relevant, retain no more than three and try them one at a time in priority order. Do not read the indexes of all candidates in advance. A binding, name, description, tag, or language match only indicates that a knowledge base is worth searching; it does not prove a content match, grant access, or count as knowledge base evidence.

3. Hand Off to Retrieval

Once a preferred knowledge base is selected, hand off to the ae-kb skill and follow its references/query-workflow.md for the entire retrieval procedure — including when +ask is appropriate.

Assess Coverage

  • Full coverage: The page content read supports the key conclusions required for the information request or analysis.
  • Partial coverage: The page content read provides only background, definitions, or partially relevant facts and cannot independently support the required conclusions.
  • No coverage: No suitable candidate knowledge base exists, or +grep and +read return no content that can support the conclusions.

A candidate returned by +list, navigation returned by +index, a successful command, a tool call, or a metadata match does not count as a knowledge base hit. Only relevant page content that has actually been read can serve as knowledge base evidence.

Use Knowledge Base Evidence in Analysis

When using internal context to explain data analys

Полный SKILL.md на GitHub

Установить ae-kb-discovery в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл ae-kb-discovery?

Discover which AE/TE/ThinkingEngine knowledge bases accessible to the current user are worth searching, and decide whether to search at all, through read-only operations. Use when the user explicitly asks to search knowledge bases, internal documentation, or company materials. Also use when a task requires internal facts or business context, including product design and rules, events, campaign or operations calendars, release and iteration records, workflows, policies, and terminology; use it as well when this context is needed to explain data analysis results, anomalies, or trends and form evidence-backed conclusions. Do not use if the user explicitly asks not to access knowledge bases. This skill covers discovery and candidate selection; run the actual `+index` / `+grep` / `+read` / `+ask` retrieval with the `ae-kb` skill.

Как установить скилл ae-kb-discovery?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл ae-kb-discovery запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить ae-kb-discovery с