QA_source_index-en
Maps topics and keywords from user questions to QwenPaw official documentation paths and common source code entry points,…
Answer user questions about QwenPaw installation and configuration: first locate and read local documentation, then distill the answer; if local information is insufficient, fall back to the official website documentation.
$ npx -y skills add agentscope-ai/skills --skill guidance-en --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/guidance-enContext preview
The summary Claude sees to decide when to auto-load this skill.
Answer user questions about QwenPaw installation and configuration: first locate and read local documentation, then distill the answer; if local information is insufficient, fall back to the official website documentation.
name: guidance
description: "Answer user questions about QwenPaw installation and configuration: first locate and read local documentation, then distill the answer; if local information is insufficient, fall back to the official website documentation."
metadata:
builtin_skill_version: "1.2"
qwenpaw:
emoji: "🧭"
requires: {}Use this skill when the user asks about **QwenPaw installation, initialization, environment configuration, dependency requirements, or common configuration options**.
Core principles:
**Check for documentation directory in memory**
First, check whether there is a documentation directory in memory. If found, use it directly; otherwise, proceed to the next step.
# Get the documentation directory from memory DOC_DIR=$(find ~/.qwenpaw/memory/ -type d -name "docs")
If there is no documentation directory in memory, continue with the following logic.
**Check the documentation directory in the project source code**
Run the following script logic to obtain the variable $QWENPAW_ROOT:
# Get the absolute path of the binary
COP_PATH=$(which qwenpaw 2>/dev/null || whereis qwenpaw | awk '{print $2}')
# Logical deduction: if the path contains .qwenpaw/bin/qwenpaw, the root is three levels up
# Example: /path/to/QwenPaw/.qwenpaw/bin/qwenpaw -> /path/to/QwenPaw
if [[ "$COP_PATH" == *".qwenpaw/bin/qwenpaw" ]]; then
QWENPAW_ROOT=$(echo "$COP_PATH" | sed 's/\/\.qwenpaw\/bin\/qwenpaw//')
else
# Fallback: try to get the parent of the parent directory
QWENPAW_ROOT=$(dirname $(dirname "$COP_PATH") 2>/dev/null || echo ".")
fi
echo "Detected QwenPaw Root: $QWENPAW_ROOT"Verify and list the documentation directory: Use the derived $QWENPAW_ROOT to locate the documentation:
# Construct the standard documentation path
DOC_DIR="$QWENPAW_ROOT/website/public/docs/"
# Check if the path exists and list files
if [ -d "$DOC_DIR" ]; then
find "$DOC_DIR" -type f -name "*.md" | head -n 100
else
# If the derived path is incorrect, perform a global fuzzy search
find "$QWENPAW_ROOT" -type d -name "docs" | grep "website/public/docs"
fi**If project documentation does not exist, search the working directory**
If documentation is still not found, search for available documentation content under the qwenpaw installation path:
# Look for characteristic files such as faq.en.md or config.zh.md
FILE_PATH=$(find . -type f -name "faq.en.md" -o -name "config.zh.md" | head -n 1)
if [ -n "$FILE_PATH" ]; then
# Use dirname to get the directory containing the file
DOC_DIR=$(dirname "$FILE_PATH")
fiIf a documentation directory is found, save it in memory in this format:
# Documentation Directory $DOC_DIR = <doc_path>
Documentation files follow the naming format `<topic>.<lang>.md` (e.g., `config.zh.md`, `config.en.md`, `quickstart.zh.md`).
Use the find command to list all matching documents in the target directory, and identify the target as <doc_path> based on filename keywords (e.g., install, env, setup).
# List all matching documents find $DOC_DIR -type f -name "*.md"
If no suitable document is found, read all documentation contents in the next step.
After finding candidate documents, read and identify the paragraphs relevant to the question. You can use:
If the documentation is long, prioritize reading the sections most relevant to the question (installation steps, configuration options, example commands, notes, version requirements).
Extract key information from the documentation and organize it into an actionable answer:
Language requirement: the answer language must match the language of the user's question (answer in Chinese if asked in Chinese, answer in English if asked in English).
If the previous steps cannot be completed (no local documentation, missing documentation, or insufficient information), use the official website as a fallback:
Answer based on the content available from the official website, and clearly state in the answer that the conclusion comes from the official website documentation.
A curated collection of skills around AgentScope ecosystem and QwenPaw applications — ready to be installed into AI coding assistants like Claude Code, Cursor, and more.
Maps topics and keywords from user questions to QwenPaw official documentation paths and common source code entry points,…
将用户问题中的主题、关键词映射到 QwenPaw 官方文档路径与常见源码入口,减少盲目搜索。适用于内置 QA Agent 在回答安装、配置、技能、MCP、多智能体、记忆、CLI 等问题时快速选定要读的文件。
Build and debug Python applications using AgentScope 2.x. Consult this skill for AgentScope APIs, agent tools, multi-agent…
Use this skill when the user explicitly wants to connect to a running Chrome browser, scan local CDP ports, specify a `cdp_port`,…
当用户明确希望连接到已运行的 Chrome 浏览器、扫描本地 CDP 端口、显式指定 `cdp_port`,或让多个 agent / 工具共享同一个浏览器时,使用本 skill。当前 browser_use 默认已使用 managed CDP…
Use this skill when the user needs to control the browser launch mode for browser_use. By default, browser_use launches the local…