← 返回 Skills 市场
keugenek

Shark

作者 keugenek · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
131
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install shark
功能描述
Enables non-blocking AI agent execution by spawning parallel remora subagents for slow tasks, keeping the main agent responsive and efficient.
安全使用建议
What this skill will actually do: it spawns background jobs, writes and reads state files (pending.json, timings.jsonl, .shark-done, SHARK_LOG.md), schedules a periodic poller/cron job, and may run arbitrary shell commands (gh, ssh, build/test commands, or launch an LLM runtime). These capabilities are coherent with 'non-blocking execution' but mean the skill can execute anything your agent/runtime user can — including commands that access SSH keys, GitHub tokens, or other workspace secrets. Before installing: (1) review the included scripts (shark.sh and poll-and-deliver.js) to ensure they do only what you expect; (2) run the skill in an isolated environment or a sandboxed agent first; (3) restrict runtime permissions if possible (avoid giving the skill access to secrets or global cron unless necessary); (4) be cautious about the calls that use 'powershell -ExecutionPolicy Bypass' and 'claude --permission-mode bypassPermissions' since those flags relax protections; (5) if you install, periodically check pending.json and any created cron jobs and remove them when not needed.
功能分析
Type: OpenClaw Skill Name: shark Version: 0.1.0 The 'shark' skill implements a non-blocking execution framework for AI agents, referred to as the 'Shark Pattern.' It provides instructions and scripts (shark.sh, shark-exec/SKILL.md) to decompose slow tasks into parallel sub-agents ('remoras') or background processes, ensuring the main agent turn remains responsive (under 30 seconds). The skill utilizes standard OpenClaw features such as sessions_spawn, cron-based polling, and background execution to manage these tasks. While the implementation involves complex agent instructions for state management and process monitoring, the behavior is entirely consistent with the stated goal of optimizing agent performance and lacks any indicators of malicious intent or unauthorized data access.
能力评估
Purpose & Capability
Name/description (non-blocking execution via remora subagents) matches the included SKILL.md, helper scripts (shark.sh) and the shark-exec poller. The skill asks for no unrelated credentials or env vars and its code implements the described background-exec + poller pattern.
Instruction Scope
The SKILL.md instructs the agent to spawn background processes, create/modify state files (pending.json, timings.jsonl, .shark-done, SHARK_LOG.md), schedule a recurring poller/cron worker, and kill or deliver outputs from jobs. All of this is coherent with the stated purpose, but it does grant the skill broad ability to execute arbitrary shell commands and read/write workspace files — behavior you should expect but verify you are comfortable granting.
Install Mechanism
This is instruction-only with included helper scripts; recommended install examples pull from GitHub raw URLs and git clones from the project's repo — standard and traceable. There is no opaque download+extract from unknown personal servers in the install spec.
Credentials
The skill declares no required env vars or credentials. However, its instructions explicitly run SSH commands, GH CLI, long-running shell commands, and call agent runtimes (claude with --permission-mode bypassPermissions / powershell -ExecutionPolicy Bypass). If those tools are present, the skill will execute commands with the user's runtime privileges and can therefore access any workspace secrets (SSH keys, GitHub tokens, env vars) available to that runtime. This is expected for a background-exec pattern but important to be aware of.
Persistence & Privilege
The skill schedules poller/cron jobs and writes state files so it can operate across turns. always:false (no forced inclusion) and disable-model-invocation:false (normal). Scheduling cron/poller jobs gives the skill an autonomous execution surface (periodic agent turns) which is required for its function but increases blast radius — review what privileges the runtime's cron/agent scheduler has before allowing it to create persistent pollers.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install shark
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /shark 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Shark Pattern skill initial release. - Introduces the Shark Pattern for universal non-blocking execution in AI coding agents. - Main agent never blocks on slow tools; instead, spawns "remora" subagents for parallel background execution. - Outlines lifecycle, key rules, and clear examples for implementation. - Defines progress reporting format and output conventions (e.g., Unicode progress bars). - Describes "pilot fish" sub-pattern for opportunistic time-bounded sub-analysis during blocking waits. - Provides guidelines for tool classification, timing budgets, and decision criteria for spawning subagents.
元数据
Slug shark
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Shark 是什么?

Enables non-blocking AI agent execution by spawning parallel remora subagents for slow tasks, keeping the main agent responsive and efficient. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。

如何安装 Shark?

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

Shark 是免费的吗?

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

Shark 支持哪些平台?

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

谁开发了 Shark?

由 keugenek(@keugenek)开发并维护,当前版本 v0.1.0。

💬 留言讨论