Agent skill

Checking Workflow Permissions

by agntcy in agntcy/coffeeAgntcy

Runs task workflows:check-permissions to find any GitHub Actions workflow file with a write-all grant or no declared permissions, and scopes it down to least privilege.

Apache-2.0Auto-check passedDevOps & Cloud

Install Checking Workflow Permissions

skills CLI
$ npx skills add agntcy/coffeeAgntcy --skill checking-workflow-permissions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agntcy/coffeeAgntcy checking-workflow-permissions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/agntcy/coffeeAgntcy.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/quality-checks/checking-workflow-permissions .claude/skills/checking-workflow-permissions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
checking-workflow-permissions
GitHub stars
112
Token cost
~513 tokens
SKILL.md length
132 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
Apache-2.0

At a glance

Runs task workflows:check-permissions to find any GitHub Actions workflow file with a write-all grant or no declared permissions, and scopes it down to least privilege.

  • Editing a workflow file
  • SKILL.md covers What this skill does, Workflow and Notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • A job within one

What it does

Checking Workflow Permissions is an agent skill from agntcy/coffeeAgntcy. Runs task workflows:check-permissions to find any GitHub Actions workflow file with a write-all grant or no declared permissions, and scopes it down to least privilege. Use when adding or editing a workflow file, or a job within one.

Its SKILL.md is about 510 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering CI/CD. It works with GitHub Actions. The repository describes itself as: End-to-end reference application for AGNTCY Components. The licence is Apache-2.0.

When your agent uses it

  • Editing a workflow file
  • A job within one

Example prompts

  • “/checking-workflow-permissions”

What it can do on your machine

Read from SKILL.md and the folder at commit a01cbba. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Checking Workflow Permissions loads about 513 tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 132 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~513

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from agntcy/coffeeAgntcy at commit a01cbba, republished under its Apache-2.0 licence (© agntcy). 132 words, ~513 tokens.

Download SKILL.mdSave it as .claude/skills/checking-workflow-permissions/SKILL.md (or your agent's skills folder).
name
checking-workflow-permissions
description
Runs task workflows:check-permissions to find any GitHub Actions workflow file with a write-all grant or no declared permissions, and scopes it down to least privilege. Use when adding or editing a workflow file, or a job within one.

Checking workflow permissions

What this skill does

Runs task workflows:check-permissions (defined in Taskfile.yaml, wrapping scripts/checks/check_workflow_permissions.bash) to flag any file under .github/workflows/ that grants write-all (workflow- or job-level) or leaves permissions undeclared entirely. This is the same check task check:all runs as part of checks.yaml. See .agents/rules/quality/workflow-least-privilege.md for the underlying rule.

Workflow

- [ ] 1. Run: task workflows:check-permissions
- [ ] 2. For a file with no permissions: block at all, add one - either
        workflow-level if every job needs the same scopes, or per-job
        once they differ
- [ ] 3. For a write-all grant, replace it by naming only the scopes the
        job's steps actually use (usually contents: read for a
        checkout-and-run job; add anything broader only for a step that
        specifically calls for it, with a comment saying why)
- [ ] 4. Re-run task workflows:check-permissions to confirm it's clean

Notes

  • This script only checks the shape of the grant (write-all vs. undeclared vs. explicit) - it can't tell whether a granted scope is actually used by the steps. Read the steps by hand to judge that; prefer read over write and omitting a scope over granting read wherever the steps allow it.
  • Once a workflow's jobs have different permission needs, move from one workflow-level permissions: block to per-job blocks instead of widening the shared one to cover the most demanding job.

© agntcy, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/quality-checks/checking-workflow-permissions of agntcy/coffeeAgntcy.

Open the folder on GitHubat commit a01cbba

Compare with similar skills

Checking Workflow Permissions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Checking Workflow Permissions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Checking Workflow Permissions this skillagntcy/coffeeAgntcy112—~513Automated safety check: PassApache-2.0
Analyze GitHub Action Logswithastro/astro63k1 repos~1.3kAutomated safety check: PassCustom licence
GitHub Actions Templatesbartstc/vite-ts-react-template12214 repos~1.9kAutomated safety check: PassMIT
Nushellccusage/ccusage19k—~938Automated safety check: PassCustom licence
Repo Hygiene Scan and FixQwenLM/qwen-code28k—~1.7kAutomated safety check: PassApache-2.0
Senior DevOps Toolkitmaslennikov-ig/claude-code-orchestrator-kit2606 repos~1.1kAutomated safety check: NotesCustom licence

