Answer: Initialize the repository for agentic authoring with the GitHub CLI GitHub Agentic Workflows extension (gh aw init), then start your coding agent (for example, Copilot CLI or VS Code agent mode) and enter a prompt mentioning the agentic-workflows skill describing your desired workflow. The agent creates and compiles the workflow using the GitHub CLI; review it, ask the agent to commit and push the files, then trigger it from the GitHub Actions tab or with gh aw run YOUR-WORKFLOW-NAME. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/create-agentic-workflow-cli-vscode Revision: 3 Digest: sha256:61f8b12511be163d (changes whenever the content changes) Timeline: Created: 2026-11-13T03:29:28Z Last changed: 2026-11-18T13:05:27Z (Run command: — → gh aw run YOUR-WORKFLOW-NAME) Last verified: 2026-11-20T13:10:01Z Next check: 2026-11-21T13:10:01Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Initialization command | gh aw init | [1] | 2026-11-20 Coding agent examples | Copilot CLI or VS Code agent mode | [1] | 2026-11-20 Prompt skill | /agentic-workflows | [1] | 2026-11-20 Run command | gh aw run YOUR-WORKFLOW-NAME | [1] | 2026-11-20 Sources: [1] GitHub. "Creating GitHub Agentic Workflows - GitHub Docs". https://docs.github.com/en/copilot/how-tos/github-agentic-workflows/creating-github-agentic-workflows Role: primary. Accessed: 2026-11-20T13:10:01Z Quote: "initialize the repository for agentic authoring (recommended for first-time setup in a repository): gh aw init" (Supports: Initialization command) Quote: "Start your coding agent in the context of your repository (for example, Copilot CLI or VS Code agent mode)." (Supports: Coding agent examples) Quote: "Enter a prompt mentioning the agentic-workflows skill and describing your desired workflow: Copilot prompt /agentic-workflows" (Supports: Prompt skill) Quote: "Trigger the workflow from the GitHub Actions tab, or with the GitHub CLI run: gh aw run YOUR-WORKFLOW-NAME" (Supports: Run command) Snapshot SHA-256: 36a6c647cf010187019492c532adbb7fd8b2667394b41b8a22af0d8a07eb2004 (captured 2026-11-18T13:05:26Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:05:27Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:10:01Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:10:01Z Last attempt: 2026-11-20T13:10:01Z Notes and limitations: Extracted automatically from a single official source (section "Using a CLI coding agent or VS Code"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/create-agentic-workflows How do I create GitHub Copilot agentic workflows? https://latestn.com/tool/github-copilot/agents-and-automation/create-automation How do I create an automation in the GitHub Copilot app? https://latestn.com/tool/github-copilot/agents-and-automation/create-automation-2 How do I create an automation with Copilot cloud agent in GitHub Copilot? https://latestn.com/tool/github-copilot/agents-and-automation/copilot-rationale-for-actions What rationale does GitHub Copilot provide for its automated issue actions? https://latestn.com/tool/github-copilot/agents-and-automation/create-add-agent-skill How do I create and add an agent skill for GitHub Copilot CLI? https://latestn.com/tool/github-copilot/agents-and-automation/create-add-skill How do I create and add a skill for GitHub Copilot? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:05:27Z | changed | Run command: — → gh aw run YOUR-WORKFLOW-NAME | [1] 2026-11-18T13:05:27Z | changed | Prompt skill: — → /agentic-workflows | [1] 2026-11-18T13:05:27Z | changed | Coding agent examples: — → Copilot CLI or VS Code agent mode | [1] 2026-11-18T13:05:27Z | changed | Initialization command: — → gh aw init | [1] 2026-11-18T13:05:27Z | changed | run command: gh aw run YOUR-WORKFLOW-NAME → — | [1] 2026-11-18T13:05:27Z | changed | prompt skill: /agentic-workflows → — | [1] 2026-11-18T13:05:27Z | changed | coding agent examples: Copilot CLI or VS Code agent mode → — | [1] 2026-11-18T13:05:27Z | changed | extension name: gh aw → — | [1] 2026-11-18T13:05:27Z | changed | init command: gh aw init → — | [1] 2026-11-17T13:28:30Z | changed | run command: — → gh aw run YOUR-WORKFLOW-NAME | [1] 2026-11-17T13:28:30Z | changed | prompt skill: — → /agentic-workflows | [1] 2026-11-17T13:28:30Z | changed | coding agent examples: — → Copilot CLI or VS Code agent mode | [1] 2026-11-17T13:28:30Z | changed | extension name: — → gh aw | [1] 2026-11-17T13:28:30Z | changed | init command: — → gh aw init | [1] 2026-11-17T13:28:30Z | changed | Run command: gh aw run YOUR-WORKFLOW-NAME → — | [1] 2026-11-17T13:28:30Z | changed | Prompt skill: /agentic-workflows → — | [1] 2026-11-17T13:28:30Z | changed | Coding agent examples: Copilot CLI or VS Code agent mode → — | [1] 2026-11-17T13:28:30Z | changed | Extension name: GitHub Agentic Workflows extension ( gh aw ) → — | [1] 2026-11-17T13:28:30Z | changed | Initialization command: gh aw init → — | [1] 2026-11-13T03:29:28Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/create-agentic-workflow-cli-vscode/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-agentic-workflow-cli-vscode POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-agentic-workflow-cli-vscode with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/create-agentic-workflow-cli-vscode?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a GitHub Copilot agentic workflow using a CLI coding agent or VS Code? Revision 3, last verified 2026-11-20T13:10:01Z. https://latestn.com/tool/github-copilot/agents-and-automation/create-agentic-workflow-cli-vscode (accessed 2026-11-21T09:54:53Z). @misc{LatestN_tool_github_copilot_agents_and_automation_create_agentic_workflow_cli_vscode_r3, title = {How do I create a GitHub Copilot agentic workflow using a CLI coding agent or VS Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/create-agentic-workflow-cli-vscode}}, note = {Revision 3; digest sha256:61f8b12511be163d; last verified 2026-11-20T13:10:01Z; accessed 2026-11-21T09:54:53Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/agents-and-automation/create-agentic-workflow-cli-vscode