Answer: To enable a skill to run a script, add the script to your skill's directory and reference it in your SKILL.md instructions, optionally pre-approving the tools the skill needs via the allowed-tools field in the SKILL.md frontmatter. Then write instructions in the Markdown body of SKILL.md describing when and how to run the script. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/enable-skill-script-2 Revision: 1 Digest: sha256:e36ca19c9b437aa6 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:26:38Z Last changed: 2026-11-13T03:26:38Z Last verified: 2026-11-20T13:06:18Z Next check: 2026-11-21T13:06:18Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of script location | Add the script to your skill's directory. | [1] | 2026-11-20 pre-approve field | allowed-tools | [1] | 2026-11-20 example allowed-tools value | shell | [1] | 2026-11-20 instructions location | Markdown body of SKILL.md | [1] | 2026-11-20 Sources: [1] GitHub. "Adding agent skills for GitHub Copilot - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-cloud-agent/add-skills Role: primary. Accessed: 2026-11-20T13:06:18Z Quote: "Add the script to your skill's directory." (Supports: script location) Quote: "you can use the allowed-tools field to list the tools Copilot may use without asking for confirmation each time" (Supports: pre-approve field) Quote: "allowed-tools: shell" (Supports: example allowed-tools value) Quote: "In the Markdown body of SKILL.md , describe when and how to run the script." (Supports: instructions location) Snapshot SHA-256: 94b7a8cc4f2c160b323d0a47b08870f7859cc7556ee9d2f53297e74344e1c9b7 (captured 2026-11-18T13:01:09Z) 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:01:08Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:06:18Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:06:18Z Last attempt: 2026-11-20T13:06:18Z Notes and limitations: Extracted automatically from a single official source (section "Enabling a skill to run a script"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/enable-subagents How do I enable subagents in GitHub Copilot in my IDE? https://latestn.com/tool/github-copilot/agents-and-automation/error-handling-hook-signature How do I create an error handling hook in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/agents-and-automation/error-hook-best-practices What are best practices for using the GitHub Copilot SDK error handling hook? https://latestn.com/tool/github-copilot/agents-and-automation/enable-autopilot-local How do I enable autopilot in GitHub Copilot CLI to complete tasks autonomously on my local machine? https://latestn.com/tool/github-copilot/agents-and-automation/enable-git-lfs How do I enable Git Large File Storage (LFS) for GitHub Copilot cloud agent? https://latestn.com/tool/github-copilot/agents-and-automation/enable-skill-script How do I enable a GitHub Copilot CLI skill to run a script? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:26:38Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/enable-skill-script-2/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/enable-skill-script-2 POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/enable-skill-script-2 with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/enable-skill-script-2?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I enable a GitHub Copilot skill to run a script? Revision 1, last verified 2026-11-20T13:06:18Z. https://latestn.com/tool/github-copilot/agents-and-automation/enable-skill-script-2 (accessed 2026-11-21T09:55:00Z). @misc{LatestN_tool_github_copilot_agents_and_automation_enable_skill_script_2_r1, title = {How do I enable a GitHub Copilot skill to run a script?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/enable-skill-script-2}}, note = {Revision 1; digest sha256:e36ca19c9b437aa6; last verified 2026-11-20T13:06:18Z; accessed 2026-11-21T09:55:00Z} } 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/enable-skill-script-2