Similar skills

  • Official

    Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.

    63k GitHub starsUsed in 1 repo~1.3k tokens
    DevOps & CloudAuto-check passed
  • GitHub Actions Templates

    bartstc/vite-ts-react-template

    Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications.

    122 GitHub starsUsed in 14 repos~1.9k tokens
    DevOps & CloudAuto-check passed
  • Nushell

    ccusage/ccusage

    Guides ccusage Nushell scripts. An agent skill from ccusage/ccusage.

    19k GitHub stars~938 tokensUpdated today
    DevOps & CloudAuto-check passed
  • Scheduled CI skill that scans a repository for small, certain docs, test and code hygiene issues and fixes them on one branch with a commit per finding.

    28k GitHub stars~1.7k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes
  • CI Failure Triage and Repair

    Chachamaru127/claude-code-harness

    Diagnoses failing CI pipelines and tests, deciding first whether the test or the implementation is at fault, and hands hard cases to a dedicated fixer subagent.

    3.2k GitHub starsUsed in 1 repo~1.1k tokens
    DevOps & CloudAuto-check: notes

More from agntcy/coffeeAgntcy

All 17 skills in this repo
  • A2a Protocol

    agntcy/coffeeAgntcy

    A skill your agent uses when the user asks about A2A (Agent-to-Agent) protocol communication, OASF record formats, AGNTCY directory operations, agent card parsing, or dirctl CLI usage.

    112 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Add Repo Operation

    agntcy/coffeeAgntcy

    Guides adding a new repository operation (a check, validation, or piece of tooling) through this repo's standard script - Taskfile task - skill - CI enforcement - rule pipeline.

    112 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Authors and maintains the human-facing Agentic Workflows API documentation for the lungo subproject at coffeeAGNTCY/coffeeagents/lungo/docs/workflow-instanceapi.md.

    112 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Checking Pinned References

    agntcy/coffeeAgntcy

    Runs task pins:check to find any third-party GitHub Action, reusable-workflow, or image reference that isn't pinned to an immutable SHA/digest, and pins each one it finds.

    112 GitHub stars~578 tokensUpdated today
    Auto-check passed
  • Generate Release Notes

    agntcy/coffeeAgntcy

    Generates coffeeAgntcy CHANGELOG release notes and README Built With updates from PRs and dependency lockfiles since the previous release tag.

    112 GitHub stars~535 tokensUpdated today
    Auto-check passed
  • Linting GitHub Workflows

    agntcy/coffeeAgntcy

    Runs task workflows:lint (actionlint) against every file under .github/workflows/ and fixes what it reports.

    112 GitHub stars~507 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Checking Workflow Permissions

What does Checking Workflow Permissions do?

Runs task workflows:check-permissions to find any GitHub Actions workflow file with a write-all grant or no declared permissions, and scopes it down to least privilege. Checking Workflow Permissions is an agent skill from agntcy/coffeeAgntcy. Runs task workflows:check-permissions to find any GitHub Actions workflow file with a write-all grant or no declared permissions, and scopes it down to least privilege.

When should I use Checking Workflow Permissions?

Checking Workflow Permissions fits situations like: editing a workflow file; A job within one.

How do I install Checking Workflow Permissions in Claude Code?

Run `npx skills add agntcy/coffeeAgntcy --skill checking-workflow-permissions -a claude-code`. Or copy the skill folder (.agents/skills/quality-checks/checking-workflow-permissions in agntcy/coffeeAgntcy) into .claude/skills/checking-workflow-permissions in your project. Claude Code loads it when a task matches its description.

How do I install Checking Workflow Permissions in Codex?

Run `npx skills add agntcy/coffeeAgntcy --skill checking-workflow-permissions -a codex`. Or copy the skill folder (.agents/skills/quality-checks/checking-workflow-permissions in agntcy/coffeeAgntcy) into .agents/skills/checking-workflow-permissions in your project. Codex loads it when a task matches its description.

Can I use Checking Workflow Permissions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agntcy/coffeeAgntcy --skill checking-workflow-permissions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/checking-workflow-permissions, .gemini/skills/checking-workflow-permissions, .github/skills/checking-workflow-permissions and .opencode/skills/checking-workflow-permissions in your project.

What does Checking Workflow Permissions need to run?

SKILL.md names no scripts, command-line tools or credentials: Checking Workflow Permissions is instructions for the agent only.

Does Checking Workflow Permissions access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Checking Workflow Permissions safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Checking Workflow Permissions use?

Checking Workflow Permissions is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Checking Workflow Permissions use?

About 513 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Checking Workflow Permissions?

Skills that share tags, products or a category with Checking Workflow Permissions: Analyze GitHub Action Logs (withastro/astro, 63k stars), GitHub Actions Templates (bartstc/vite-ts-react-template, 122 stars), Nushell (ccusage/ccusage, 19k stars) and Repo Hygiene Scan and Fix (QwenLM/qwen-code, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Checking Workflow Permissions?

agntcy (a GitHub organization) maintains it in agntcy/coffeeAgntcy, which has 112 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: agntcy/coffeeAgntcy on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.