← 返回 Skills 市场
wanwan2qq

用天气可视化你的心情!基于 AI 情绪分析,将文字转化为天气图标 + 治愈文案。

作者 wanwan2qq · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
107
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mood-cli-release
功能描述
情绪分析 CLI 技能。当用户说"mood"、"心情"、"情绪"、"分析情绪"等关键词时触发,调用 mood CLI 工具分析文本情绪,返回天气图标 + 治愈文案。
安全使用建议
Before installing or enabling this skill, consider the following: - The bundle is incomplete: the package references a local CLI ('mood') and a help.js under ~/.agents/skills/mood-cli/, but those files are not included here. The install script will run `npm install -g mood-weather-cli` to fetch the real CLI from npm — review that npm package (its repository, versions, and postinstall scripts) before running it. - The skill will send user text to an external service (DeepSeek) using DEEPSEEK_API_KEY. Only provide keys with appropriate scope/limits and avoid using high-privilege or long-lived production keys. Be aware healthcheck examples may display key fragments — check whether the real CLI logs or outputs secrets. - SKILL.md mentions reading many channel-specific environment variables (DINGTALK_USER_ID, WECHAT_USER_ID, TELEGRAM_USER_ID, etc.) that were not declared. If you have sensitive IDs or tokens in env vars, verify the CLI does not read or transmit them unless necessary. - If you want to proceed: inspect the npm package content (https://www.npmjs.com/package/mood-weather-cli or its repository) and any postinstall scripts, run the CLI in a sandbox or container, and rotate the API key after testing. If you cannot review the remote package, treat this skill as higher risk and avoid installing it on sensitive hosts.
功能分析
Type: OpenClaw Skill Name: mood-cli-release Version: 1.0.0 The skill bundle is classified as suspicious because it utilizes high-risk capabilities, including shell execution and network access, which are plausibly needed for its stated mood analysis purpose but increase the attack surface. Key indicators include the global installation of an external npm package (`mood-weather-cli`) via `scripts/install.sh`, the use of the `exec` action in `skill.json`, and the broad collection of platform-specific user environment variables (e.g., `WECHAT_USER_ID`, `DINGTALK_USER_ID`, `SLACK_USER_ID`) mentioned in `SKILL.md`. Additionally, the `skill.json` references a `help.js` file that is missing from the bundle, and the `extractArg` configuration presents a potential shell injection risk if the underlying CLI tool is not properly hardened.
能力评估
Purpose & Capability
The skill claims to call a local 'mood' CLI and use a DeepSeek API key; requiring DEEPSEEK_API_KEY and a 'mood' binary is coherent with that purpose. However, the bundle does not include the 'bin/mood' executable or a help.js referenced in skill.json; instead the install script runs `npm install -g mood-weather-cli` to obtain the CLI. The skill also documents many channel-specific env vars (DINGTALK_USER_ID, WECHAT_USER_ID, etc.) that are not declared in requires.env — this is extra scope beyond the declared requirements.
Instruction Scope
SKILL.md instructs the agent to read ~/.mood-weather-cli.env and several environment variables for automatic user identification (including channel-specific vars) which are not declared in the skill metadata. skill.json's showHelp/action commands point to `node ~/.agents/skills/mood-cli/help.js` (a path/file not present in the bundle) — executing or depending on that file could run arbitrary code. The skill will also transmit user text to the external DeepSeek service (expected) but will perform health checks that may surface config values (examples show revealing 'sk-xxxx...xxxx').
Install Mechanism
There is no formal install spec for OpenClaw, but the bundle includes scripts/install.sh which installs the CLI by running `npm install -g mood-weather-cli`. That step fetches and executes remote npm package code (including potential postinstall scripts) not included in this package. Also, the local package.json in the bundle claims a bin path but the corresponding bin/help.js is not present in the release files — indicating the bundle is incomplete and relies on the external npm package.
Credentials
The only declared required env var is DEEPSEEK_API_KEY, which is reasonable for a DeepSeek-backed analysis. But SKILL.md documents many additional environment variables for user identification (MOOD_USER_ID, DINGTALK_USER_ID, WECHAT_USER_ID, TELEGRAM_USER_ID, DISCORD_USER_ID, SLACK_USER_ID) and system username fallback; these are not declared in requires.env. The skill's healthchecks and example outputs also indicate the API key value may be shown in outputs, which could risk exposing secret values in logs or UI.
Persistence & Privilege
The skill is not always-enabled and uses normal autonomous invocation settings. It does not request elevated privileges or permanent 'always' presence. It does perform local installation steps (via the included install script) but does not modify other skills or system-wide agent settings in the provided files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install mood-cli-release
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /mood-cli-release 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
mood-cli-release 1.0.0 初始版本发布: - 提供情绪分析 CLI 工具,支持中英双语自动识别情绪,返回天气图标和治愈文案 - 支持密语触发、关键词触发、单独触发及帮助提示 - 内置基础情绪分析、帮助文档、错误处理与降级策略 - 支持 API 及 CLI 安装状态、健康检查与自动健康守护 - 未来支持情绪统计、历史、报告与批量分析功能(开发中) - 提供详细配置说明、最佳实践与用户操作示例
元数据
Slug mood-cli-release
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

用天气可视化你的心情!基于 AI 情绪分析,将文字转化为天气图标 + 治愈文案。 是什么?

情绪分析 CLI 技能。当用户说"mood"、"心情"、"情绪"、"分析情绪"等关键词时触发,调用 mood CLI 工具分析文本情绪,返回天气图标 + 治愈文案。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 107 次。

如何安装 用天气可视化你的心情!基于 AI 情绪分析,将文字转化为天气图标 + 治愈文案。?

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

用天气可视化你的心情!基于 AI 情绪分析,将文字转化为天气图标 + 治愈文案。 是免费的吗?

是的,用天气可视化你的心情!基于 AI 情绪分析,将文字转化为天气图标 + 治愈文案。 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

用天气可视化你的心情!基于 AI 情绪分析,将文字转化为天气图标 + 治愈文案。 支持哪些平台?

用天气可视化你的心情!基于 AI 情绪分析,将文字转化为天气图标 + 治愈文案。 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 用天气可视化你的心情!基于 AI 情绪分析,将文字转化为天气图标 + 治愈文案。?

由 wanwan2qq(@wanwan2qq)开发并维护,当前版本 v1.0.0。

💬 留言讨论