con un clic
guidance
// 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.
// 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.
Use this skill when sedimenting a session into a reusable workspace skill. Triggers when the user wants to turn the current conversation, workflow, or troubleshooting path into a SKILL.md. Phrases like 'turn this into a skill', 'remember how I did X', 'save this workflow', 'make a skill from this', and any /make-skill <focus> invocation should fire this skill.
用于把当前会话沉淀为可复用的 workspace skill。当用户希望把当前对话、工作流或排错路径写成 SKILL.md 时触发。触发表达包括「把这个变成 skill」「记住我是怎么做 X 的」「保存这个工作流」「make a skill from this」以及任何 /make-skill <focus> 调用。
Use this skill only for scheduled or recurring tasks. Manage jobs with qwenpaw cron list/create/get/state/pause/resume/delete/run, and always pass --agent-id explicitly.
仅在需要未来定时执行或周期执行任务时,使用本 skill。使用 qwenpaw cron list/create/get/state/pause/resume/delete/run 管理任务,并始终显式传入 --agent-id。
回答用户关于 QwenPaw 安装与配置的问题:优先定位并阅读本地文档,再提炼答案;若本地信息不足,兜底访问官网文档。
Maps topics and keywords from user questions to QwenPaw official documentation paths and common source code entry points, reducing blind searching. Intended for the built-in QA Agent to quickly identify which files to read when answering questions about installation, configuration, skills, MCP, multi-agent, memory, CLI, etc.
| 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.3","qwenpaw":{"emoji":"🧭","requires":{}}} |
Use this skill when the user asks about QwenPaw installation, initialization, environment configuration, dependency requirements, or common configuration options.
Core principles:
Use built-in path resolution (works for all install methods)
DOCS_DIR=$(python3 -c "from qwenpaw.constant import DOCS_DIR; print(DOCS_DIR or '')" 2>/dev/null)
If the above returns a non-empty path and the directory exists, use it directly and skip to Step 2.
If it fails (e.g., older version without DOCS_DIR), fall back in the following order:
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
DOCS_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
QWENPAW_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 [[ "$QWENPAW_PATH" == *".qwenpaw/bin/qwenpaw" ]]; then
QWENPAW_ROOT=$(echo "$QWENPAW_PATH" | sed 's/\/\.qwenpaw\/bin\/qwenpaw//')
else
# Fallback: try to get the parent of the parent directory
QWENPAW_ROOT=$(dirname $(dirname "$QWENPAW_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
DOCS_DIR="$QWENPAW_ROOT/website/public/docs/"
# Check if the path exists and list files
if [ -d "$DOCS_DIR" ]; then
find "$DOCS_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
DOCS_DIR=$(dirname "$FILE_PATH")
fi
If a documentation directory is found, save it in memory in this format:
# Documentation Directory
$DOCS_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 $DOCS_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:
cat <doc_path>file_reader skill (recommended for longer documents or paginated reading)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.