← 返回 Skills 市场
dereksongyang

Qwen Web Agent

作者 Derek Song · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
35
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install qwen-web-agent
功能描述
Browser automation for 通义千问 (Qwen) web interface at qianwen.com. Use when the agent needs to ask questions to Qwen AI and get back responses via browser auto...
使用说明 (SKILL.md)

Qwen Web Agent

Browser automation for 通义千问 (qianwen.com) using Playwright. Login session persists at ~/.qwen_session/.

Quick Start

Single-turn

python scripts/qwen_agent.py "你的问题"
echo "你的问题" | python scripts/qwen_agent.py

Multi-turn

printf "问题1\
问题2\
关闭" | python scripts/qwen_multi_agent.py

First Run (Manual Login Required)

The first launch opens a Chromium window — complete login in the browser, then the script continues automatically. Subsequent runs reuse the saved session.

Scripts

scripts/qwen_agent.py

Single-turn Q&A. Sends one query, waits for the streaming response to stabilize, saves to last_output.md, then cleans up the conversation.

Parameters:

  • --timeout N: Override timeout in seconds (default 120)

scripts/qwen_multi_agent.py

Multi-turn conversation. Reads queries from stdin line by line, maintains conversation context, writes all turns to qwen_session_history.md.

Exit commands: 关闭, exit, quit, or EOF

Environment Requirements

  • Python 3.x
  • pip install playwright python-dotenv
  • playwright install chromium
  • Display server (X11/Wayland) or Xvfb for headed mode

Architecture

Both scripts use Playwright async API with a persistent browser context. The response capture logic polls DOM selectors (#qk-markdown-react, .chat-answers-card-wrap, etc.) until the text stabilizes (streaming detection). Multi-turn additionally tracks response element count to distinguish new responses from cached ones.

References

See references/使用说明.md for detailed usage documentation.

安全使用建议
Review and likely modify the scripts before installing. In particular, disable or make opt-in the automatic conversation deletion, change the hardcoded /home/derek/... output paths to a location you control, and understand that the skill stores a reusable Qwen login session at ~/.qwen_session/ and sends prompts to qianwen.com.
功能分析
Type: OpenClaw Skill Name: qwen-web-agent Version: 1.0.0 The scripts 'qwen_agent.py' and 'qwen_multi_agent.py' contain hardcoded absolute file paths to a specific user's home directory ('/home/derek/文档/Derek_Obsidian_DB/...'), which is highly irregular for a shared skill bundle and could cause execution failures or unintended file writes on a target system. Additionally, the Playwright configuration uses the '--no-sandbox' flag, which unnecessarily increases the browser's attack surface. While the logic appears intended for Qwen AI automation, these hardcoded paths and security-weakening flags suggest a lack of sanitization and pose a risk to the host environment.
能力评估
Purpose & Capability
The core browser automation purpose is coherent, but the included scripts also perform account-side conversation deletion and hardcoded local persistence that go beyond simply asking Qwen and returning an answer.
Instruction Scope
Prompts are user-directed through argv/stdin, but destructive cleanup is automatic and not gated by an explicit per-run confirmation or disable flag.
Install Mechanism
There is no install spec even though SKILL.md instructs users to install Playwright and a Chromium browser manually; this is expected for the purpose but should be pinned and declared more clearly.
Credentials
The scripts write outputs to a hardcoded absolute path under /home/derek/.../Derek_Obsidian_DB rather than a user-configured or skill-local path.
Persistence & Privilege
The skill persists a logged-in Qwen browser profile and saves query/answer history locally; this is partly purpose-aligned, but combined with automatic deletion it gives the script meaningful account authority.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install qwen-web-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /qwen-web-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: single-turn and multi-turn browser automation for 通义千问 (qianwen.com)
元数据
Slug qwen-web-agent
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Qwen Web Agent 是什么?

Browser automation for 通义千问 (Qwen) web interface at qianwen.com. Use when the agent needs to ask questions to Qwen AI and get back responses via browser auto... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 35 次。

如何安装 Qwen Web Agent?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install qwen-web-agent」即可一键安装,无需额外配置。

Qwen Web Agent 是免费的吗?

是的,Qwen Web Agent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Qwen Web Agent 支持哪些平台?

Qwen Web Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Qwen Web Agent?

由 Derek Song(@dereksongyang)开发并维护,当前版本 v1.0.0。

💬 留言讨论