← 返回 Skills 市场
Metaskill
作者
fahrulalwan
· GitHub ↗
· v1.3.0
499
总下载
0
收藏
1
当前安装
4
版本数
在 OpenClaw 中安装
/install metaskill
功能描述
Teaches AI agents how to learn better by enforcing deep correction, transfer learning, and proactive pattern recognition. Use when an error occurs and needs...
安全使用建议
Key points to consider before installing or running Metaskill:
- Metadata mismatch: The registry says no env vars are required, but the code expects API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY) or a local Ollama server. Ask the publisher to correct the metadata or be prepared to set these env vars if you want full LLM functionality.
- Data sent to external LLMs: When the scripts run in LLM mode they send error descriptions and excerpts of your LEARNINGS.md to third-party services (Anthropic, OpenAI, Google generative API) or to a local Ollama instance. If those messages may contain sensitive information, prefer using a local Ollama model or run in manual/fallback mode.
- File writes and cross-skill access: The skill will create and append files under your OpenClaw workspace, including writing into skills/self-improving-agent/.learnings/ if that directory exists. Back up any important learnings before running; review file paths in the scripts if you want different locations.
- Audit and test: Review or run the scripts in a sandboxed test workspace first. If you want to be extra cautious, run with environment variables unset to force offline/manual behavior, or configure providers in config.yaml to use a local Ollama instance.
- Trust & provenance: The source/homepage are unknown and the owner is an unfamiliar ID. If you require strong provenance, request publisher information or prefer skills from known sources.
What would make this benign: updating the registry metadata to list optional/required env vars, and explicit documentation of data flows (what is sent to LLMs). If you cannot confirm provenance or cannot tolerate sending learning content to remote LLMs, do not enable LLM mode and/or run in an isolated workspace.
功能分析
Type: OpenClaw Skill
Name: metaskill
Version: 1.3.0
The skill bundle is classified as suspicious due to multiple shell injection vulnerabilities and prompt injection risks. Specifically, `scripts/deep-correct.sh` and `scripts/success-capture.sh` are vulnerable to shell injection via here-documents, where user-controlled input (`$ERROR_DESC`, `$PRINCIPLE`, `$HABIT`, `$WHAT`, `$WHY`) is directly expanded, allowing arbitrary command execution. `scripts/transfer-check.sh` also has a shell injection risk when processing `$TASK` with `echo` and `grep`. Additionally, `scripts/llm_extract.py` and `scripts/llm_transfer.py` are susceptible to prompt injection against the LLM, as user-provided descriptions are directly embedded into LLM prompts. While these are significant vulnerabilities that could lead to compromise, there is no clear evidence of intentional malicious behavior such as data exfiltration to unauthorized endpoints or backdoor installation.
能力评估
Purpose & Capability
The skill claims to implement self-correction, transfer, and success-capture using LLMs; the included scripts implement exactly that and therefore the provider API keys and a local workspace are reasonable requirements. However, the registry metadata declares no required environment variables or primary credential while the code clearly expects provider API keys (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY) or a local Ollama instance. This metadata mismatch is important and unexplained.
Instruction Scope
Runtime instructions and scripts operate on a workspace detected via git or OPENCLAW_WORKSPACE (or $HOME/.openclaw/workspace), read and append to LEARNINGS.md / WINS.md / ERRORS.md, and perform LLM calls for extraction/transfer. That behavior aligns with the stated purpose. The scripts will write into skills/self-improving-agent/.learnings/ if present — i.e., they may read/write another skill's learning files — which is related to purpose but expands the scope beyond a purely local, isolated skill.
Install Mechanism
No install spec; skill is instruction+scripts only (no downloads or external installers). That lowers install-time risk — nothing is fetched or executed during install. Runtime does invoke local Python and network libraries as needed.
Credentials
Metadata lists no required env vars, but scripts/llm_provider.py expect environment API keys for providers (ANTHROPIC_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY) or a local Ollama service. The skill also uses OPENCLAW_WORKSPACE if set. Requesting LLM keys is proportionate to LLM use, but the omission from registry metadata is an incoherence. Additionally, using remote providers means user content (error descriptions, learnings) may be sent to third-party LLM endpoints — a privacy/exfiltration consideration that the metadata does not warn about.
Persistence & Privilege
The skill does not request 'always: true' and is user-invocable only. At runtime it creates and writes .learnings/ files under the workspace and will write into skills/self-improving-agent/.learnings/ if present. It does not modify other skills' configuration files, but it does read/write another skill's data area when available — this cross-skill file access is meaningful and should be acceptable only if you trust the skill and backups of that data exist.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install metaskill - 安装完成后,直接呼叫该 Skill 的名称或使用
/metaskill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.3.0
feat: abstract provider system — config.yaml with fast/deep tiers, supports anthropic/openai/ollama/gemini. No more hardcoded API keys.
v1.2.0
Trim SKILL.md: remove invalid frontmatter fields, cut philosophy section, make body actionable. Body reduced ~45%.
v1.1.0
v1.1: LLM-powered extraction for deep-correct + semantic analogy search for transfer-check. Falls back to manual if no API key.
v1.0.0
Initial release: teach AI agents to learn better via deep correction, transfer learning, and proactive pattern recognition
元数据
常见问题
Metaskill 是什么?
Teaches AI agents how to learn better by enforcing deep correction, transfer learning, and proactive pattern recognition. Use when an error occurs and needs... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 499 次。
如何安装 Metaskill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install metaskill」即可一键安装,无需额外配置。
Metaskill 是免费的吗?
是的,Metaskill 完全免费(开源免费),可自由下载、安装和使用。
Metaskill 支持哪些平台?
Metaskill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Metaskill?
由 fahrulalwan(@fahrulalwan)开发并维护,当前版本 v1.3.0。
推荐 Skills