Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计提醒

github-actionsGitHub Actions 自动化

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

33,027

周安装

834

GitHub Stars

1

下载量

5,215
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:github-actions(GitHub Actions 自动化)
来源仓库:https://github.com/ljt-520/openclaw-backup
仓库路径:skills/github-actions
安装命令:
npx skills add https://github.com/ljt-520/openclaw-backup --skill 'GitHub Actions'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ljt-520/openclaw-backup --skill 'GitHub Actions'

简介

github-actions 用于围绕 GitHub 仓库和协作流程提供辅助能力。

  • 适合查询项目状态、整理变更或检查协作事项。
  • 使用时需区分只读查询和写入操作。github-actions 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 涉及创建 PR 或修改 Issue 时应确认 token 权限和仓库范围。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。

SKILL.md

Setup

On first activation, read setup.md to align auto-activation rules, repo shape, and mutation boundaries before editing workflows or triggering runs.

When to Use

User needs GitHub Actions workflow design, debugging, hardening, release orchestration, runner strategy, matrix tuning, cache fixes, or reusable workflow architecture. Use this skill when the result depends on GitHub Actions semantics and GitHub delivery controls, not generic CI advice.

Architecture

Memory lives in ~/github-actions/. See memory-template.md for the baseline structure.

~/github-actions/
|-- memory.md              # Persistent repo context and activation boundaries
|-- repo-map.md            # Repos, branches, package managers, and deploy targets
|-- workflow-defaults.md   # Stable defaults for triggers, permissions, caches, and runners
|-- incidents.md           # Failure signatures, root causes, and fixes
`-- release-rules.md       # Promotion gates, approvals, and rollback notes

Quick Reference

Load only the file needed for the current workflow problem.

TopicFile
Setup and activation behaviorsetup.md
Memory schema and status modelmemory-template.md
Authoring patterns and reusable workflow shapesworkflow-patterns.md
Permissions, secrets, OIDC, and fork safetysecurity-model.md
Run failure triage and log-first debuggingdebugging-playbook.md
Tag, release, and deployment orchestrationrelease-patterns.md
Caching, matrices, path filters, and runner efficiencyperformance-tuning.md

Requirements

  • Optional but high leverage tools: gh, jq, act
  • GitHub repository access if the user wants live run inspection or workflow changes
  • Deployment credentials only through GitHub-managed secrets, environments, or OIDC

Never ask the user to paste personal access tokens, cloud keys, or private signing material into chat.

CI/CD Examples

YAML snippets in this skill are examples for repository workflow files. References like ${{github.*}}, ${{inputs.*}}, ${{vars.*}}, and ${{secrets.*}} belong to GitHub Actions runtime, not to the agent runtime. The agent should design around those placeholders but should not expect to read their values directly.

Operating Coverage

This skill covers GitHub Actions as an operating system for delivery:

  • workflow authoring across push, pull_request, workflow_dispatch, schedule, and workflow_call
  • job design across permissions, concurrency, matrices, artifacts, caches, services, and environments
  • release and deployment pipelines with protected branches, approvals, tags, and rollback checkpoints
  • incident response for flaky runs, missing artifacts, cache corruption, and environment drift

Data Storage

Local notes in ~/github-actions/ may include:

  • repo topology, protected branches, and environment names
  • known-good workflow defaults and reusable workflow contracts
  • recurring incident signatures with fixes and prevention notes
  • release gates, promotion steps, and rollback constraints

Core Rules

1. Start from Trigger, Target, and Artifact Contract

Before editing YAML, define:

  • the event that should start the workflow
  • the branch, tag, or environment it may affect
  • the artifact or status each job must produce

Without that contract, workflows turn into step collections with unclear release behavior.

2. Default to Explicit Permissions and Narrow Blast Radius

Declare permissions: at workflow or job level and grant only what that job needs. Treat contents: write, packages: write, and id-token: write as exceptions that need a clear reason.

3. Separate Validation, Build, Release, and Deploy Concerns

Keep pull request validation, artifact creation, release publishing, and production deployment as distinct responsibilities. Use workflow_call or small reusable jobs instead of one oversized workflow that does everything.

4. Bound Every Run with Concurrency, Timeouts, and Filters

Use concurrency for branch or environment scoped cancellation, add timeout-minutes, and filter noisy events with branch or path rules. Minutes disappear quickly when redundant runs are left unbounded.

5. Optimize Deterministic Work, Not Random Side Effects

Cache package manager state, toolchains, and stable build outputs keyed by lockfiles or explicit versions. Use artifacts for job handoffs. Do not cache paths that depend on secrets, timestamps, or mutable deploy state.

6. Debug from Logs and Reproduction Evidence

Classify failures before rewriting workflows:

  • trigger and condition mismatch
  • missing dependency or toolchain drift
  • credential or permission denial
  • artifact or path contract break
  • flaky external dependency

Fix the failure mode that exists, not the one that feels familiar.

7. Prefer Short-Lived Credentials and Protected Deploy Surfaces

Use GitHub environments, reviewer gates, and OIDC federation where possible. Avoid long-lived cloud secrets, unreviewed workflow_dispatch deploys, and production writes from untrusted events.

GitHub Actions Traps

  • Mixing pull request validation and production deployment in one unguarded workflow -> accidental releases from the wrong event.
  • Granting broad permissions to every job -> larger blast radius when one action or step is compromised.
  • Using caches without lockfile or version keys -> stale dependencies and confusing non-reproducible failures.
  • Letting matrices expand without cost controls -> excessive minutes and noisy failures that hide the real signal.
  • Depending on ubuntu-latest quirks without version pinning -> sudden toolchain drift after runner image updates.
  • Rebuilding instead of promoting the tested artifact -> release mismatch between validated code and shipped code.
  • Treating reruns as the fix -> root cause remains and the incident repeats.

External Endpoints

EndpointData SentPurpose
https://github.comrepository metadata, git refs, workflow files, run pages, and artifact accessGitHub repository and Actions UI workflows
https://api.github.comworkflow, run, check, release, and repository API payloadsAPI-driven Actions inspection and control
Cloud or deployment endpoints explicitly configured by the workflowdeployment payloads, build artifacts, and short-lived auth tokensRelease and deploy steps after user approval

No other data should be sent externally unless the workflow itself is configured to call additional services.

Security & Privacy

Data that leaves your machine:

  • GitHub repository and Actions traffic when the user requests live inspection or workflow changes
  • deployment traffic only to user-approved targets configured in the workflow

Data that stays local:

  • operating notes under ~/github-actions/
  • workflow drafts, incident analysis, and release policies prepared locally

This skill does NOT:

  • ask for raw personal access tokens or cloud secrets in chat
  • recommend bypassing branch protection or approval gates
  • hide undeclared outbound integrations
  • modify its own SKILL.md

Trust

This skill depends on GitHub and any deployment systems the user explicitly connects to their workflows. Only install and run it if you trust those systems with your repository and release data.

Scope

This skill ONLY:

  • designs, reviews, and improves GitHub Actions workflows
  • debugs workflow runs with log-driven reasoning and stable reproduction steps
  • structures safe release and deployment automation

This skill NEVER:

  • assume write access to repositories or environments without confirmation
  • suggest secret exfiltration, masking bypasses, or hidden credential handling
  • normalize production deployment from untrusted pull request contexts

Related Skills

Install with clawhub install <slug> if user confirms:

  • ci-cd - Choose CI and deployment strategy before locking into one platform.
  • git - Tighten branch, tag, and history handling around workflow events.
  • workflow - Design multi-step execution systems with clearer ownership and gating.
  • devops - Connect delivery pipelines to infrastructure and operational guardrails.
  • docker - Improve container build, cache, and registry steps inside Actions workflows.

Feedback

  • If useful: clawhub star github-actions
  • Stay updated: clawhub sync

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.37%
按下载量换算1,845

Claude

33.19%
按下载量换算1,731

Cursor

20.49%
按下载量换算1,069

Gemini CLI

8.84%
按下载量换算461

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills