yolop-hooks

Configure pre-tool-use behavioral hooks for the Yolop agent.

12|Updated May 27, 2026
One-click install
npx skills add https://github.com/everruns/yolop --skill yolop-hooks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yolop-hooks
Source: https://github.com/everruns/yolop/tree/main/src/bundled/system-skills/yolop-hooks
Command: npx skills add https://github.com/everruns/yolop --skill yolop-hooks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the need for granular control over an autonomous agent's behavior, allowing users to restrict or monitor specific tool calls to ensure workspace safety and compliance.

Core Features & Use Cases

  • Custom Guardrails: Create block rules to prevent the agent from executing sensitive commands like git commits or package publishing.
  • Audit Logging: Implement monitoring hooks that log tool usage to a file for security review.
  • Flexible Scoping: Apply rules globally across all sessions or restrict them to specific project workspaces.

Quick Start

Ask the agent to block all git commands in the current workspace by creating a new hook.

Frequently Asked Questions about yolop-hooks

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up custom safety guardrails for an autonomous agent?

To set up custom safety guardrails, configure behavioral hooks that intercept pre-tool-use events, allowing you to block sensitive commands like git commits or package publishing before execution.

Can I restrict an agent from executing specific commands in my workspace?

Yes, you can restrict an agent from executing specific commands by creating block rules via behavioral hooks, preventing unauthorized mutations and enforcing security policies within your project workspace.

What is the best way to audit and log tool usage for compliance?

The best way to audit tool usage for compliance is implementing monitoring hooks that intercept pre-tool-use events and log command history to a file for security review.

Does this agent hook configuration support global and workspace scoping?

Yes, agent hook configuration supports flexible scoping, allowing you to apply security policies and audit rules globally across all sessions or restrict them to specific project workspaces.

How do agent behavioral hooks intercept and manage tool execution?

Agent behavioral hooks intercept tool execution by validating hook specifications during pre-tool-use events and upserting them into the configuration state to manage agent behavior.