foxctl Hooks

Enforce task and file guardrails for Claude Code edit and write workflows.

3|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/joshka0/foxctl --skill foxctl-hooks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: foxctl Hooks
Source: https://github.com/joshka0/foxctl/tree/main/configs/skills-condensed/foxctl-hooks
Command: npx skills add https://github.com/joshka0/foxctl --skill foxctl-hooks

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents uncontrolled or invalid actions during Claude Code operations by guarding tasks, routing relevant knowledge and mail, reserving files safely, and running test feedback after edits.

Core Features & Use Cases

  • Task guard: Ensures an active task exists before Claude Code performs operations like Edit, Write, or MultiEdit.
  • Knowledge and mail routing: Surfaces relevant knowledge packs and unread mailbox messages for better context and continuity.
  • File guard and test feedback: Checks file reservations to reduce conflicts and runs tests after changes to catch regressions.

Quick Start

Ask your agent to enable the foxctl hooks configuration and then perform a guarded Edit or Write so the system automatically routes knowledge and mail, enforces task and file safety rules, and runs test feedback after changes.

Frequently Asked Questions about foxctl Hooks

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

FAQPage Schema
How do I safeguard Claude Code tool execution during file edits?

To safeguard Claude Code tool execution, you can use configurable pre- and post-tool hooks that enforce task and file guardrails, route relevant knowledge packs, and run test feedback after edits.

How do I prevent uncontrolled actions when using Claude Code edit and write workflows?

Preventing uncontrolled actions in Claude Code edit and write workflows requires enforcing active task guards, checking file reservations to reduce conflicts, and applying environment-controlled guard strictness.

How does knowledge and mail routing work for Claude Code operations?

Knowledge and mail routing surfaces relevant knowledge packs and unread mailbox messages during Claude Code operations, providing better context and continuity for guarded edit, write, and multiedit workflows.

Can I run test feedback automatically after Claude Code performs file changes?

Yes, you can run test feedback automatically after Claude Code performs file changes by configuring post-tool hooks that execute tests to catch regressions following guarded edit or write operations.

Do I need an active task before Claude Code performs edit or multiedit operations?

Yes, you need an active task before Claude Code performs edit or multiedit operations, because the task guard feature ensures an active task exists before allowing these operations to proceed.

What are the limitations of file reservation when guarding Claude Code tasks?

File reservation limitations depend on environment-controlled guard strictness, which manages operational safety by applying approve, block, or none decision modes to coordinate file access and reduce conflicts.