Skip to content
cccskills
FreePublished on GitHub

guidance

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md4.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

QwenPaw 安装与配置问答指南

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

核心原则:

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

标准流程

第一步:定位文档位置

查找记忆中的文档目录

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

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

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

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

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

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

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

echo "Detected QwenPaw Root: $QWENPAW_ROOT"

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

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

# 检查路径是否存在并列出文件
if [ -d "$DOC_DIR" ]; then
    find "$DOC_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 获取该文件所在的目录
    DOC_DIR=$(dirname "$FILE_PATH")
fi

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

# 文档目录
$DOC_DIR = <doc_path>

第二步:文档检索与匹配

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

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

# 列出所有符合后缀的文档
find $DOC_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

Build and debug Python applications using AgentScope 2.x. Consult this skill for AgentScope APIs, agent tools, multi-agent orchestration, and agent service deployment.

The English summary is being prepared. Showing the original description.

agentscope-ai/skills131Updated Sep 10, 2026

Use this skill when the user explicitly wants to connect to a running Chrome browser, scan local CDP ports, specify a `cdp_port`, or share a single browser across multiple agents/tools. By default, browser_use already launches the browser using managed CDP; if the user does not want to expose browser history, cookies, or other sensitive data, recommend using `private_mode=true` instead.

The English summary is being prepared. Showing the original description.

agentscope-ai/skills131Updated Sep 10, 2026

当用户明确希望连接到已运行的 Chrome 浏览器、扫描本地 CDP 端口、显式指定 `cdp_port`,或让多个 agent / 工具共享同一个浏览器时,使用本 skill。当前 browser_use 默认已使用 managed CDP 启动浏览器;如果用户不希望暴露浏览器历史、Cookies 等敏感信息,推荐改用 `private_mode=true` 的隐私模式。

The English summary is being prepared. Showing the original description.

agentscope-ai/skills131Updated Sep 10, 2026

当用户需要控制 browser_use 的浏览器启动方式时,使用本 skill。当前 browser_use 默认使用 managed CDP 启动本地 Chrome/Chromium;`headed` 控制是否显示窗口,`private_mode` 控制是否禁用 CDP、改走 Playwright,`browser_args` 传入额外的 Chromium 启动参数,`executable_path` 指定自定义浏览器可执行文件路径。

The English summary is being prepared. Showing the original description.

agentscope-ai/skills131Updated Sep 10, 2026

Use this skill when the user needs to control the browser launch mode for browser_use. By default, browser_use launches the local Chrome/Chromium using managed CDP; `headed` controls whether the window is visible, and `private_mode` controls whether CDP is disabled in favor of Playwright.

The English summary is being prepared. Showing the original description.

agentscope-ai/skills131Updated Sep 10, 2026

Use this skill to proactively send a one-way message to a user/session/channel, usually only when the user explicitly asks to send to a channel/session or when proactive notification is needed. First query sessions with qwenpaw chats list, then push with qwenpaw channels send.

The English summary is being prepared. Showing the original description.

agentscope-ai/skills131Updated Sep 10, 2026

See all skills by agentscope-ai

Report a problem with this skill