# GitHub actions knowledge patch

> GitHub actions knowledge patch is an open-source agent skill for developer tools. Write and secure GitHub Actions workflows with current runner guidance. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Nevaberry/nevaberry-plugins/tree/main/plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch
- **Repository:** https://github.com/nevaberry/nevaberry-plugins
- **GitHub stars:** 25
- **License:** MIT
- **Skill name:** github-actions-knowledge-patch
- **Collection:** https://github.com/Nevaberry/nevaberry-plugins
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-21

## About

A knowledge patch for GitHub Actions that the agent uses when writing, reviewing, securing or operating workflows and runner fleets. Its method is to check trust boundaries first for workflows running with elevated permissions or consuming pull-request-controlled input, then verify runner versions and preview availability.

It treats pull_request_target and pull-request-derived workflow_run jobs as privileged contexts and advises keeping the fork protection in actions/checkout on unless a security review says otherwise. Reference files cover security trust and policy, self-hosted runners, workflow semantics and limits, and hosted runner images such as Windows Server 2025 and macOS 26.

## When your agent uses it

> GitHub Actions

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Nevaberry/nevaberry-plugins/tree/HEAD/plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch)
- [License: MIT](https://github.com/Nevaberry/nevaberry-plugins/tree/HEAD/plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch)

## Features

- **Trust boundary checks:** Event, ref, actor trust, permissions, environment and cache scope.
- **Privileged contexts:** Handling of pull_request_target and workflow_run.
- **Self-hosted runners:** Registration gates, update enforcement and autoscaling.
- **Workflow limits:** Concurrent steps, cancellation and reusable workflow limits.
- **Hosted images:** Notes on Windows Server 2025 and macOS images.

## Good for

- Review a workflow for fork-code risks
- Plan a self-hosted runner fleet update
- Check reusable-workflow limits
- Choose a hosted runner label

## Install

### Claude Code

This skill ships in the `knowledge-patch` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Nevaberry/nevaberry-plugins
/plugin install knowledge-patch@nevaberry
```

Or copy only this skill to `~/.claude/skills/github-actions-knowledge-patch`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/github-actions-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch" ~/.claude/skills/github-actions-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/github-actions-knowledge-patch` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/github-actions-knowledge-patch` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/github-actions-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch" ~/.agents/skills/github-actions-knowledge-patch &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/github-actions-knowledge-patch` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/github-actions-knowledge-patch` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/github-actions-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch" ~/.cursor/skills/github-actions-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/github-actions-knowledge-patch` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Nevaberry/nevaberry-plugins.git --path plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch
```

Or copy the folder to `~/.gemini/skills/github-actions-knowledge-patch` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/github-actions-knowledge-patch`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/github-actions-knowledge-patch &&
cp -R "$tmp/plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch" ~/.copilot/skills/github-actions-knowledge-patch &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/github-actions-knowledge-patch` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Nevaberry/nevaberry-plugins.git
```

Then copy `nevaberry-plugins/plugins/knowledge-patch/patches-claude/github-actions-knowledge-patch` into your agent's skills folder as `github-actions-knowledge-patch`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does GitHub actions knowledge patch check first?

Trust boundaries for elevated-permission or PR-input workflows.

### Does GitHub actions knowledge patch cover self-hosted runners?

Yes, including registration and release-age requirements.

### Is GitHub actions knowledge patch version-specific?

It follows current Actions behavior and asks to verify runner versions before relying on newer interfaces.

### How do I install GitHub actions knowledge patch in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/github-actions-knowledge-patch to use it in all your projects, or to .claude/skills/github-actions-knowledge-patch in one project. Or install the knowledge-patch plugin, which includes it: /plugin marketplace add Nevaberry/nevaberry-plugins, then /plugin install knowledge-patch@nevaberry.

### Does GitHub actions knowledge patch run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use GitHub actions knowledge patch?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to GitHub actions knowledge patch?

The closest alternatives to GitHub actions knowledge patch are GitHub actions hardening, Gitlab ci knowledge patch, Agentic actions auditor, GitHub actions efficiency and GitHub actions runtime upgrade conventions.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [GitHub actions hardening](https://ai-powered.com/skills/github-actions-hardening): GitHub actions hardening is an open-source agent skill for developer tools.
- [Gitlab ci knowledge patch](https://ai-powered.com/skills/gitlab-ci-knowledge-patch): Gitlab ci knowledge patch is an open-source agent skill for developer tools.
- [Agentic actions auditor](https://ai-powered.com/skills/agentic-actions-auditor): Agentic actions auditor is an open-source agent skill for ai models and llm tooling.
- [GitHub actions efficiency](https://ai-powered.com/skills/github-actions-efficiency): GitHub actions efficiency is an open-source agent skill for developer tools.
- [GitHub actions runtime upgrade conventions](https://ai-powered.com/skills/github-actions-runtime-upgrade-conventions): GitHub actions runtime upgrade conventions is an open-source agent skill for developer tools.
- [Post patch validation](https://ai-powered.com/skills/post-patch-validation): Post patch validation is an open-source agent skill for security.
- [Implementing GitHub advanced security for code scanning](https://ai-powered.com/skills/implementing-github-advanced-security-for-code-scanning): Implementing GitHub advanced security for code scanning is an open-source agent skill for security.
- [Implementing devsecops security scanning](https://ai-powered.com/skills/implementing-devsecops-security-scanning): Implementing devsecops security scanning is an open-source agent skill for security.

---
Source: https://ai-powered.com/skills/github-actions-knowledge-patch
