Skip to content
cccskills
FreePublished on GitHub

guidance

Get answers about installing and configuring QwenPaw from locally available documentation, with official documentation as a fallback. The skill turns relevant passages into practical steps, commands, and configuration examples in the language of your question.

OriginalShow the original description

回答用户关于 QwenPaw 安装与配置的问题:优先定位并阅读本地文档,再提炼答案;若本地信息不足,兜底访问官网文档。

See how to install

Good for

  • Check QwenPaw installation steps
  • Find initialization and environment setup instructions
  • Look up dependencies and configuration options
  • Check documentation for version differences

Files included (1)

  • SKILL.md4.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

QwenPaw 安装与配置问答指南

当用户询问 QwenPaw 的安装、初始化、环境配置、依赖要求、常见配置项 时,使用本 skill。

核心原则:

  • 先查本地文档,再回答
  • 回答要基于已读到的内容,不臆测
  • 回答语言与用户提问语言保持一致

标准流程

第一步:定位文档位置

优先使用内置路径解析(适用于所有安装方式)

DOCS_DIR=$(python3 -c "from qwenpaw.constant import DOCS_DIR; print(DOCS_DIR or '')" 2>/dev/null)

如果上面获取到了非空路径且目录存在,直接使用,跳到第二步。

如果获取失败(例如旧版本未包含 DOCS_DIR),按以下顺序 fallback:

查找记忆中的文档目录

首先你可以查看memory中是否有文档目录,如果有则直接使用,如果没有则继续执行下一步。

# 获取memory中的文档目录
DOCS_DIR=$(find ~/.qwenpaw/memory/ -type d -name "docs")

如果 memory 中没有文档目录,则继续执行下面的逻辑。

检查项目源码中的文档目录

执行以下脚本逻辑来获取变量 $QWENPAW_ROOT:

# 获取二进制绝对路径
QWENPAW_PATH=$(which qwenpaw 2>/dev/null || whereis qwenpaw | awk '{print $2}')

# 逻辑推导:如果路径包含 .qwenpaw/bin/qwenpaw,则根目录在其上三层
# 例如:/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
    # 兜底:尝试获取所在目录的父目录
    QWENPAW_ROOT=$(dirname $(dirname "$QWENPAW_PATH") 2>/dev/null || echo ".")
fi

echo "Detected QwenPaw Root: $QWENPAW_ROOT"

验证并列出文档目录: 使用推导出的 $QWENPAW_ROOT 定位文档:

# 组合标准文档路径
DOCS_DIR="$QWENPAW_ROOT/website/public/docs/"

# 检查路径是否存在并列出文件
if [ -d "$DOCS_DIR" ]; then
    find "$DOCS_DIR" -type f -name "*.md" | head -n 100
else
    # 如果推导路径不对,执行全局模糊搜索
    find "$QWENPAW_ROOT" -type d -name "docs" | grep "website/public/docs"
fi

如果项目文档不存在,搜索工作目录

如果还是找不到文档,搜索 qwenpaw 安装路径下的可用文档内容:

# 寻找 faq.en.md 或 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
    # 使用 dirname 获取该文件所在的目录
    DOCS_DIR=$(dirname "$FILE_PATH")
fi

如果找到了文档目录,请你记录在 memory 中,格式为:

# 文档目录
$DOCS_DIR = <doc_path>

第二步:文档检索与匹配

文档文件命名格式为 <topic>.<lang>.md(如 config.zh.md、config.en.md、quickstart.zh.md)。

使用 find 命令在目标目录中列出所有符合后缀的文档,并根据文件名关键字(如 install, env, setup)锁定目标作为 <doc_path>。

# 列出所有符合后缀的文档
find $DOCS_DIR -type f -name "*.md"

如果没有合适的文档,则在下一步阅读所有文档内容。

第三步:阅读文档内容

找到候选文档后,读取并确认与问题相关的段落。可使用:

  • cat <doc_path>
  • file_reader skill(推荐用于更长文档或分段读取)

如果文档很长,优先读取和问题最相关的章节(安装步骤、配置项、示例命令、注意事项、版本要求)。

第四步:提取信息并作答

从文档中提取关键信息,组织成可执行答案:

  • 先给直接结论
  • 再给步骤/命令/配置示例
  • 补充必要前置条件与常见坑

语言要求:回答语言必须与用户提问语言一致(中文问就中文答,英文问就英文答)。

第五步(可选):官网检索

若前面步骤无法完成(本地无文档、文档缺失、信息不足),使用官网作为兜底:

基于官网可获得内容继续回答,并在答案中明确说明该结论来自官网文档。

输出质量要求

  • 不编造不存在的配置项或命令
  • 遇到版本差异时,明确标注“需以当前文档版本为准”
  • 涉及路径、命令、配置键时,尽量给可复制的原文片段
  • 若信息仍不足,明确缺口并告诉用户还需要哪类信息(例如操作系统、安装方式、报错日志)

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

alicloud_cli

FreeSummary

Find installation steps, configuration guidance, and command examples for Alibaba Cloud CLI using local Chinese documentation. The skill checks its quick reference or relevant documentation pages before suggesting commands, parameters, and options.

  • Look up installation and configuration steps
  • Check commands for querying ECS instances
  • Find output filtering and pagination options
agentscope-ai/QwenPaw36KUpdated Oct 22, 2026

browser

FreeSummary

Use QwenPaw's built-in Browser SDK, a browser control interface, to read pages, search, fill forms, click controls, and capture screenshots through asynchronous Python. The workflow checks the page before and after actions and hands authentication steps to a person.

  • Search a website and inspect the resulting page
  • Fill forms and select options in a browser
  • Read page text and capture screenshots
agentscope-ai/QwenPaw36KUpdated Oct 22, 2026

browser

FreeSummary

Automate browser tasks through QwenPaw's built-in Browser SDK using asynchronous Python. Read page content, fill forms, click controls, and capture screenshots, checking the resulting page after each action to verify what happened.

  • Search a website and inspect the results
  • Fill forms and operate page controls
  • Capture page screenshots
agentscope-ai/QwenPaw36KUpdated Oct 22, 2026

browser_cdp

FreeSummary

Connect to an existing Chrome browser or launch one with an explicit debugging port for sharing across agents and tools. It also covers scanning local CDP ports, the connection endpoints used to control a browser.

  • Connect to Chrome with existing logins and open tabs
  • Find available local browser debugging ports
  • Launch a browser with a fixed debugging port
agentscope-ai/QwenPaw36KUpdated Oct 22, 2026

browser_cdp

FreeSummary

Connect an agent to an existing Chrome browser, find local CDP ports used for remote browser control, or start a browser on a specified port for sharing with other agents and tools.

  • Connecting to Chrome with existing logins and open tabs
  • Finding available local browser debugging ports
  • Starting a browser on a fixed debugging port
agentscope-ai/QwenPaw36KUpdated Oct 22, 2026

browser_visible

FreeSummary

Configure how the browser starts, including window visibility, proxy settings, extra launch options, and a custom browser executable. It also explains opening a local debugging port so other local tools can connect.

  • Show the browser window during automation
  • Start a browser with a proxy or incognito mode
  • Choose a specific installed browser
agentscope-ai/QwenPaw36KUpdated Oct 22, 2026

See all skills by agentscope-ai

Report a problem with this skill