跳到正文
cccskills
免费在 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.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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

实测评分 未实测

查看安装方法

适用场景

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

包含的文件(1)

  • SKILL.md4.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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(推荐用于更长文档或分段读取)

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

第四步:提取信息并作答

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

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

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

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

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

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

输出质量要求

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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/QwenPaw3.6万2026年10月23日 更新

browser

免费

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/QwenPaw3.6万2026年10月23日 更新

browser

免费

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/QwenPaw3.6万2026年10月23日 更新

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/QwenPaw3.6万2026年10月23日 更新

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/QwenPaw3.6万2026年10月23日 更新

Configure browser startup with a visible or hidden window, and optionally open a local debugging port for another tool to connect. The skill explains launch parameters, compatibility behavior, and when a browser restart is required.

中文简介正在准备中。当前显示英语简介。

  • Show the browser window during automated work
  • Open a local debugging port for another tool
  • Check the behavior of older launch parameters
agentscope-ai/QwenPaw3.6万2026年10月23日 更新

查看 agentscope-ai 的全部技能

报告此技能的问题