action-runner

GitHub

将技能推荐转化为安全执行的实际行动(如创建工单、发布更新)。通过干跑预览、风险分级和用户审批机制,确保操作安全。支持GitHub/Linear/Slack等目标,执行后记录结果至大脑,杜绝静默操作。

skills/action-runner/SKILL.md mohitagw15856/pm-claude-skills

Trigger Scenarios

要求根据计划采取行动 从清单文件化工单 基于PRD创建问题 执行推荐的下一步骤 将技能输出集成到外部工具

Install

npx skills add mohitagw15856/pm-claude-skills --skill action-runner -g -y
More Options

Use without installing

npx skills use mohitagw15856/pm-claude-skills@action-runner

指定 Agent (Claude Code)

npx skills add mohitagw15856/pm-claude-skills --skill action-runner -a claude-code -g -y

安装 repo 全部 skill

npx skills add mohitagw15856/pm-claude-skills --all -g -y

预览 repo 内 skill

npx skills add mohitagw15856/pm-claude-skills --list

SKILL.md

Frontmatter
{
    "name": "action-runner",
    "description": "Turn a skill's recommendations into real, executed actions — open the tickets, file the issues, post the updates — safely: dry-run preview, risk-classified, approval-gated, then recorded back to the brain. Use when asked to act on a plan, file tickets from a checklist, create issues from a PRD, execute the recommended next steps, or wire a skill's output into GitHub\/Linear\/Slack. Produces a dry-run actions plan with per-action risk, executes only after approval via the connected action MCP, and logs what was done. Nothing acts silently."
}

Action Runner Skill

The library is great at recommending work. This skill executes it — the action layer of the Professional Brain (Phase 2). A skill says "open a ticket per checklist item"; this turns that into real GitHub/Linear/Slack actions, safely: previewed, risk-rated, approved, then recorded. The cardinal rule: nothing acts silently.

What This Skill Produces

  1. A dry-run actions plan — every proposed action with its target, operation, and risk.
  2. After approval, the executed actions (via the connected action MCP) — outbound/destructive ones gated individually.
  3. A record back to the brain of what was actually done, with provenance.

Required Inputs

Ask for (if not already provided):

  • The recommendations to act on (a launch checklist, PRD requirements, postmortem follow-ups…).
  • The connected action MCP and targets — which GitHub repo / Linear project / Slack channel. Scope is limited to what the user names; never act outside it.
  • Approval posture — what may run with a single OK vs. what needs per-action confirmation.

How it works

recommend → build an actions plan (JSON) → preview + risk-gate → approve → execute → record
  1. Build the plan — express each action as JSON: {"target","op","args","why","risk?"}.
  2. Preview + gate — run the helper; it prints a dry-run, classifies risk (🟢 low / 🟡 medium / 🔴 high), and refuses to proceed while any 🔴 outbound/destructive action is unapproved:
    echo '<plan json>' | python3 scripts/action_preview.py -
    # after the user approves the risky ones:
    echo '<plan json>' | python3 scripts/action_preview.py - --allow-high
    
  3. Approve — low/medium can run on a single confirmation; every 🔴 (post, send, delete, deploy, merge, charge…) needs explicit per-action approval. Default is do nothing until told.
  4. Execute — only approved actions, only via the connected action MCP (e.g. Composio/GitHub create_issue). One target at a time; stop and report on the first failure.
  5. Record — append what was actually done to the brain so the loop closes:
    python3 ../professional-brain/scripts/brain_write.py ./brain decisions "Filed launch tickets" \
      --tag external --body "Opened 7 issues in acme/app from the launch checklist" --commit
    

Supported action targets

Any action MCP can be wired in; these are the common targets, with example operations and the default risk the gate applies. Reads are 🟢; anything outbound, destructive, or that spends is 🔴.

Target Example operations Default risk
GitHub create_issue, comment, open_pr · (merge_pr, close 🔴) 🟡 (🔴 for merge/close)
Linear / Jira create_issue, update_status, comment 🟡
Slack post_message, reply_in_thread (outbound → always confirm) 🔴
Notion append_block, create_page, update_property 🟡 (🔴 if it overwrites)
Email / Gmail send_email (outbound) 🔴
Calendar create_event, invite (outbound) 🟡 (🔴 if it emails invitees)

Pick the narrowest target and op that does the job, scope to exactly what the user named, and let the risk gate decide what needs explicit approval. Outbound messages (Slack/email) are 🔴 by default — the model never posts on someone's behalf without a per-action yes.

