[bot] Add permissionRequest hook and built-in CLI skills to Learning Hub#1288
Draft
github-actions[bot] wants to merge 1 commit intostagedfrom
Draft
Conversation
- automating-with-hooks.md: Add new permissionRequest hook event to the events table, with an explanatory note and a practical example showing how to programmatically approve or deny tool permission requests in CI and automated environments (introduced in CLI 1.0.16) - creating-effective-skills.md: Add a 'Built-in CLI Skills' section documenting that CLI 1.0.17 ships with built-in skills pre-installed, how to list them, and how they complement community and personal skills Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What's new
Two new features shipped in GitHub Copilot CLI this week that were not yet documented in the Learning Hub:
1.
permissionRequesthook event (CLI 1.0.16 — 2026-04-02)The CLI introduced a new
permissionRequesthook that fires when the agent requests permission to take an action — before the permission prompt is shown to the user. This is distinct frompreToolUseand is especially useful for:Source: CLI changelog v1.0.16 — "Add PermissionRequest hook to allow scripts to programmatically approve or deny tool permission requests"
2. Built-in CLI skills (CLI 1.0.17 — 2026-04-03)
The CLI now ships with built-in skills pre-installed. The first built-in skill provides a guide for customizing the Copilot cloud agent's environment. Users can discover them with
/skills list.Source: CLI changelog v1.0.17 — "Built-in skills are now included with the CLI, starting with a guide for customizing Copilot cloud agent's environment"
What was updated
website/src/content/docs/learning-hub/automating-with-hooks.mdpermissionRequestto the Hook Events tablepermissionRequestfrompreToolUselastUpdatedto 2026-04-03website/src/content/docs/learning-hub/creating-effective-skills.mdlastUpdatedto 2026-04-03