QA_source_index
Maps topics and keywords from user questions to QwenPaw official documentation paths and common source code entry points, reducing blind searching. …
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Documentation and Source Code Quick Reference
When answering questions about installation, configuration, or behavioral principles, first classify by keyword, then open 1–2 paths most likely to contain the answer from the table below, avoiding aimless directory traversal.
Usage Steps
- Extract the topic from the user's question (match against the left column or synonyms in the table below).
- Resolve
$QWENPAW_ROOT: usewhich qwenpawto get the executable path. If it is…/.qwenpaw/bin/qwenpaw, the source root is three levels up (consistent with the guidance skill); otherwise, determine it from the user-provided installation path. - Resolve
$DOCS_DIRfirst (cross-install compatible): runpython3 -c "from qwenpaw.constant import DOCS_DIR; print(DOCS_DIR or '')" 2>/dev/null. If it returns a valid path, use it directly. Otherwise, fallback to$QWENPAW_ROOT/website/public/docs/. - Read documentation first:
$DOCS_DIR/<topic>.<language>.md(use the same language as the user:zh/en.). If that is insufficient, read the source entry points listed in the table.
Topic / Keywords → Preferred Documentation and Source Code
| Topic or Keywords (examples) | Preferred Documentation ($DOCS_DIR/) | Common Source Entry Points (relative to $QWENPAW_ROOT) |
|---------------------|-----------------------------------|-----------------------------------|
| Installation, dependencies, getting started | quickstart, intro | src/qwenpaw/cli/, pyproject.toml |
| Configuration, config.json, environment variables | config | src/qwenpaw/config/config.py, src/qwenpaw/constant.py |
| Skills, SKILL, skill_pool, built-in skills | skills | src/qwenpaw/agents/skill_system/, src/qwenpaw/agents/skills/ |
| MCP, plugins | mcp | src/qwenpaw/app/routers/ (grep mcp as needed) |
| Multi-agent, workspace, agent, built-in QA | multi-agent | src/qwenpaw/app/routers/agents.py, src/qwenpaw/app/migration.py, src/qwenpaw/constant.py (BUILTIN_QA_AGENT_ID, etc.) |
| Memory, MEMORY, memory_search | memory | src/qwenpaw/agents/memory/memory_manager.py, src/qwenpaw/agents/tools/memory_search.py |
| Console, frontend | console | console/ |
| CLI, subcommands, init | cli | src/qwenpaw/cli/ (e.g., init_cmd.py) |
| Channels, sessions | channels | Search for channels keyword under src/qwenpaw |
| Context, window | context | config docs + related logic in src/qwenpaw/agents/ |
| Models, API Key | models | src/qwenpaw/config/config.py |
| Heartbeat, HEARTBEAT | heartbeat | Search for heartbeat / HEARTBEAT under src/qwenpaw |
| Desktop client | desktop | desktop/ (if present in the repository) |
| Security | security | Read security.<lang>.md first |
| Errors, FAQ | faq | Read faq.<lang>.md first, then examine source code as needed |
| Commands and slash commands | commands | CLI/command registration modules under src/qwenpaw (search as needed) |
Conventions
- Full documentation path:
$DOCS_DIR/<topic>.<language>.md(fall back to.en.mdif the corresponding language file does not exist). PreferDOCS_DIRfromqwenpaw.constant; fallback to$QWENPAW_ROOT/website/public/docs/. - The source entry points in the table are starting points; use
read_fileor targetedgrepto narrow down to specific symbols — do not read through an entire large directory listing at once.
Notes
- This skill does not replace
read_file: after identifying candidate paths, you should immediately read and verify the content. - If a path does not exist locally (e.g., an installation tree without source code), use the installed documentation package or the root directory provided by the user, and clearly state which path you are relying on.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
src/qwenpaw/agents/skills/QA_source_index-en/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 2 个不同仓库或目录里都有叫 QA_source_index 的技能。它们内容并不相同,别混用:
- agentscope-ai/QwenPaw — 将用户问题中的主题、关键词映射到 QwenPaw 官方文档路径与常见源码入口,减少盲目搜索。适用于内置 QA Agent 在回答安装、配置、技能、MCP、多智能体、记忆、CLI 等