Safety rules (non-negotiable)

  • Dry-run by default. The plan is shown before anything runs.
  • Approval-gated. No execution without a yes; 🔴 actions are confirmed one by one.
  • Scope-limited. Only the repos/channels/projects the user named.
  • Logged. Every executed action is recorded to the brain with an [external] tag and a link.
  • No silent retries, no bulk outbound. If a step fails, stop and surface it.

The contract for other skills

An action-aware skill adds a short "Proposes Actions" section: after producing its artifact, it lists the actions it could take (target · op · why), then hands off to action-runner — which previews, gates, executes, and records. The skill never executes directly.

Output Format

  1. Proposed actions — a table: # · target · operation · why · risk.
  2. Gate result — the preview output; the 🔴 actions needing approval called out explicitly.
  3. Executed (after approval) — what ran, with links/IDs returned by the MCP.
  4. Recorded to the brain — the line(s) appended, with provenance.

Quality Checks

  • A dry-run plan is shown before anything executes
  • Every action has a risk level; 🔴 actions are individually approved
  • Execution stays within the named scope and uses only the connected MCP
  • Each executed action is recorded back to the brain with an [external] tag
  • On failure, it stops and reports rather than retrying blindly

Anti-Patterns

  • Executing anything without showing the dry-run plan first
  • Treating an outbound/destructive action (post, email, delete, deploy) as low-risk
  • Acting outside the scope the user named, or fanning out to many targets
  • "Helpfully" doing more than was approved
  • Forgetting to record what was done — the brain must reflect reality

Version History

  • a38bc30 Current 2026-07-05 11:28

Same Skill Collection

exports/openclaw/360-feedback-template/SKILL.md
exports/openclaw/401k-plan-decoder/SKILL.md
exports/openclaw/ab-test-planner/SKILL.md
exports/openclaw/ab-test-readout/SKILL.md
exports/openclaw/accessibility-audit/SKILL.md
exports/openclaw/account-plan/SKILL.md
exports/openclaw/acquirer-red-team/SKILL.md
exports/openclaw/ad-copy/SKILL.md
exports/openclaw/aeo-optimizer/SKILL.md
exports/openclaw/agenda-or-cancel/SKILL.md
exports/openclaw/agent-design-review/SKILL.md
exports/openclaw/agent-observability-spec/SKILL.md
exports/openclaw/agent-spec/SKILL.md
exports/openclaw/ai-ethics-review/SKILL.md
exports/openclaw/ai-eval-plan/SKILL.md
exports/openclaw/ai-feature-prd/SKILL.md
exports/openclaw/ai-product-canvas/SKILL.md
exports/openclaw/air-quality/SKILL.md
exports/openclaw/altitude-shifter/SKILL.md
exports/openclaw/ambiguity-resolver/SKILL.md
exports/openclaw/analyst-relations-brief/SKILL.md
exports/openclaw/announcement-card/SKILL.md
exports/openclaw/api-docs-writer/SKILL.md
exports/openclaw/api-test-plan/SKILL.md
exports/openclaw/api-versioning-strategy/SKILL.md
exports/openclaw/apology-letter/SKILL.md
exports/openclaw/architecture-decision-record/SKILL.md
exports/openclaw/architecture-diagram/SKILL.md
exports/openclaw/archive-strategy/SKILL.md
exports/openclaw/assumption-bounty/SKILL.md
exports/openclaw/assumption-mapper/SKILL.md
exports/openclaw/async-update-format/SKILL.md
exports/openclaw/auto-repair-estimate-decoder/SKILL.md
exports/openclaw/autopilot-charter/SKILL.md
exports/openclaw/benefits-decoder/SKILL.md
exports/openclaw/bid-tender-review/SKILL.md
exports/openclaw/board-deck-narrative/SKILL.md
exports/openclaw/board-minutes/SKILL.md
exports/openclaw/board-pre-read/SKILL.md
exports/openclaw/bom-cost-review/SKILL.md
exports/openclaw/bookkeeping-categorization/SKILL.md
exports/openclaw/boolean-search-builder/SKILL.md
exports/openclaw/brag-doc/SKILL.md
exports/openclaw/brainstorming/SKILL.md
exports/openclaw/brief-builder/SKILL.md
exports/openclaw/briefing-note/SKILL.md
exports/openclaw/budget-builder/SKILL.md
exports/openclaw/budget-variance-analysis/SKILL.md
exports/openclaw/bug-diagnosis/SKILL.md
exports/openclaw/bug-report/SKILL.md

Metadata

Files
0
Version
471c606
Hash
abb086d8
Indexed
2026-07-05 11:28

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-30 16:23
浙ICP备14020137号-1 $방문자$