safety/permission-gate

Evaluate and enforce Claw mutation permissions against declared permission surfaces.

6|2|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/frankxai/Starlight-Intelligence-System --skill safety-permission-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: safety/permission-gate
Source: https://github.com/frankxai/Starlight-Intelligence-System/tree/main/skills/safety/permission-gate
Command: npx skills add https://github.com/frankxai/Starlight-Intelligence-System --skill safety-permission-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gate every mutation request against the Claw's declared permission surface — fires before any write to filesystem, vault, or external system. No Claw bypasses this gate. Default skill for Starlight Sentinel and every Claw that carries filesystem or sis_vaults write permissions.

Core Features & Use Cases

  • Real-time permission evaluation: Evaluates mutation requests against the Claw's declared permissions surface and active safety posture.
  • Pre-commit enforcement: Ensures no write, export, or external action proceeds without approval or boundary checks.
  • Audit-ready logging: Records every decision for traceability and compliance.

Quick Start

Enable the permission gate by loading this skill in the runtime so that every mutation is gated before execution.

Frequently Asked Questions about safety/permission-gate

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

FAQPage Schema
How do I enforce permission checks before file or vault writes in my automation workflow?

A mutation permission gate evaluates every write request against declared permission surfaces before execution. It fires before any filesystem, vault, or external action proceeds, ensuring no operation bypasses workspace safety constraints.

What is a mutation permission gate and how does it protect workspace data?

A mutation permission gate intercepts every write, export, or external action request and evaluates it against declared permission surfaces. It prevents unauthorized filesystem or vault mutations by enforcing workspace constraints before any operation proceeds.

How do I set up automatic logging for mutation approval and boundary violation decisions?

Automatic logging for mutation decisions is implemented by configuring the permission gate to record every approval, denial, and boundary-violation handling event. This produces an audit-ready trace of all mutation decisions for compliance and review.

Can I configure mutation permissions to auto-approve safe actions and require explicit approval for others?

Yes, you can configure mutation defaults to either auto-approve or require explicit approval. The permission gate evaluates each request against the Claw's declared permission surface and applies the configured default for actions not explicitly covered.

Does the permission gate work with Claws that declare their permission surface in CLAW.md?

Yes, the permission gate applies across all Claws that declare a permission surface in CLAW.md. It automatically evaluates mutation requests from any such Claw, ensuring no declared write operation bypasses the gate.

What happens when a mutation request violates workspace safety boundaries?

When a mutation request violates workspace safety boundaries, the permission gate intercepts and blocks the action before execution. It handles the boundary violation according to configured rules and logs the decision for audit traceability.