agent-enforcement

Official

Enforce /team agent rules.

AuthorMadAppGang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents the /team command from violating agent selection rules and using insecure paths, ensuring reliable multi-agent orchestration and debugging failures.

Core Features & Use Cases

  • Runtime Violation Blocking: A PreToolUse hook intercepts and blocks invalid /team Task or Bash tool calls.
  • Agent Whitelist Enforcement: Ensures /team Tasks only use agents from a predefined, secure whitelist.
  • Secure Path Validation: Prevents the use of insecure temporary paths like /tmp/ in Task prompts.
  • Model Reliability: Leverages model: opus for better instruction following in complex scenarios.
  • Use Case: When a /team command fails unexpectedly due to an incorrect agent being assigned or an insecure path being referenced, this Skill's enforcement mechanisms can be activated to diagnose and prevent the issue.

Quick Start

Use the agent-enforcement skill to validate agent selections for the /team command.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: agent-enforcement
Download link: https://github.com/MadAppGang/magus/archive/main.zip#agent-enforcement

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.