← 返回 Skills 市场
pengzhendong

DashScope LLM

作者 彭震东 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
87
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install dashscope-llm
功能描述
通过阿里云 DashScope 的 OpenAI 兼容 API 发送简单单轮对话请求,用于快速 LLM 测试、提示词实验或一次性文本生成。
使用说明 (SKILL.md)

dashscope-llm

Use this skill when you need to send a simple chat request to DashScope through its OpenAI-compatible API.

What this skill does

This skill provides a minimal CLI wrapper at scripts/cli.py that:

  • reads DASHSCOPE_API_KEY from the environment
  • connects to https://dashscope.aliyuncs.com/compatible-mode/v1
  • sends a single user message with the OpenAI Python SDK
  • prints the model response to stdout

When to use it

Use this skill for quick LLM checks, prompt experiments, or simple one-shot generations against DashScope models.

Do not use it when you need:

  • multi-turn conversation state
  • streaming output
  • tool calling
  • structured output handling
  • advanced retry or error management

Prerequisites

Make sure the environment has:

  • DASHSCOPE_API_KEY set
  • Python available
  • the openai Python package installed

Example:

export DASHSCOPE_API_KEY="your_api_key"
python3 scripts/cli.py --model qwen3.6-plus --message "你是谁?"

CLI arguments

The script supports:

  • --model: model name, default is qwen3.6-plus
  • --message: user prompt, default is 你是谁?
安全使用建议
This skill appears to do exactly one thing: send a single chat message to DashScope and print the reply. Before installing or using it: 1) Note the metadata omission — the script requires DASHSCOPE_API_KEY even though the registry lists none; ask the publisher to correct this. 2) Only provide a DashScope API key with minimal scope and rotate it after testing. 3) Because the source/homepage is unknown, review the small script yourself (or run it in an isolated environment) to confirm it only calls the stated endpoint. 4) Ensure you have the expected openai Python package version (to avoid behavioral surprises). If you need higher assurance or will use sensitive prompts/keys, prefer a published package from a known source or vendor-provided connector.
功能分析
Type: OpenClaw Skill Name: dashscope-llm Version: 1.0.1 The skill is a straightforward CLI wrapper for the Alibaba DashScope API, allowing users to send chat requests to Qwen models. The code in `scripts/cli.py` correctly uses the official OpenAI Python SDK and connects to the legitimate DashScope endpoint. No evidence of data exfiltration, malicious execution, or prompt injection was found.
能力评估
Purpose & Capability
The name/description (send single-turn chat to DashScope's OpenAI-compatible API) matches the included script: it constructs an OpenAI client pointed at https://dashscope.aliyuncs.com/compatible-mode/v1 and sends a single user message. No unrelated capabilities are present.
Instruction Scope
SKILL.md and scripts/cli.py limit behavior to reading DASHSCOPE_API_KEY from the environment, issuing one chat completion call, and printing the result. The instructions do not request unrelated files, system config, or external endpoints beyond the DashScope URL.
Install Mechanism
There is no install spec and only a small instruction-only script is included. Nothing is downloaded or written to disk during install, so install risk is low.
Credentials
The code and SKILL.md require DASHSCOPE_API_KEY, but the registry metadata lists no required environment variables or primary credential. That inconsistency is a red flag: the skill legitimately needs one API key (proportionate), but the metadata omission harms discoverability and could indicate sloppy or intentionally misleading packaging.
Persistence & Privilege
The skill does not request persistent presence (always:false) and does not modify system or other-skill configuration. It only runs on invocation and has no elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dashscope-llm
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dashscope-llm 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added a YAML frontmatter block with the skill's name, description (in Chinese), and version to SKILL.md. - No changes to code or functionality. Documentation was reformatted for compatibility and clarity.
v1.0.0
Initial release of dashscope-llm. - Provides a minimal CLI tool to send one-off chat prompts to DashScope’s OpenAI-compatible API. - Requires environment variable `DASHSCOPE_API_KEY` and the `openai` Python package. - Connects to the DashScope endpoint and prints the model response. - Supports `--model` and `--message` CLI arguments.
元数据
Slug dashscope-llm
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

DashScope LLM 是什么?

通过阿里云 DashScope 的 OpenAI 兼容 API 发送简单单轮对话请求,用于快速 LLM 测试、提示词实验或一次性文本生成。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 87 次。

如何安装 DashScope LLM?

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

DashScope LLM 是免费的吗?

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

DashScope LLM 支持哪些平台?

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

谁开发了 DashScope LLM?

由 彭震东(@pengzhendong)开发并维护,当前版本 v1.0.1。

💬 留言讨论