copilot-sdk-hooks

Community

Control Copilot flows with hooks.

Authorkyle-deprow
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Intercept, validate, modify, and audit every step of the Copilot agent's execution through six hook points, enabling safety, compliance, and customization.

Core Features & Use Cases

  • Intercept before tool use for permission and argument control
  • Transform and audit tool results after execution, and log tool calls for compliance
  • Modify user prompts and inject session context to guide the LLM
  • Manage session lifecycle with start/end hooks and error-handling pipelines

Quick Start

Implement the onPreToolUse and onPostToolUse hooks in your Copilot SDK setup to start intercepting and shaping tool calls

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: copilot-sdk-hooks
Download link: https://github.com/kyle-deprow/ai_scaffolding/archive/main.zip#copilot-sdk-hooks

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.