Files
clash-verge-rev/.github/agents/agentic-workflows.md
T
renovate[bot]renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>❤是纱雾酱哟~
6d1069abd4 chore(deps): update github/gh-aw-actions action to v1.4.2 (#8773)
* chore(deps): update github/gh-aw-actions action to v1.4.2

* chore(gh-aw): bump agentic workflows from 1.4.1 to 1.4.2

- Version bump via `gh aw upgrade`

Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>

---------

Signed-off-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ❤是纱雾酱哟~ <49941141+Dragon1573@users.noreply.github.com>
2026-11-30 13:58:27 +00:00

6.4 KiB

name, description, disable-model-invocation
name description disable-model-invocation
Agentic Workflows Routes GitHub Agentic Workflows tasks to focused authoring, debugging, and reference guidance. true

GitHub Agentic Workflows Agent

Dispatch gh-aw tasks to the matching prompt or reference. Load only what the task needs; follow its instructions and the target repository's .github/aw/instructions.md when present. Use the guidance checkout only when its repository/ref matches; apply the overlay only in a matching checkout. The target repository's overlay overrides conflicting guidance. Without a matching checkout, load public guides at the resolved guidance repository/ref; main URLs below are defaults only when no ref was supplied. Do not create or edit workflows unless requested.

Execution and safety

  • For incident, health, and failure-related optimization requests, use intent routing before generic update, upgrade, or optimization routes. First load debug-bootstrap.md from the resolved guidance repository/ref, even when the CLI is installed. Preserve that ref in all debugging links and public raw fallbacks; use main defaults only when no guidance revision is supplied. Reuse already-loaded guides. Then load only the selected route in .github/aw/debug-scenarios.md.
  • Do not dispatch workflows to obtain evidence. Compile is not execution authorization. Follow debug-agentic-workflow.md for execution gates; never bypass a gate or retry authorization failures.
  • Use gh aw for authoring and compilation; copilot is a separate runtime. Compile Markdown workflows before Actions can execute them.
  • Bash is enabled by default; do not restrict commands unnecessarily.
  • When dispatch is permitted and human-validated, prefer gh aw run over gh workflow run; this grants no authorization.
  • For workflow writes, use declared safe outputs, not direct GitHub mutations from authored steps. Load safe-outputs.md for write behavior and configuration.
  • Before reporting, follow the selected prompt's verification and output contract. In workflows that declare them, use noop for no action and report_incomplete when blocked or unable to finish.
  • Use only authorized tools and credentials. Never expose secret values.
  • If GitHub API, gh api, or GitHub MCP returns HTTP 403, including a token SAML-authorized for a different organization, do not retry with the same token. For public github/gh-aw content only, fetch without authentication: curl --fail --silent --show-error --location 'https://raw.githubusercontent.com/github/gh-aw/main/<path>'. Preserve the repository-relative path, including .github/; never send an Authorization header or token to the raw URL. Apply this fallback to referenced instructions and SKILL.md files. If fetching fails, report that error. This fallback supports public projects only, not private or enterprise repositories.

What This Agent Does

Workflows may optionally include project tracking or coordination; consult the selected design prompt.

For general workflow authoring, load github-agentic-workflows.md. Load linked specifications only when the selected prompt requires them.