itsual/agent-skills-collection/authorization-patterns

Claude Code and agent skill by itsual/agent-skills-collection

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Design robust authorization (RBAC, ABAC, ReBAC, policy-based) and enforce it consistently on every sensitive action. Use when controlling access to resources, actions, or data.

Install

npx vskill@latest install itsual/agent-skills-collection/authorization-patterns

SKILL.md

The same SKILL.md was published earlier as itsual/agent-skills-collection/authorization-patterns.

Authorization Patterns

Overview

Authentication answers “who are you?”. Authorization answers “what are you allowed to do?”. Enforce it on the server for every sensitive operation.

When to Use

  • Defining roles, permissions, or policies
  • Protecting APIs, UI actions, or data access
  • Implementing multi-tenant isolation
  • Reviewing for IDOR or privilege escalation risks

Common Models

  • RBAC – Role-Based Access Control (simple, widely used)
  • ABAC – Attribute-Based (more flexible, policy-driven)
  • ReBAC – Relationship-Based (useful for complex ownership/sharing graphs)
  • Permission checks co-located with the action vs. centralized policy engines

Principles

  • Deny by default
  • Check authorization on every sensitive operation (never rely only on UI hiding)
  • Keep policies auditable and testable
  • Prefer explicit grants over complex inheritance when possible
  • Consider tenant isolation as a first-class concern in multi-tenant systems

Verification

  • Positive and negative authorization tests exist for critical paths
  • IDOR-style attacks are considered and mitigated
  • Policy changes are reviewable

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
6
Repository forks
1
7-day trend score
15

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/itsual/agent-skills-collection/authorization-patterns/badge)](https://verified-skill.com/skills/itsual/agent-skills-collection/authorization-patterns)

Something wrong with this skill or its page? Tell us.