← 返回 Skills 市场
alfredming-2026

Task Protection

作者 alfredming-2026 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
331
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install task-protection
功能描述
Comprehensive task lifecycle management with automatic tracking, failure analysis, and completion feedback. Use when executing recurring system tasks (backup...
安全使用建议
This skill is mostly coherent with its stated purpose (task lifecycle and health checks), but I found several concerning implementation choices you should review before installing or running: - Hard-coded credential: scripts/daily-news.sh includes a TAVILY_API_KEY value embedded in source. Treat that as a secret leak risk and remove or replace it with a configurable environment variable if you intend to run the scripts. Verify whether that key is legitimate (dev/test) and whether it should be rotated. - Fixed absolute paths and user IDs: the scripts assume WORKSPACE=/home/admin/.openclaw/workspace, a specific local CLI path, and a Feishu user id. These will fail or may write/read files in an unexpected user account. Make the workspace path configurable (env var) and remove baked-in user identifiers. - External network calls: the daily-news script POSTs to https://api.tavily.com/search and fetches wttr.in. If you run the skill, those requests will leave your environment and may include embedded keys or data. Review and sanitize what is sent, and ensure you are comfortable with that external service. - System access: health-check and other scripts probe system services (systemctl), crontab, disk/memory usage and may read task files. These actions are reasonable for a health-check tool but mean the scripts will access system configuration and files—run them in a trusted or sandboxed environment first. Recommended actions before use: 1. Inspect and remove/replace any hard-coded API keys and sensitive IDs; switch to env vars (e.g., TAVILY_API_KEY, WORKSPACE) and declare them in documentation. 2. Update scripts to accept a configurable workspace root and not assume /home/admin. Test in a non-privileged sandbox first. 3. If you need the network integrations, verify the external service (tavily.com) and rotate any embedded keys; consider restricting network access or monitoring outbound traffic. 4. Review logs/state files location to ensure they do not leak sensitive content and that file permissions are appropriate. 5. If the author can confirm the embedded API key is a harmless demo key and provide a configurable path/ENV approach, my confidence would increase. Otherwise treat this skill as suspicious and audit/modify the code before running.
功能分析
Type: OpenClaw Skill Name: task-protection Version: 1.0.0 The skill bundle provides a comprehensive framework for task lifecycle management, including logging, failure analysis, and reporting. It is classified as suspicious primarily due to the presence of a hardcoded API key (TAVILY_API_KEY) in 'scripts/daily-news.sh', which represents a significant credential exposure vulnerability. Additionally, the bundle includes scripts ('scripts/system-health-check.sh' and 'scripts/daily-news.sh') that perform broad system monitoring and external network requests; while these actions are consistent with the stated purpose, they represent a high-privilege attack surface if misused.
能力评估
Purpose & Capability
Name/description (task lifecycle + failure analysis) align with the provided shell scripts (task-utils, health checks, reports, registration). However the code embeds absolute paths (/home/admin/.openclaw/workspace), a hard-coded third‑party API key, and a fixed Feishu user id / message CLI path—these are environment-specific and not declared in the skill metadata, which is an inconsistency.
Instruction Scope
SKILL.md and scripts instruct writing state files (memory/tasks/*.json), logs, and manipulating a workspace — expected. But scripts also read local system state (systemctl, crontab, df, free, du), read task lists (TASKS_FILE), and call external services (tavily.com, wttr.in) and local CLI tools. Those operations are plausible for health-checks/news push, but they access system configuration and make external network requests without any declared env/config options—granting broad file and network access with hard-coded endpoints/keys.
Install Mechanism
No install spec (instruction-only plus shipped scripts). No downloads or external installers are run by the skill itself. Risk comes from shipped scripts that will execute on install/use, but there is no opaque install step that fetches arbitrary code.
Credentials
The skill declares no required env vars, yet scripts contain a hard-coded API key (TAVILY_API_KEY) and assume a fixed workspace path (/home/admin/.openclaw/workspace) and local CLI locations. Embedding a live API key and fixed user/paths is disproportionate and risky: it may leak a credential, fail unpredictably on other systems, or cause unintended writes to /home/admin. There are also external network calls (tavily.com) that will transmit queries using that key.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request persistent platform privileges. It writes state and log files under the assumed workspace (normal for a tracking tool). However combining autonomous agent invocation (default) with scripts that perform network calls and system checks increases blast radius if misused—this is a contextual risk, not an intrinsic privilege flag in the bundle.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install task-protection
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /task-protection 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of task-protection 1.0.0 - Introduces a comprehensive task lifecycle management system with automatic tracking, failure analysis, and completion feedback. - Provides 9 core tool functions for task registration, logging, stage tracking, status queries, and automated reporting. - Supports 8 types of failure analysis, customizable retry logic, and progress tracking. - Includes script examples and AI-friendly registration methods for recurring, critical, or long-running tasks. - Features structured logging, JSON-based status files, summary reports, and detailed documentation for best practices and troubleshooting.
元数据
Slug task-protection
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Task Protection 是什么?

Comprehensive task lifecycle management with automatic tracking, failure analysis, and completion feedback. Use when executing recurring system tasks (backup... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 331 次。

如何安装 Task Protection?

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

Task Protection 是免费的吗?

是的,Task Protection 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Task Protection 支持哪些平台?

Task Protection 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Task Protection?

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

💬 留言讨论