Agent Loops

ReviewAudited by ClawScan on May 10, 2026.

Overview

The skill is mostly coherent as a multi-agent workflow runner, but its live workflows can delegate code changes and even ClawHub publishing to nested agents without a clear final approval gate.

Treat this as a powerful workflow runner. Use dry-run first, review which workflow will run, and be especially careful with the skill-publishing workflow because it can ask a nested agent to publish to ClawHub. Do not include secrets in prompts, and periodically clean saved run logs.

Findings (5)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

A user asking for publish preparation or running this workflow live could end up with a skill published to ClawHub by a nested agent before they have explicitly approved the final release.

Why it was flagged

The live workflow delegates an external publishing action to a spawned developer agent, but the artifacts do not show a final user confirmation gate, credential boundary, or rollback/review step immediately before publishing.

Skill content
task_template: "Publish this skill to ClawHub. Run the clawhub-publisher with the review feedback incorporated:\n\nReview:\n{{ review_output }}"
Recommendation

Separate 'prepare for publish' from 'publish now', require an explicit final confirmation before running publisher commands, and document any credentials or account permissions needed.

What this means

Live runs may cause multiple subagents to act on the workspace, depending on Claude CLI permissions and the workflow prompt.

Why it was flagged

The core runner executes nested Claude CLI agents with rendered workflow tasks. This is central to the skill's purpose, but users should understand that `--apply` is real execution rather than a planning-only mode.

Skill content
cmd = [CLAUDE_BIN, "-p", task, "--output-format", "json"]
Recommendation

Use dry-run first, review the selected workflow, and run `--apply` only when you are comfortable with delegated agent execution.

What this means

If an unexpected or modified router exists at that path, workflow tasks may be passed to and influenced by code not included in this review.

Why it was flagged

The runner optionally invokes a router script from another local skill if present. This is disclosed in the README as optional routing, but the referenced helper is outside this artifact set and not declared as a formal requirement.

Skill content
ROUTER = OPENCLAW_HOME / "workspace" / "skills" / "agent-swarm" / "scripts" / "router.py"
Recommendation

Install the agent-swarm router only from a trusted source, keep it reviewed, or disable/remove it if deterministic local routing is preferred.

What this means

Sensitive project details may remain on disk after a workflow finishes.

Why it was flagged

The skill intentionally persists live workflow data. That is useful for auditing, but prompts, code snippets, review results, and generated outputs can contain sensitive information.

Skill content
Run persistence — Live runs are saved to `runs/` as JSON for auditing
Recommendation

Avoid including secrets in prompts, review saved run files periodically, and add retention or cleanup guidance for the `runs/` directory.

What this means

A bad intermediate response could steer subsequent agents toward incorrect, unsafe, or unintended changes.

Why it was flagged

The skill passes one agent's output directly into later agents. This is an intended feature, but it means mistaken or adversarial content in an earlier step can influence later steps.

Skill content
Output chaining — Each step's output is available to subsequent steps as `{{ step_id_output }}`
Recommendation

Inspect intermediate outputs for high-impact workflows and add guardrails that tell later agents to treat prior outputs as untrusted suggestions rather than authoritative instructions.