claw-pipeline

Integrates CLAW-CODE style hook pipelines into OpenClaw to intercept and manage tool calls.

Updated Mar 29, 2026
One-click install
npx skills add https://github.com/D2758695161/bounty-hunter-kit --skill claw-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claw-pipeline
Source: https://github.com/D2758695161/bounty-hunter-kit/tree/main/claw-pipeline-plugin
Command: npx skills add https://github.com/D2758695161/bounty-hunter-kit --skill claw-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires openclaw.

What problem does it solve?

CLAW-Pipeline solves the need to intercept, audit, and sanitize tool executions in OpenClaw by providing a native hook-based pipeline with built-in safety and logging.

Core Features & Use Cases

  • Hook-based interception for before_tool_call and after_tool_call to enforce safety, capture audit trails, and coordinate token-based session management.
  • Session lifecycle and compaction hooks to track usage and optimize resource usage across long-running agent sessions.
  • Use Case: When running AI agents that issue numerous tool commands, CLAW-Pipeline blocks dangerous commands, logs activity, and gauges token usage for compacting conversation history.

Quick Start

Activate the CLAW-Pipeline plugin in your OpenClaw environment and monitor the hook logs during tool-heavy sessions.

Frequently Asked Questions about claw-pipeline

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

FAQPage Schema
How do I intercept and log tool calls in OpenClaw sessions?

You intercept and log tool calls in OpenClaw by activating a hook-based pipeline plugin that registers before_tool_call and after_tool_call hooks to capture audit trails and monitor real-time activity.

Can I block dangerous commands automatically during AI agent workflows?

Yes, you can block dangerous commands automatically by configuring the hook pipeline to intercept tool calls before execution, enforcing safety rules and preventing unauthorized actions in real time.

What are session lifecycle and compaction hooks used for in OpenClaw?

Session lifecycle and compaction hooks in OpenClaw track token usage and optimize resources across long-running agent sessions by triggering before_compaction and after_compaction events to manage conversation history.

Does OpenClaw support token-based session accounting for tool-intensive workflows?

OpenClaw supports token-based session accounting through hook pipelines that gauge token usage during tool-intensive workflows, enabling automatic conversation history compaction when resource limits are approached.

How do I configure hook pipelines for tool execution auditing?

Configure hook pipelines for tool execution auditing by defining interception rules in the plugin manifest and openclaw.json, specifying which tool calls to log, block, or track for session token accounting.

When should I use hook-based interception instead of standard tool execution?

Use hook-based interception instead of standard tool execution when running AI agents that issue numerous tool commands, requiring real-time blocking, audit logging, and session token management for safety and resource optimization.