<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-built-the-ultimate-agent-skill-for-github-actions-see-how-i-made-it-fyltig6g1" -->

---
title: I Built The Ultimate Agent Skill for GitHub Actions: See...
description: A deep dive into building an advanced 'agent skill' for GitHub Actions, covering how to structure skill.md files, reference documents, and progressive...
canonical: https://daily.dev/posts/i-built-the-ultimate-agent-skill-for-github-actions-see-how-i-made-it-fyltig6g1
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I Built The Ultimate Agent Skill for GitHub Actions: See How I Made It | daily.dev
og:description: A deep dive into building an advanced 'agent skill' for GitHub Actions, covering how to structure skill.md files, reference documents, and progressive...
og:url: https://daily.dev/posts/i-built-the-ultimate-agent-skill-for-github-actions-see-how-i-made-it-fyltig6g1
og:image: https://api.daily.dev/og/posts/FylTIG6G1.png
og:image:alt: I Built The Ultimate Agent Skill for GitHub Actions: See How I Made It
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I Built The Ultimate Agent Skill for GitHub Actions: See How I Made It

**[Bret Fisher](https://daily.dev/sources/bretfisher)** · 43 min read · 1 upvotes · 0 comments

## Summary

A deep dive into building an advanced 'agent skill' for GitHub Actions, covering how to structure skill.md files, reference documents, and progressive disclosure to save tokens. The creator walks through eval-driven development (writing failing evals before adding rules), testing skills against cheap vs expensive models, using Anthropic's skill-creator skill and Matt Pocock's writing-for-agents skill, and building an audit mode that scans existing workflows for issues like missing SHA pinning. Includes a sponsored segment for Bitrise's BuildHub custom GitHub Actions runners.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=zPWAjOWimak>

## Questions this post answers

### What is eval-driven development for AI agent skills?

Eval-driven development means writing a failing eval first, then building the skill's rules until that eval passes, similar to test-driven development but for agent behavior. Evals compare output generated without the skill versus with the skill, grading whether the skill actually produces the intended result. Running the same evals against cheaper models (like Haiku instead of Opus) reveals whether the skill's rules are explicit enough to work reliably regardless of model cost.

_Anyone building reliable agent skills for CI/CD can compare eval-driven approaches shared across daily.dev._

### How do you make an agent skill only callable by a human and not the AI model in Claude Code?

Setting disable-model-invocation to true in a skill's configuration file marks that skill as user-only, meaning the agent cannot trigger it automatically and it never gets loaded into the token context window, saving tokens. This is used for a companion audit skill that simply calls back into a main skill with a specific purpose, avoiding duplicate token-costly content while keeping the audit workflow accessible on demand.

_Developers optimizing agent skill token usage can track these configuration patterns on daily.dev._

### Why should GitHub Actions use pinned SHA commits for third-party actions instead of version tags?

Pinning actions to a specific commit SHA rather than a version tag makes the reference deterministic and immune to a tag being moved to point at different, potentially malicious code later. During real-world skill auditing, a sub-agent got confused about how to verify or apply SHA pinning correctly, guessing wrong methods instead of using an explicit, deterministic command-line tool, which highlighted the need for very precise instructions on how pinning should be validated.

_Teams hardening CI pipelines can follow discussions on GitHub Actions security practices via daily.dev._

## Similar posts on daily.dev

- [How to Build an AI Agent That Keeps Learning From GitHub](https://daily.dev/posts/how-to-build-an-ai-agent-that-keeps-learning-from-github-zdfi6h7pu) · Medium · 1 upvotes · 0 comments
- [Manage agent skills with GitHub CLI](https://daily.dev/posts/manage-agent-skills-with-github-cli-cwqtearpx) · GitHub Changelog · 1 upvotes · 0 comments
- [Behind the scenes: How we build, test, and scale Google Agent Skills](https://daily.dev/posts/behind-the-scenes-how-we-build-test-and-scale-google-agent-skills-xz3oqrnps) · Google Cloud · 5 upvotes · 1 comments
- [How I built a custom agent skill to configure Application Insights](https://daily.dev/posts/how-i-built-a-custom-agent-skill-to-configure-application-insights-ot6scibwc) · The Art of Simplicity · 1 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#ai-agents](https://daily.dev/tags/ai-agents), [#cicd](https://daily.dev/tags/cicd), [#claude-code](https://daily.dev/tags/claude-code), [#github-actions](https://daily.dev/tags/github-actions)

[View this post on daily.dev](https://daily.dev/posts/i-built-the-ultimate-agent-skill-for-github-actions-see-how-i-made-it-fyltig6g1)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"I Built The Ultimate Agent Skill for GitHub Actions: See How I Made It","url":"https://daily.dev/posts/i-built-the-ultimate-agent-skill-for-github-actions-see-how-i-made-it-fyltig6g1","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/i-built-the-ultimate-agent-skill-for-github-actions-see-how-i-made-it-fyltig6g1"},"datePublished":"2026-08-26T17:08:56.402Z","dateModified":"2026-09-14T06:45:07.929Z","description":"A deep dive into building an advanced 'agent skill' for GitHub Actions, covering how to structure skill.md files, reference documents, and progressive...","image":"https://i.ytimg.com/vi/zPWAjOWimak/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/zPWAjOWimak/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Bret Fisher","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Bret Fisher","logo":"https://media.daily.dev/image/upload/s--8RH_C-vW--/f_auto,q_auto/v1780213225/logos/bretfisher?_a=BAMAMiWQ0","url":"https://daily.dev/sources/bretfisher"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/i-built-the-ultimate-agent-skill-for-github-actions-see-how-i-made-it-fyltig6g1","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devops,ai-agents,cicd,claude-code,github-actions","timeRequired":"PT43M","video":{"@type":"VideoObject","name":"I Built The Ultimate Agent Skill for GitHub Actions: See How I Made It","description":"A deep dive into building an advanced 'agent skill' for GitHub Actions, covering how to structure skill.md files, reference documents, and progressive...","thumbnailUrl":"https://i.ytimg.com/vi/zPWAjOWimak/sddefault.jpg","uploadDate":"2026-08-26T17:08:56.402Z","duration":"PT43M","url":"https://api.daily.dev/r/FylTIG6G1","embedUrl":"https://www.youtube.com/embed/zPWAjOWimak"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Bret Fisher","item":"https://daily.dev/sources/bretfisher"},{"@type":"ListItem","position":3,"name":"I Built The Ultimate Agent Skill for GitHub Actions: See How I Made It"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/i-built-the-ultimate-agent-skill-for-github-actions-see-how-i-made-it-fyltig6g1#faq","mainEntity":[{"@type":"Question","name":"What is eval-driven development for AI agent skills?","acceptedAnswer":{"@type":"Answer","text":"Eval-driven development means writing a failing eval first, then building the skill's rules until that eval passes, similar to test-driven development but for agent behavior. Evals compare output generated without the skill versus with the skill, grading whether the skill actually produces the intended result. Running the same evals against cheaper models (like Haiku instead of Opus) reveals whether the skill's rules are explicit enough to work reliably regardless of model cost. Anyone building reliable agent skills for CI/CD can compare eval-driven approaches shared across daily.dev."}},{"@type":"Question","name":"How do you make an agent skill only callable by a human and not the AI model in Claude Code?","acceptedAnswer":{"@type":"Answer","text":"Setting disable-model-invocation to true in a skill's configuration file marks that skill as user-only, meaning the agent cannot trigger it automatically and it never gets loaded into the token context window, saving tokens. This is used for a companion audit skill that simply calls back into a main skill with a specific purpose, avoiding duplicate token-costly content while keeping the audit workflow accessible on demand. Developers optimizing agent skill token usage can track these configuration patterns on daily.dev."}},{"@type":"Question","name":"Why should GitHub Actions use pinned SHA commits for third-party actions instead of version tags?","acceptedAnswer":{"@type":"Answer","text":"Pinning actions to a specific commit SHA rather than a version tag makes the reference deterministic and immune to a tag being moved to point at different, potentially malicious code later. During real-world skill auditing, a sub-agent got confused about how to verify or apply SHA pinning correctly, guessing wrong methods instead of using an explicit, deterministic command-line tool, which highlighted the need for very precise instructions on how pinning should be validated. Teams hardening CI pipelines can follow discussions on GitHub Actions security practices via daily.dev."}}]}
```

