用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Morrison-Lab/ai-config --skill claude-agent-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | claude-agent-workflow |
| description | Add or update claude.yml workflow. |
| user-invocable | true |
| allowed-tools | ["Read","Edit","Write","Bash"] |
Sets up or edits the @claude agent GitHub Actions workflow (.github/workflows/claude.yml or .github/workflows/claude-bot.yml),
which delegates to the reusable claude.yml workflow from Morrison-Lab/gha.
For the read-only PR review workflow,
use claude-review-workflow.
Path: .github/workflows/claude.yml (or .github/workflows/claude-bot.yml)
name: Claude Code
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
# Summon the agent explicitly: assign the issue (requires mention in body/title),
# or mention the bot in a comment. Deliberately not `issues: opened` to avoid
# dispatching on issues that merely discuss the bot.
issues:
types: [assigned]
pull_request_review:
types: [submitted]
jobs:
claude:
permissions:
contents: write
pull-requests: write
issues: write
id-token: write
actions: write
uses: Morrison-Lab/gha/.github/workflows/claude.yml@v2
secrets: inherit
with:
setup-r: false
eager-pr: true
review-workflow-file: claude-review.yml
Morrison-Lab/gha)By delegating to Morrison-Lab/gha/.github/workflows/claude.yml@v2,
the consumer repo automatically inherits:
@claude) on comments, reviews, and assigned issues while filtering out bot-generated loops.cancel-in-progress: false to avoid clobbering concurrent in-flight agent pushes.gh read commands, git, build tools) and enforces secure WebFetch domain allowlisting.SUBMODULES_TOKEN) and optional domain tokens (EPI202_TOKEN).setup-r: Initialize R toolchain and renv package cache (true for R packages / Quarto R repos).eager-pr: Open a draft PR up front when claiming an issue (true by default).review-workflow-file: Name of the companion review workflow file (e.g. claude-review.yml or claude-code-review.yml).use-ai-config: Automatically load ai-config agent instructions (defaults to true, set false for Morrison-Lab/ai-config itself).apt-packages / pip-packages: Additional build or analysis packages.CLAUDE_CODE_OAUTH_TOKEN secret exists in repo/org secrets (gh secret list)..github/workflows/claude.yml.contents: write, pull-requests: write, issues: write, id-token: write, actions: write) are declared on the caller job.setup-r, review-workflow-file, etc.).claude-review-workflow — Companion skill for the automated PR review workflow.upgrade-to-gha — Migration guidelines for upgrading standalone workflows to Morrison-Lab/gha.config-ai — Router for AI workflow capability requests.