跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

action-runner

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.

项目与协作1.4kskills/action-runner/SKILL.md

安装

把这段话发给 Claude Code、Codex 或 Cursor。智能体会先检查安全性,你确认后才安装。

读取 https://funcoding.ai/skills/mohitagw15856/pm-claude-skills/action-runner/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

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 🔴.

TargetExample operationsDefault risk
GitHubcreate_issue, comment, open_pr · (merge_pr, close 🔴)🟡 (🔴 for merge/close)
Linear / Jiracreate_issue, update_status, comment🟡
Slackpost_message, reply_in_thread (outbound → always confirm)🔴
Notionappend_block, create_page, update_property🟡 (🔴 if it overwrites)
Email / Gmailsend_email (outbound)🔴
Calendarcreate_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

Example Trigger Phrases

  • "File tickets from a checklist."
  • "Create issues from a PRD."
  • "Execute the recommended next steps."
  • "Wire a skill's output into GitHub/Linear/Slack."

相似的 Skill

slack-gif-creator
anthropics/skills180k

slack-gif-creator

Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."

项目与协作

observability-and-instrumentation
addyosmani/agent-skills103k

observability-and-instrumentation

Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the available data.

项目与协作

understand-diff
Egonex-AI/Understand-Anything86k

understand-diff

Use when you need to analyze git diffs or pull requests to understand what changed, affected components, and risks

项目与协作

skill-share
ComposioHQ/awesome-claude-skills77k

skill-share

A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

项目与协作

slack-gif-creator
ComposioHQ/awesome-claude-skills77k

slack-gif-creator

Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".

项目与协作

connect-apps
ComposioHQ/awesome-claude-skills77k

connect-apps

Connect Claude to external apps like Gmail, Slack, GitHub. Use this skill when the user wants to send emails, create issues, post messages, or take actions in external services.

项目与协作