Skip to content
Back to skills

Query

ASecurity

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

  • 2,237 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 6, 2026
ai-agentsbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add LeoYeAI/agent-master-skills --skill query --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Query?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Query
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leoyeai-query-agent-master-skills/badge)](https://www.skillsdirectory.com/skills/leoyeai-query-agent-master-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: knowledge-query
description: "检索知识库并返回相关知识条目。支持语义搜索,按相关性排序,可指定 token 预算控制返回量。"
---

# KnowledgeQuerySkill — 知识查询

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

## 触发词

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

## 使用方式

```bash
# 查询相关知识(默认 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`

Files in this skill

  • SKILL.md817 B
  • scripts/query.ts2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.