← 返回 Skills 市场
102
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install paperclip-resilience
功能描述
Production resilience patterns for Paperclip AI agent orchestration. Spawn-with-fallback, model rotation, run recovery, blocker routing, and task injection —...
安全使用建议
What to check before installing / running this skill:
- Credentials: The skill needs Paperclip API credentials (PAPERCLIP_API_URL, PAPERCLIP_API_KEY, PAPERCLIP_COMPANY_ID, etc.) and at least one or two LLM provider API keys for fallback behavior. The registry metadata did not list these env vars — do not assume none are required. Provide least-privilege keys and use scoped API tokens where possible.
- Config review: Inspect config.json (and config.example.json) before use. The skill will read/write files under your home directory (defaults: ~/.openclaw/*, ~/.openclaw/model-rotation-state.json, optional Tasks.md and Journal files). Make sure paths and fallbacks point to providers you control.
- File access & privacy: Blocker-routing scans session transcripts and may read markdown files referenced in agent outputs; if you enable webhook routing, these findings could be POSTed to an external URL. Ensure webhook endpoints are trusted and consider disabling webhook routing if unsure.
- Network endpoints: paperclip-issue-gate and run-recovery call the Paperclip API (PAPERCLIP_API_URL). Confirm the API_URL and keys are correct and limited. Review where any configured webhook URLs point before enabling them.
- State persistence: model-rotation stores state in a JSON file by default (~/.openclaw). If you need ephemeral operation, change statePath or run with an isolated account/container.
- Test in isolation: Run the provided tests and dry-run flags (e.g., --dry-run) in a safe environment to observe behavior before scheduling cron jobs. Prefer using --no-write or mocks for API calls when validating.
- Audit and mitigate: Because the registry omitted required env vars, treat this package as having incomplete metadata. If you will deploy it in production, request the author/maintainer clarify the declared required environment variables and consider running it in an isolated runtime with scoped credentials.
If you want, I can list all env vars and file paths referenced by the code and suggest minimal scoping for credentials and filesystem locations.
功能分析
Type: OpenClaw Skill
Name: paperclip-resilience
Version: 1.1.0
The paperclip-resilience skill bundle provides a suite of tools for managing AI agent reliability, including model fallback, run recovery, and task enrichment. The code demonstrates a high level of security awareness, featuring extensive input validation and path sanitization in `src/spawn-with-fallback.js` to prevent path traversal and command injection. It uses `execFile` for process execution and implements a comprehensive security test suite (`tests/test-security.js`) and a self-documented audit report (`SECURITY-AUDIT-REPORT.md`). The interactions with the Paperclip API and local filesystem are consistent with the stated purpose of agent orchestration and resilience.
能力评估
Purpose & Capability
The modules (spawn-with-fallback, run-recovery, model-rotation, blocker-routing, task-injection) align with the skill description: they orchestrate Paperclip + OpenClaw runs, rotate models, and detect/recover failures. However, the skill requires Paperclip API credentials and provider API keys (documented in SKILL.md and present in code) but the registry metadata declares no required environment variables — that's an inconsistency.
Instruction Scope
SKILL.md instructs running node scripts that call OpenClaw/ Paperclip endpoints and read config.json. The included code goes further: it queries Paperclip APIs, may create issues, scans session transcripts under ~/.openclaw, reads referenced Tasks/Journal/Project board markdown files, writes state to ~/.openclaw/model-rotation-state.json, and can POST to configurable webhooks. Those behaviors are within the stated resilience purpose but broaden the runtime surface (local home-directory file access + network requests to configurable endpoints).
Install Mechanism
No installation/download step is present (instruction-only installation via clawhub). No external binary downloads or package installs are required by package.json — low install mechanism risk.
Credentials
The code expects several environment variables (e.g., PAPERCLIP_API_URL, PAPERCLIP_API_KEY, PAPERCLIP_COMPANY_ID, PAPERCLIP_AGENT_ID, PAPERCLIP_PROJECT_ID, PAPERCLIP_RESILIENCE_CONFIG, optional BLOCKER_* env vars), and SKILL.md warns that multiple LLM provider API keys must be configured. Yet the registry metadata lists no required env vars. This is a mismap: the skill legitimately needs sensitive credentials (Paperclip API key and provider keys) but the manifest doesn't declare them, which can mislead operators about the privileges the skill will use.
Persistence & Privilege
The skill is not always-enabled and uses normal autonomous invocation defaults. It persists state and logs under the user's home (~/.openclaw and configured paths) and writes config/state files (model-rotation state, potential blockers journal, config.json). This is expected for an orchestration tool but means it will create and read persistent files in user home and therefore should be run with appropriate permissions and file-path review.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install paperclip-resilience - 安装完成后,直接呼叫该 Skill 的名称或使用
/paperclip-resilience触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Add interactive setup wizard (scripts/setup.js) and architecture documentation (docs/architecture.md)
v1.0.0
Initial OSS release: spawn-with-fallback, model-rotation, run-recovery, blocker-routing, task-injection. Security-audited for ClawHub publication (SUP-453).
元数据
常见问题
Paperclip Resilience 是什么?
Production resilience patterns for Paperclip AI agent orchestration. Spawn-with-fallback, model rotation, run recovery, blocker routing, and task injection —... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 102 次。
如何安装 Paperclip Resilience?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install paperclip-resilience」即可一键安装,无需额外配置。
Paperclip Resilience 是免费的吗?
是的,Paperclip Resilience 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Paperclip Resilience 支持哪些平台?
Paperclip Resilience 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Paperclip Resilience?
由 levineam(@levineam)开发并维护,当前版本 v1.1.0。
推荐 Skills