← 返回 Skills 市场
895
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install expanso-language-detect
功能描述
Detect the language of input text using AI with Expanso Edge via CLI or MCP pipelines.
使用说明 (SKILL.md)
language-detect
Detect the language of text using AI
Requirements
- Expanso Edge installed (
expanso-edgebinary in PATH) - Install via:
clawhub install expanso-edge
Usage
CLI Pipeline
# Run standalone
echo '\x3Cinput>' | expanso-edge run pipeline-cli.yaml
MCP Pipeline
# Start as MCP server
expanso-edge run pipeline-mcp.yaml
Deploy to Expanso Cloud
expanso-cli job deploy https://skills.expanso.io/language-detect/pipeline-cli.yaml
Files
| File | Purpose |
|---|---|
skill.yaml |
Skill metadata (inputs, outputs, credentials) |
pipeline-cli.yaml |
Standalone CLI pipeline |
pipeline-mcp.yaml |
MCP server pipeline |
安全使用建议
What to check before installing:
- You must have expanso-edge installed and on PATH; the SKILL.md requires this even though the registry metadata omitted it. Install via the expanso/ClawHub instructions in the README if you plan to run pipelines locally.
- The pipelines use OpenAI (gpt-4o-mini) and require OPENAI_API_KEY; set a key before running. skill.yaml marks the key optional but the pipeline will not work without it — treat this as a packaging/documentation bug.
- The MCP pipeline binds to 0.0.0.0:${PORT:-8080} and exposes POST /detect. If you run the MCP server, ensure you understand the network exposure (firewall, allowed clients) because any text you send will be forwarded to OpenAI for processing.
- The skill sends user text to OpenAI—do not send sensitive or private data unless you are comfortable with that data going to your OpenAI account. Review your OpenAI account/config and rate/usage limits.
- skill.yaml mentions a local Ollama backend (llama3.2) but the provided pipeline YAMLs call only the OpenAI processor; if you need an offline/local option, validate and test that separately.
- The package has no homepage and a single owner id (unknown). That is not an active red flag by itself, but if you have a security policy about provenance, consider verifying the source or testing in a sandbox first.
Overall: the skill appears to do what it claims (language detection) with no hidden data exfiltration in the provided files. The primary issues are documentation/packaging inconsistencies and the usual privacy consideration that text is sent to OpenAI.
功能分析
Type: OpenClaw Skill
Name: expanso-language-detect
Version: 1.0.0
The skill is designed for language detection using OpenAI. However, both `pipeline-cli.yaml` and `pipeline-mcp.yaml` directly concatenate user-provided text into the LLM prompt without any apparent sanitization. This creates a prompt injection vulnerability, allowing an attacker to potentially manipulate the AI agent's behavior or output by crafting malicious input. This is a significant vulnerability, classifying the skill as suspicious.
能力评估
Purpose & Capability
The skill's files (pipeline-cli.yaml, pipeline-mcp.yaml, skill.yaml, README) all implement language detection via OpenAI and Expanso; that is coherent with the skill name. However, the registry metadata reported no required binaries or env vars while the SKILL.md and pipelines explicitly require the expanso-edge binary and reference OPENAI_API_KEY. This mismatch is a packaging/documentation inconsistency.
Instruction Scope
Runtime instructions are limited to running Expanso pipelines (CLI or MCP) and deploying to Expanso Cloud. The MCP pipeline runs an HTTP server (0.0.0.0:${PORT:-8080}) exposing POST /detect, which is expected for a service pipeline but important to note because it binds to all interfaces. The pipelines only send provided text to OpenAI for completion and expect a JSON response — they do not attempt to read unrelated files, system state, or other credentials.
Install Mechanism
There is no install spec and no code files (instruction-only), so nothing is downloaded or written to disk beyond the user's invocation of expanso-edge. This is the lowest-risk install pattern.
Credentials
The pipelines require OPENAI_API_KEY (used directly in openai_chat_completion). The top-level registry metadata lists no required env vars and skill.yaml marks OPENAI_API_KEY as optional (required: false). That mismatch could confuse users — in practice you need an OpenAI key to run the pipelines. No other unrelated secrets are requested.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system settings, and is user-invocable. It can run an HTTP server when started (expected for MCP), but otherwise requests no persistent privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install expanso-language-detect - 安装完成后,直接呼叫该 Skill 的名称或使用
/expanso-language-detect触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish to ClawHub
元数据
常见问题
Expanso language-detect 是什么?
Detect the language of input text using AI with Expanso Edge via CLI or MCP pipelines. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 895 次。
如何安装 Expanso language-detect?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install expanso-language-detect」即可一键安装,无需额外配置。
Expanso language-detect 是免费的吗?
是的,Expanso language-detect 完全免费(开源免费),可自由下载、安装和使用。
Expanso language-detect 支持哪些平台?
Expanso language-detect 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Expanso language-detect?
由 Expanso(@aronchick)开发并维护,当前版本 v1.0.0。
推荐 Skills