← 返回 Skills 市场
Polling Best Practices
作者
Skywalker326
· GitHub ↗
· v1.0.1
· MIT-0
137
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install polling-best-practices
功能描述
Best practices for automating long-running, asynchronous tasks via cron-style polling. Use when the user wants to monitor a background CLI command or API cal...
安全使用建议
This skill appears coherent and benign, but it executes user-supplied commands via a template script, so: (1) review any POLL_COMMAND or task.json contents before running; do not embed credentials or secrets in commands or task files; (2) run the template in a restricted account or sandbox (not as root) until you trust the commands; (3) verify parse rules (jq/grep) to avoid false positives/negatives; (4) set conservative POLL_INTERVAL/MAX_POLLS to avoid excessive retries or charges; (5) inspect logs and temp folders after runs and delete sensitive artifacts. If you plan to let an agent run this autonomously, require an explicit confirmation step from the human and limit the scope of commands the agent may run.
能力评估
Purpose & Capability
Name/description match the contents: a guidance SKILL.md and a single, clearly-labeled polling script template. The skill requests no env vars, no binaries, and contains only guidance plus a convenience script — all appropriate for a 'polling best practices' skill.
Instruction Scope
SKILL.md stays within its stated scope (deciding suitability, asking for a one-time confirmation, creating per-task temp folders, writing task.json, monitoring status). It explicitly requires explicit user confirmation before starting. Note: the provided template runs arbitrary shell commands (POLL_COMMAND evaluated via eval), so the agent or user must not run it without reviewing the command contents. This is expected for a general-purpose polling helper but is a security consideration the user should understand.
Install Mechanism
No install spec; instruction-only skill with an included template file. Nothing is downloaded or written by an installer — low install risk.
Credentials
The skill declares no required environment variables or credentials. However, the workflow stores parameters in task.json and runs user-supplied commands; users should avoid embedding secrets in those files or commands.
Persistence & Privilege
always:false and no special privileges requested. The skill does not request persistent presence or modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install polling-best-practices - 安装完成后,直接呼叫该 Skill 的名称或使用
/polling-best-practices触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Replaced example task name with generic placeholder to avoid any context-specific naming.
v1.0.0
Initial release: guidance skill for automating long-running async tasks via cron-style polling. Covers suitability checklist, one-time user confirmation, temp folder structure, script templates, error handling, and completion workflow. Language-aware (bilingual ask/notify). Includes a reusable poll-template.sh script.
元数据
常见问题
Polling Best Practices 是什么?
Best practices for automating long-running, asynchronous tasks via cron-style polling. Use when the user wants to monitor a background CLI command or API cal... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 137 次。
如何安装 Polling Best Practices?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install polling-best-practices」即可一键安装,无需额外配置。
Polling Best Practices 是免费的吗?
是的,Polling Best Practices 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Polling Best Practices 支持哪些平台?
Polling Best Practices 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Polling Best Practices?
由 Skywalker326(@skywalker-lili)开发并维护,当前版本 v1.0.1。
推荐 Skills