Answer: To enable a skill to run a script, add the script to your skill's directory, optionally pre-approve the tools the skill needs using the allowed-tools field in your SKILL.md frontmatter, and 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 Revision: 3 Digest: sha256:7a376652e29ca281 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:23:59Z Last changed: 2026-11-20T13:02:15Z (example script: — → convert-svg-to-png.sh) Last verified: 2026-11-20T13:02:15Z Next check: 2026-11-21T13:02:15Z 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 example script | convert-svg-to-png.sh | [1] | 2026-11-20 Sources: [1] GitHub. "Adding agent skills for GitHub Copilot CLI - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/add-skills Role: primary. Accessed: 2026-11-20T13:02:15Z 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) Quote: "run the `convert-svg-to-png.sh` script from this skill's base directory" (Supports: example script) Snapshot SHA-256: de85f2e58c280bd930724ed34b21900b9d8b6c5208b5169f8f759f78eb8a1652 (captured 2026-11-19T12:56:00Z) 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-19T12:56:00Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:02:15Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:02:15Z Last attempt: 2026-11-20T13:02:15Z 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-skill-script-2 How do I enable a GitHub Copilot skill to run a script? 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/enable-automatic-code-reviews How do I enable automatic GitHub Copilot code reviews on pull requests? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T13:02:15Z | changed | example script: — → convert-svg-to-png.sh | [1] 2026-11-20T13:02:15Z | changed | instructions location: — → Markdown body of SKILL.md | [1] 2026-11-20T13:02:15Z | changed | example allowed-tools value: — → shell | [1] 2026-11-20T13:02:15Z | changed | pre-approve field: — → allowed-tools | [1] 2026-11-20T13:02:15Z | changed | script location: — → Add the script to your skill's directory. | [1] 2026-11-20T13:02:15Z | changed | Example script: convert-svg-to-png.sh → — | [1] 2026-11-20T13:02:15Z | changed | Example structure: .github/skills/image-convert/ → — | [1] 2026-11-20T13:02:15Z | changed | Step 3: Write instructions that tell Copilot how to use the script. → — | [1] 2026-11-20T13:02:15Z | changed | Step 2: allowed-tools → — | [1] 2026-11-20T13:02:15Z | changed | Step 1: Add the script to your skill's directory. → — | [1] 2026-11-17T13:18:23Z | changed | Example script: — → convert-svg-to-png.sh | [1] 2026-11-17T13:18:23Z | changed | Example structure: — → .github/skills/image-convert/ | [1] 2026-11-17T13:18:23Z | changed | Step 3: — → Write instructions that tell Copilot how to use the script. | [1] 2026-11-17T13:18:23Z | changed | Step 2: — → allowed-tools | [1] 2026-11-17T13:18:23Z | changed | Step 1: — → Add the script to your skill's directory. | [1] 2026-11-17T13:18:23Z | changed | example script: convert-svg-to-png.sh → — | [1] 2026-11-17T13:18:23Z | changed | example skill directory: .github/skills/image-convert/ → — | [1] 2026-11-17T13:18:23Z | changed | example allowed tool: shell → — | [1] 2026-11-17T13:18:23Z | changed | pre-approve field: allowed-tools → — | [1] 2026-11-13T03:23:59Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/enable-skill-script/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 POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/enable-skill-script 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?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I enable a GitHub Copilot CLI skill to run a script? Revision 3, last verified 2026-11-20T13:02:15Z. https://latestn.com/tool/github-copilot/agents-and-automation/enable-skill-script (accessed 2026-11-21T09:54:04Z). @misc{LatestN_tool_github_copilot_agents_and_automation_enable_skill_script_r3, title = {How do I enable a GitHub Copilot CLI skill to run a script?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/enable-skill-script}}, note = {Revision 3; digest sha256:7a376652e29ca281; last verified 2026-11-20T13:02:15Z; accessed 2026-11-21T09:54:04Z} } 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