github-agentic-workflows
БесплатноБез исполняемых скриптовНе проверенGitHub Agentic Workflows (gh-aw) - markdown-based AI automation with 5-layer security, safe outputs, and Continuous AI patterns
от Hack23★ 15 звёзд на GitHubОб этом скилле
🤖 GitHub Agentic Workflows Skill
Purpose
This skill provides comprehensive guidance on GitHub Agentic Workflows (gh-aw), a Go-based GitHub CLI extension that enables writing agentic workflows in natural language using Markdown files and running them as GitHub Actions workflows. Developed by GitHub Next and Microsoft Research, gh-aw delivers repository automation with strong guardrails, safe outputs, and sandboxed execution.
gh-aw augments existing deterministic CI/CD with Continuous AI capabilities — systematic, automated application of AI to software collaboration tasks like triaging issues, maintaining documentation, improving code quality, and automating reviews.
When to Use
Apply this skill when:
- Writing AI-powered repository automation as Markdown workflows
- Implementing Continuous AI patterns (issue triage, documentation sync, code review, quality improvement)
- Leveraging safe-outputs for write operations without granting direct write permissions
- Using multiple AI engines (Copilot, Claude, Codex) for event-triggered and scheduled jobs
- Building orchestrator-worker patterns for complex multi-agent coordination
- Automating tasks that traditionally require human judgment
5-Layer Security Architecture
gh-aw enforces defense-in-depth with five security layers:
- Read-only tokens — Agent receives only read-scoped GitHub token
- Zero secrets in agent — Write tokens/API keys exist only in separate isolated jobs
- Containerized with network firewall — Agent Workflow Firewall (AWF) routes all outbound traffic through Squid proxy with domain allowlist
- Safe outputs with guardrails — Agent produces structured artifacts; a separate gated job applies only permitted actions
- Agentic threat detection — AI-powered scan of proposed changes before any write; blocks prompt injection, leaked credentials, malicious code
Rules
Workflow Structure
MUST:
- Create workflow files as Markdown (
.md) in.github/workflows/ - Include YAML frontmatter between
---markers at the top - Write natural language instructions below the frontmatter
- Compile to
.lock.ymlfiles usinggh aw compile - Commit both
.md(source) and.lock.yml(compiled) files - Use clear, imperative task descriptions in natural language
- Separate configuration (frontmatter) from instructions (body)
MUST NOT:
- Manually edit
.lock.ymlfiles (regenerate via compile) - Push
.mdchanges without recompiling - Write complex YAML conditionals in workflow files
- Skip compilation step before deployment
Frontmatter Configuration
MUST:
- Define
on:trigger(s) with appropriate event types and activity filters - Set
permissions:with specific resource scopes (e.g.,issues: read,contents: read) - Configure
tools:with specific toolsets (e.g.,github:withtoolsets: [issues, labels]) - Include
safe-outputs:for all write operations, using a hard limit where the output type supports it (e.g.,max,max-size) or an allowlist where it does not (e.g.,allowed) - Set
timeout-minutes:to prevent runaway workflows
MUST NOT:
- Use
permissions: write-allwithout explicit security review - Omit
safe-outputs:for workflows that create/modify resources - Hard-code secrets in frontmatter
- Grant unrestricted tool access
Natural Language Instructions
MUST:
- Write as if explaining a task to a colleague
- Use imperative mood ("Analyze this issue", "Create a summary")
- Include context, success criteria, and constraints
- Define expected outputs (comments, PRs, issues)
- Break complex tasks into clear numbered phases
- Specify what NOT to do when relevant
- Include examples of desired output format
MUST NOT:
- Write vague instructions ("Do something helpful")
- Assume the AI knows implicit repository context
- Mix code/YAML in instruction text
Engines (AI Models)
MUST:
- Use GitHub Copilot as default (no explicit
engine:needed) - For Claude: set
engine: claudeand configureANTHROPIC_API_KEYsecret - For Codex: set
engine: codexand configureOPENAI_API_KEYsecret - Test with chosen engine before production deployment
MUST NOT:
- Mix multiple engines in same workflow
- Assume identical capabilities across engines
Triggers
MUST:
- Choose appropriate trigger(s):
issues:withtypes: [opened, reopened]for issue automationpull_request:for PR-related automationschedule:with human-friendly syntax (daily,weekly on monday) or cronworkflow_dispatch:for manual executionslash_command:withcommand:for comment-triggered actions (e.g.,/plan,/analyze)
- Consider rate limits and costs for scheduled workflows
- Test with
workflow_dispatchbefore enabling automatic triggers
MUST NOT:
- Use overly frequent schedules that waste resources
- Trigger on every event type without necessity
Tools and MCP Integration
MUST:
- Configure tools in frontmatter with spe
Установить github-agentic-workflows в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл github-agentic-workflows?
GitHub Agentic Workflows (gh-aw) - markdown-based AI automation with 5-layer security, safe outputs, and Continuous AI patterns
Как установить скилл github-agentic-workflows?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл github-agentic-workflows запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic