Skip to content

[bot] Add permissionRequest hook and built-in CLI skills to Learning Hub#1288

Draft
github-actions[bot] wants to merge 1 commit intostagedfrom
update/learning-hub-permissionrequest-builtin-skills-edef51420222f823
Draft

[bot] Add permissionRequest hook and built-in CLI skills to Learning Hub#1288
github-actions[bot] wants to merge 1 commit intostagedfrom
update/learning-hub-permissionrequest-builtin-skills-edef51420222f823

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 3, 2026

What's new

Two new features shipped in GitHub Copilot CLI this week that were not yet documented in the Learning Hub:

1. permissionRequest hook event (CLI 1.0.16 — 2026-04-02)

The CLI introduced a new permissionRequest hook that fires when the agent requests permission to take an action — before the permission prompt is shown to the user. This is distinct from preToolUse and is especially useful for:

  • CI pipelines that need to auto-approve certain categories of actions
  • Governance environments enforcing policy-based approval
  • Automated workflows that should run without interactive prompts

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.md

    • Added permissionRequest to the Hook Events table
    • Added a clarifying note distinguishing permissionRequest from preToolUse
    • Added a new "Programmatic Permission Approval with permissionRequest" practical example section with JSON config and a sample bash script
    • Updated lastUpdated to 2026-04-03
  • website/src/content/docs/learning-hub/creating-effective-skills.md

    • Added a new "Built-in CLI Skills" subsection explaining that CLI 1.0.17 ships with built-in skills, how to list them, and how they complement community and personal skills
    • Updated lastUpdated to 2026-04-03

Generated by Learning Hub Updater ·

- 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants