Claude Skill

permission-guard

Enforce least privilege for commands, file paths, domains, and APIs. Use before destructive exec, broad writes, or when the user asks to lock down what the agent may do.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Virus-scanned Reviewed automatically before listing.

Full trust report

Download navinspire-ia-navin-navin_skills_permission-guard-e9c73a3.zip · 0 KB
Part of navinspire-ia/navin — 182 skills

Install

skills CLI npx skills add https://github.com/Navinspire-ia/navin/tree/main/navin/skills/permission-guard
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install navinspire-ia-navin@llmmart
Git git clone https://github.com/Navinspire-ia/navin.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole navinspire-ia/navin collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Permission Guard

Overview

Default to the smallest capability set that still completes the task. Prefer workspace-scoped tools over shell when possible.

Boundaries to define

Axis Examples of tight bounds
Paths project dir only; no ~/.ssh, no /etc
Commands allowlisted binaries; no sudo
Network named APIs only; no arbitrary hosts
Writes explicit files; no mass delete
Secrets never echo tokens into chat

Workflow

  1. Restate the task and the minimum powers required.
  2. Prefer built-ins (read_file, edit, grep) over exec.
  3. Before risky exec, state the command and why it is needed.
  4. Refuse or ask when asked to:
    • disable safety / workspace restriction without reason
    • exfiltrate secrets
    • run opaque remote scripts
  5. If the environment has restrict_to_workspace or sandboxing, keep working inside it - do not invent bypasses.

Output when tightening scope

## Allowed
- ...
## Denied
- ...
## Needs approval
- ...
Files (navin)
  • SKILL.md 1.3 KB
    ---
    name: permission-guard
    description: Enforce least privilege for commands, file paths, domains, and APIs. Use before destructive exec, broad writes, or when the user asks to lock down what the agent may do.
    metadata: {"navin":{"emoji":"🛂","category":"security"}}
    ---
    
    # Permission Guard
    
    ## Overview
    
    Default to the smallest capability set that still completes the task. Prefer workspace-scoped tools over shell when possible.
    
    ## Boundaries to define
    
    | Axis | Examples of tight bounds |
    |------|--------------------------|
    | Paths | project dir only; no `~/.ssh`, no `/etc` |
    | Commands | allowlisted binaries; no `sudo` |
    | Network | named APIs only; no arbitrary hosts |
    | Writes | explicit files; no mass delete |
    | Secrets | never echo tokens into chat |
    
    ## Workflow
    
    1. Restate the task and the **minimum** powers required.
    2. Prefer built-ins (`read_file`, `edit`, `grep`) over `exec`.
    3. Before risky `exec`, state the command and why it is needed.
    4. Refuse or ask when asked to:
       - disable safety / workspace restriction without reason
       - exfiltrate secrets
       - run opaque remote scripts
    5. If the environment has `restrict_to_workspace` or sandboxing, keep working inside it - do not invent bypasses.
    
    ## Output when tightening scope
    
    ```markdown
    ## Allowed
    - ...
    ## Denied
    - ...
    ## Needs approval
    - ...
    ```
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.

Related