# GitHub actions public ci diagnostics

> GitHub actions public ci diagnostics is an open-source agent skill for developer tools. Guides an agent through diagnosing GitHub Actions failures when full logs are unavailable. 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/JinNing6/Noosphere/tree/main/shared_skills/active/github-actions-public-ci-diagnostics
- **Repository:** https://github.com/jinning6/noosphere
- **GitHub stars:** 18
- **License:** Apache-2.0
- **Skill name:** github-actions-public-ci-diagnostics
- **Collection:** https://github.com/JinNing6/Noosphere
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill walks an agent through finding out why a remote GitHub Actions run failed when local tests pass or the job logs cannot be read. It focuses on public repositories, where the REST job logs endpoint may return 403, so the agent relies on public run, job, check-run and annotation endpoints instead, and records the workflow, job, step, Python version, event and ref involved.

When annotations are too sparse, the skill suggests adding a small repository helper that runs pytest, saves output as UTF-8, and emits a GitHub error annotation on failure, with the same helper wired into both quality and publish workflows. It also covers reproducing failures by layer, such as OS-specific paths, case sensitivity, executable names and temp directories on Linux runners, and it handles PyPI Trusted Publishing failures by separating publisher configuration problems from code problems.

The skill assumes a Git repository with GitHub Actions workflows and a local Python toolchain. It advises against moving or reusing pushed version tags, and against adding a stored PyPI token as a shortcut.

## When your agent uses it

> Diagnose GitHub Actions CI or release workflow failures when full logs are inaccessible, especially public repositories where REST job logs return 403, pytest fails only on Linux runners, check annotations are sparse, PyPI Trusted Publishing fails, or Windows-only test fixtures break on ubuntu-latest.

## What it can access

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

- [Instructions only, no scripts](https://github.com/JinNing6/Noosphere/tree/HEAD/shared_skills/active/github-actions-public-ci-diagnostics)
- [License: Apache-2.0](https://github.com/JinNing6/Noosphere/tree/HEAD/shared_skills/active/github-actions-public-ci-diagnostics)

## Features

- **Public endpoint triage:** Maps a failing run using public REST endpoints for runs, jobs, check runs and annotations without needing secrets.
- **Failure annotation helper:** Adds a small script that runs pytest and emits GitHub error annotations when the run fails.
- **Layer-by-layer reproduction:** Checks OS-specific paths, case sensitivity, encoding and Python matrix differences that break only on Linux runners.
- **Venv fixture guidance:** Explains how smoke-test fixtures should cover both Windows and POSIX virtualenv layouts.
- **PyPI Trusted Publishing triage:** Separates invalid-publisher configuration errors from code failures and lists the claims to check.
- **Immutable release tags:** Requires a version bump and new tag rather than moving a pushed release tag.

## Good for

- Diagnose a failing GitHub Actions run on a public repo when the job logs return 403
- Find out why pytest passes locally but fails on ubuntu-latest
- Add error annotations to a CI test step so failures are visible
- Troubleshoot a PyPI Trusted Publishing invalid-publisher error
- Fix a venv smoke test that only works with Windows Scripts paths

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/github-actions-public-ci-diagnostics` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/github-actions-public-ci-diagnostics &&
cp -R "$tmp/shared_skills/active/github-actions-public-ci-diagnostics" ~/.claude/skills/github-actions-public-ci-diagnostics &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/github-actions-public-ci-diagnostics &&
cp -R "$tmp/shared_skills/active/github-actions-public-ci-diagnostics" ~/.agents/skills/github-actions-public-ci-diagnostics &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/github-actions-public-ci-diagnostics &&
cp -R "$tmp/shared_skills/active/github-actions-public-ci-diagnostics" ~/.cursor/skills/github-actions-public-ci-diagnostics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/github-actions-public-ci-diagnostics` 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/JinNing6/Noosphere.git --path shared_skills/active/github-actions-public-ci-diagnostics
```

Or copy the folder to `~/.gemini/skills/github-actions-public-ci-diagnostics` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/JinNing6/Noosphere.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/github-actions-public-ci-diagnostics &&
cp -R "$tmp/shared_skills/active/github-actions-public-ci-diagnostics" ~/.copilot/skills/github-actions-public-ci-diagnostics &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/github-actions-public-ci-diagnostics` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/JinNing6/Noosphere.git
```

Then copy `Noosphere/shared_skills/active/github-actions-public-ci-diagnostics` into your agent's skills folder as `github-actions-public-ci-diagnostics`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It works through public GitHub REST endpoints and a local Python project with pytest, and it expects the project's workflows to run through repository scripts. It does not require secrets.

### Does GitHub actions public ci diagnostics change my workflow files?

It can add a helper script and wire quality and publish workflows through it, plus tests for those changes, following the steps it describes.

### What should I do if the job logs return 403?

The skill says to treat the missing logs as an observability gap rather than guessing the cause, and to rely on public annotations and reproduced local conditions instead.

### Can GitHub actions public ci diagnostics move a release tag to fix a failed publish?

No. The skill says pushed public version tags should never be moved or reused; a version bump and new tag are required.

### How do I install GitHub actions public ci diagnostics in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/github-actions-public-ci-diagnostics to use it in all your projects, or to .claude/skills/github-actions-public-ci-diagnostics in one project.

### Does GitHub actions public ci diagnostics 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 public ci diagnostics?

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 public ci diagnostics?

The closest alternatives to GitHub actions public ci diagnostics are Fix ci, Ci, Gh fix ci, Diagnose ci gate and Fix ci.

## Where this comes from

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

## Alternatives

- [Fix ci](https://ai-powered.com/skills/fix-ci): Fix ci is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-chachamaru127): Ci is an open-source agent skill for developer tools.
- [Gh fix ci](https://ai-powered.com/skills/gh-fix-ci): Gh fix ci is a free agent skill for developer tools.
- [Diagnose ci gate](https://ai-powered.com/skills/diagnose-ci-gate): Diagnose ci gate is an open-source agent skill for developer tools.
- [Fix ci](https://ai-powered.com/skills/fix-ci-fumiya-kume): Fix ci is an open-source agent skill for developer tools.
- [Loop on ci](https://ai-powered.com/skills/loop-on-ci): Loop on ci is an open-source agent skill for developer tools.
- [GitHub actions efficiency](https://ai-powered.com/skills/github-actions-efficiency): GitHub actions efficiency is an open-source agent skill for developer tools.
- [Ci](https://ai-powered.com/skills/ci-maxwell2732): Ci is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/github-actions-public-ci-diagnostics
