Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Authorize

ASecurity

Manage persistent allowlist for pre_tool_use hook bypass

22 stars
0 votes
0 copies
0 views
Added 9/20/2026
securitybashapisecurity

Works with

api

Security Analysis

A100/100

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add lev-os/agents --skill authorize --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Authorize?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Authorize
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lev-os-authorize/badge)](https://www.skillsdirectory.com/skills/lev-os-authorize)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: authorize
description: Manage persistent allowlist for pre_tool_use hook bypass
triggers:
  - /authorize
  - authorize path
  - allow file access
---

# Authorize

Manage the persistent allowlist at `~/.claude/authorized-paths.txt` that bypasses pre_tool_use.py security checks.

## Commands

| Command | Action |
|---------|--------|
| `/authorize add <pattern>` | Add path pattern to allowlist |
| `/authorize remove <pattern>` | Remove pattern from allowlist |
| `/authorize list` | Show current allowlist |
| `/authorize clear` | Clear all authorized paths |

## Usage

```bash
# Allow a specific file
/authorize add ~/.secrets/api-keys.json

# Allow a directory pattern
/authorize add ~/.config/myapp/*

# Allow by extension
/authorize add *.local

# Remove authorization
/authorize remove ~/.secrets/api-keys.json

# View all authorized paths
/authorize list
```

## Implementation

When user invokes `/authorize`:

### add <pattern>
```bash
echo "<pattern>" >> ~/.claude/authorized-paths.txt
sort -u ~/.claude/authorized-paths.txt -o ~/.claude/authorized-paths.txt
```
Confirm: "✓ Added `<pattern>` to authorized paths"

### remove <pattern>
```bash
grep -v "^<pattern>$" ~/.claude/authorized-paths.txt > /tmp/auth.tmp
mv /tmp/auth.tmp ~/.claude/authorized-paths.txt
```
Confirm: "✓ Removed `<pattern>` from authorized paths"

### list
```bash
cat ~/.claude/authorized-paths.txt 2>/dev/null || echo "(empty)"
```
Display as formatted list.

### clear
```bash
rm -f ~/.claude/authorized-paths.txt
```
Confirm: "✓ Cleared all authorized paths"

## Pattern Matching

The hook uses these matching rules:
- Exact match: `/path/to/file.txt`
- Glob patterns: `*.local`, `~/.config/*`
- Directory prefix: `/path/to/dir/` (trailing slash = all children)

## Security Notes

- Authorizations persist across sessions
- Review periodically with `/authorize list`
- Use narrow patterns (specific files > broad globs)
- `.env` files have built-in allowlist in hook (`.env.local`, `.env.sample`, `.env.example`)

Attribution

lev-oslev-os
View sourceMore from lev-os →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Springboot Security

Java Spring Boot 服务中关于身份验证/授权、验证、CSRF、密钥、标头、速率限制和依赖安全的 Spring Security 最佳实践。

2456590 votes

Security Review

Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.

2456590 votes

Paperclip Task Bridge

Create, comment on, update, and list Paperclip tasks from Hermes using scoped Paperclip API credentials.

805540 votes

Summarize Status

Write a short, colloquial summary for a Paperclip summary slot: open with the 1–3 specific, concrete actions the reader needs to take right now to unblock the work, then a brief plain-language status, streaming progress as it works.

805540 votes

Paperclip Evals

Choose, inspect, validate, and report Paperclip Runner or Product E2E evaluations while preserving evidence, provenance, cost, and failure classification.

805540 votes
View all in security →