← 返回 Skills 市场
mia
作者
JingyangQiao(SII)
· GitHub ↗
· v1.0.1
· MIT-0
100
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install mia
功能描述
MIA (Memory-Intelligent Assistant) - 智能记忆助手系统,通过记忆、规划、反馈三模块让OpenClaw具备经验学习能力
安全使用建议
What to check before installing:
- The skill will read/write plain JSONL files (memory and feedback) under its directories by default; review and control the file paths (MIA_MEMORY_FILE, MIA_FEEDBACK_FILE) and file permissions to avoid accidental storage of sensitive data.
- The metadata in the registry marks MIA_PLANNER_API_KEY and other planner vars as required, but the code only needs the API key when MIA_PLANNER_MODE=api. If you don't want to provide an external API key, set MIA_PLANNER_MODE=local and configure MIA_PLANNER_URL to a local model. Don't provide cloud API keys unless you intend to use api mode.
- There are duplicated files and a coding bug: memory code calls extractPattern() which is not defined. This indicates the package may be untested and could throw runtime errors or behave unexpectedly. Consider reviewing the code locally and running in an isolated/test environment first.
- npm install will fetch node-fetch from the public npm registry (standard dependency) — run installs in a controlled environment if you are cautious about third-party packages.
- If you plan to use this skill in production, inspect the code, run it in a sandbox, and consider encrypting or restricting access to memory/feedback files. If you need help verifying the undefined function or cleaning up the metadata, get a developer to audit/fix those issues before trusting persistent data or production API keys.
功能分析
Type: OpenClaw Skill
Name: mia
Version: 1.0.1
The MIA (Memory-Intelligent Assistant) skill bundle is a legitimate implementation of a task-planning and memory-retrieval system for OpenClaw agents. It uses local JSONL files (memory.jsonl and feedback.jsonl) to store and optimize task trajectories and provides a wrapper for LLM APIs (OpenAI or local Qwen instances) to generate execution plans. The code in mia-planner.mjs, mia-memory.mjs, and mia-feedback.mjs follows standard practices, lacks dangerous sinks like eval() or shell execution, and contains no evidence of data exfiltration or malicious prompt injection.
能力评估
Purpose & Capability
Name/description (memory, planner, feedback) align with the included code files (memory/, planner/, feedback/) and the required binary (node). The planner contacting an LLM API is expected. However the registry metadata marks many env vars as required (including MIA_PLANNER_API_KEY, MIA_PLANNER_URL, MIA_PLANNER_MODEL) even though the SKILL.md and code show the API key is only needed when MIA_PLANNER_MODE=api and local mode is supported. This mismatch is disproportionate to the stated purpose.
Instruction Scope
Runtime instructions and provided SKILL.md limit actions to: calling the planner (local or API), reading/writing JSONL files for memory and feedback, and generating plans. The skill will read/write files under its own directories (memory.jsonl, feedback.jsonl) — this is expected but should be noted. There are no instructions to read unrelated system files or environment variables beyond the declared ones. One functional issue: the memory code references an extractPattern() function that is not defined, which could cause runtime errors and unpredictable behavior in similarity calculation.
Install Mechanism
There is no formal install spec in the registry (instruction-only), but package.json and SKILL.md instruct running npm install (which will pull node-fetch from npm). This is common for Node-based skills; risk is moderate and standard (no external arbitrary downloads or obscure URLs).
Credentials
The skill metadata lists many required env vars unconditionally: MIA_PLANNER_API_KEY, MIA_PLANNER_URL, MIA_PLANNER_MODEL, etc. In code and SKILL.md the API key is only required when MIA_PLANNER_MODE=api (local mode does not require it). Declaring the API key and URL as always required is disproportionate. Also the skill will store data in files whose paths are configurable via env vars (MIA_MEMORY_FILE, MIA_FEEDBACK_FILE) — these are reasonable but the metadata labeling them 'required' without clarifying defaults is misleading. Primary credential set to MIA_PLANNER_API_KEY is reasonable for api mode but should not be mandatory for local usage.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system-wide settings. It persists data only to its own memory/feedback JSONL files (configurable paths). That persistence is normal for a memory skill but users should be aware that stored memories/feedback are plaintext JSONL files and could contain sensitive content if the agent stores such data.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mia - 安装完成后,直接呼叫该 Skill 的名称或使用
/mia触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- No file changes detected in this release.
- Documentation and functionality remain unchanged from the previous version.
v1.0.0
- Initial release of MIA (Memory-Intelligent Assistant) for OpenClaw, enabling experience-based learning with memory, planning, and feedback modules.
- Supports efficient memory retrieval and storage with structural similarity matching and automatic retention of optimal execution paths.
- Planner module generates and optimizes task plans based on historical data or new queries.
- Feedback module collects user input for new questions only, optimizing user experience.
- Extensive configuration via environment variables ensures flexibility with no hard-coded parameters.
- Provides command-line tools for memory, planner, and feedback management.
元数据
常见问题
mia 是什么?
MIA (Memory-Intelligent Assistant) - 智能记忆助手系统,通过记忆、规划、反馈三模块让OpenClaw具备经验学习能力. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 100 次。
如何安装 mia?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mia」即可一键安装,无需额外配置。
mia 是免费的吗?
是的,mia 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
mia 支持哪些平台?
mia 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 mia?
由 JingyangQiao(SII)(@jingyangqiao)开发并维护,当前版本 v1.0.1。
推荐 Skills