customaize-agent-create-hook

Community

Create custom event handlers for OpenCode plugins.

AuthorGamezar
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides users in creating custom event handlers for OpenCode plugins, enabling them to automate responses to various events within the OpenCode environment, such as tool execution, session lifecycle changes, file modifications, and shell command events.

Core Features & Use Cases

  • Event-Driven Automation: Define TypeScript functions that trigger automatically based on specific OpenCode events.
  • Behavior Modification: Intercept and modify tool arguments before execution, or inject environment variables into shell commands.
  • Observation & Logging: React to tool execution results, file edits, or session lifecycle events for monitoring and auditing.
  • Use Case: Automatically format TypeScript files whenever they are edited by the agent, or block dangerous shell commands before they are executed.

Quick Start

Use the customaize-agent-create-hook skill to create a plugin that logs every file edit.

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: customaize-agent-create-hook
Download link: https://github.com/Gamezar/opencode-cek/archive/main.zip#customaize-agent-create-hook

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 223,000+ vetted skills library on demand.