setup-github-actions-ci

setup-github-actions-ci is a skill for Claude Code from KunanonJ/ai-skills-hub. It costs 78 tokens per session (2,261 once invoked), scanned A, original, MIT.

A setup guide for GitHub Actions workflows for R packages. GitHub Actions runs automated checks in response to repository events, while R CMD check tests whether an R package is correctly built and usable.

In plain words
What is it for?
Use it to create CI workflows for R packages, run checks on multiple platforms, publish coverage results, and deploy package documentation with pkgdown.
Why use it?
It helps automate package checks across supported environments and can add test coverage reports and deployment of a pkgdown documentation website.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to create CI workflows for R packages, run checks on multiple platforms, publish coverage results, and deploy package documentation with pkgdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kunanonj/ai-skills-hub/setup-github-actions-ci
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add KunanonJ/ai-skills-hub --skill setup-github-actions-ci
Clone the repo
git clone --depth 1 https://github.com/KunanonJ/ai-skills-hub

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-github-actions-ci

README.md
[![agentmods](https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/setup-github-actions-ci/github.svg)](https://agentmods.dev/skills/kunanonj/ai-skills-hub/setup-github-actions-ci)
Your own site
<a href="https://agentmods.dev/skills/kunanonj/ai-skills-hub/setup-github-actions-ci"><img src="https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/setup-github-actions-ci/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-github-actions-ci

Your own site · 80×15
<a href="https://agentmods.dev/skills/kunanonj/ai-skills-hub/setup-github-actions-ci"><img src="https://agentmods.dev/badge/skills/kunanonj/ai-skills-hub/setup-github-actions-ci.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.02261
Opus 5 $0.00039 $0.01130
Sonnet 5 $0.00016 $0.00452
Haiku 4.5 $0.00008 $0.00226

Measured 5d ago against content hash f4e89377ba93, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

setup-github-actions-ci scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/setup-github-actions-ci/SKILL.md · 292 lines

How it starts

The opening of the file, as written. The whole thing — 292 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Set Up GitHub Actions CI for R Packages

Configure automated R CMD check, test coverage, and documentation deployment via GitHub Actions.

When to Use

  • Setting up CI/CD for a new R package on GitHub
  • Adding multi-platform testing to an existing package
  • Configuring automated pkgdown site deployment
  • Adding code coverage reporting

Inputs

  • Required: R package with valid DESCRIPTION and tests
  • Required: GitHub repository (public or private)
  • Optional: Whether to include pkgdown deployment (default: no)
  • Optional: Whether to include coverage reporting (default: no)

Procedure

Step 1: Create R CMD Check Workflow

Create .github/workflows/R-CMD-check.yaml:

on:
  push:
    branches: [main, master]
  pull_request:
    branches: [main, master]

name: R-CMD-check
locale: caveman
source_locale: en
source_commit: 82c77053
translator: "Julius Brussee homage — caveman"
translation_date: "2026-04-19"

permissions: read-all

jobs:
  R-CMD-check:
    runs-on: ${{ matrix.config.os }}

    name: ${{ matrix.config.os }} (${{ matrix.config.r }})

    strategy:
      fail-fast: false
      matrix:
        config:
          - {os: macos-latest, r: 'release'}
          - {os: windows-latest, r: 'release'}
          - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
          - {os: ubuntu-latest, r: 'release'}
          - {os: ubuntu-latest, r: 'oldrel-1'}

    env:
      GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
      R_KEEP_PKG_SOURCE: yes

    steps:
      - uses: actions/checkout@v4

      - uses: r-lib/actions/setup-pandoc@v2

      - uses: r-lib/actions/setup-r@v2
        with:
          r-version: ${{ matrix.config.r }}
          http-user-agent: ${{ matrix.config.http-user-agent }}
          use-public-rspm: true

      - uses: r-lib/actions/setup-r-dependencies@v2
        with:
          extra-packages: any::rcmdcheck
          needs: check

      - uses: r-lib/actions/check-r-package@v2
        with:
          upload-snapshots: true
          build_args: 'c("--no-manual", "--compact-vignettes=gs+qpdf")'

Read the full file on GitHub · 292 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 292 lines · 78 tokens per session scan A f4e89377ba93

Subscribe to this mod's changes

setup-github-actions-ci is a skill published in the GitHub repository KunanonJ/ai-skills-hub (5 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 2,261 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.