Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

github-agentic-workflows

БесплатноБез исполняемых скриптовНе проверен

GitHub Agentic Workflows (gh-aw) - markdown-based AI automation with 5-layer security, safe outputs, and Continuous AI patterns

Hack23от 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:

  1. Read-only tokens — Agent receives only read-scoped GitHub token
  2. Zero secrets in agent — Write tokens/API keys exist only in separate isolated jobs
  3. Containerized with network firewall — Agent Workflow Firewall (AWF) routes all outbound traffic through Squid proxy with domain allowlist
  4. Safe outputs with guardrails — Agent produces structured artifacts; a separate gated job applies only permitted actions
  5. 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.yml files using gh 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.yml files (regenerate via compile)
  • Push .md changes 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: with toolsets: [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-all without 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: claude and configure ANTHROPIC_API_KEY secret
  • For Codex: set engine: codex and configure OPENAI_API_KEY secret
  • 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: with types: [opened, reopened] for issue automation
    • pull_request: for PR-related automation
    • schedule: with human-friendly syntax (daily, weekly on monday) or cron
    • workflow_dispatch: for manual execution
    • slash_command: with command: for comment-triggered actions (e.g., /plan, /analyze)
  • Consider rate limits and costs for scheduled workflows
  • Test with workflow_dispatch before 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
Полный SKILL.md на GitHub

Установить 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), без исполняемых скриптов.

Похожие скиллы

Сравнить github-agentic-workflows с