openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Expanso language-detect

Detect the language of input text using AI with Expanso Edge via CLI or MCP pipelines.

综合技能

作者:Expanso @aronchick

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 659 · 1 current installs · 1 all-time installs

0

安装量(当前) 1

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:aronchick/expanso-language-detect

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

This is an instruction-only Expanso pipeline for language detection that generally matches its stated purpose, but there are a few packaging/information inconsistencies you should be aware of before installing.

目的

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.

说明范围

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 oth…

安装机制

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.

证书

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.

持久

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.

综合结论

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 pac…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Expanso language-detect」。简介:Detect the language of input text using AI with Expanso Edge via CLI or MCP pip…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aronchick/expanso-language-detect/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

# language-detect

Detect the language of text using AI

## Requirements

- Expanso Edge installed (`expanso-edge` binary in PATH)
- Install via: `clawhub install expanso-edge`

## Usage

### CLI Pipeline
```bash
# Run standalone
echo '<input>' | expanso-edge run pipeline-cli.yaml
```

### MCP Pipeline
```bash
# Start as MCP server
expanso-edge run pipeline-mcp.yaml
```

### Deploy to Expanso Cloud
```bash
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 |