OpenParable
Skip to content
← Back to skills

Knowledge Query

Research
knowledge-query

Knowledge Query is an Agent Skill for research published in the LeoYeAI/openclaw-master-skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

检索知识库并返回相关知识条目。支持语义搜索,按相关性排序,可指定 token 预算控制返回量。

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/LeoYeAI/openclaw-master-skills/blob/HEAD/skills/kivo/skill/query/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/knowledge-query, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

KnowledgeQuerySkill — 知识查询

基于语义搜索检索知识库,返回与查询最相关的知识条目。

触发词

查知识、搜索记忆、搜索知识库、你知道关于、查一下之前的决策、有没有相关经验、你还记得、recall、query knowledge、search knowledge、what do you know about

使用方式

# 查询相关知识(默认 budget 2000 tokens)
tsx scripts/query.ts --query "用户的交付偏好"

# 指定 token 预算
tsx scripts/query.ts --query "架构决策" --budget 4000

核心路径

src/search/semantic-search.ts → src/repository/knowledge-repository.ts