file-permission-test

Test file permissions for read, write, and execute operations across user roles.

25|2|Updated Oct 26, 2025
One-click install
npx skills add https://github.com/matteocervelli/llms --skill file-permission-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-permission-test
Source: https://github.com/matteocervelli/llms/tree/main/.claude/skills/file-permission-test
Command: npx skills add https://github.com/matteocervelli/llms --skill file-permission-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a dedicated test to verify file system permissions for a Claude Skill, ensuring it has the necessary access to files and directories without over-privileging, thus enhancing security and preventing unintended data access.

Core Features & Use Cases

  • File Access Verification: Confirm read, write, and execute permissions on specified paths, validating the skill's operational boundaries.
  • Security Audit: Use to validate the principle of least privilege for file system interactions, minimizing potential attack surfaces.
  • Use Case: Before deploying a skill that needs to read a configuration file or write to a log directory, use this to confirm it can access only those specific paths and no others.

Quick Start

Run the file-permission-test skill to check its ability to read and write to the current directory, ensuring proper access control.

Frequently Asked Questions about file-permission-test

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

FAQPage Schema
How do I verify file permissions before deploying a skill?

File permission testing validates that your skill has access to only the specific files and directories it needs, following the principle of least privilege. Run permission tests in development and CI environments to confirm read, write, and execute operations work as intended across user roles and platforms before production deployment.

What file access scenarios should I test for security?

Test read, write, and execute operations on files and directories, permission changes, restricted access paths, and boundary cases across multiple user roles. This comprehensive coverage ensures your skill doesn't over-privilege and prevents unintended data access in development and CI environments.

Can I test file permissions across different user roles and platforms?

Yes, file permission testing covers multiple user roles and platforms, validating access control enforcement deterministically. This ensures your skill behaves securely regardless of the execution context and operating system where it runs.

Why is access control verification important before skill deployment?

Access control verification minimizes attack surfaces by confirming your skill operates only within its required boundaries. Testing prevents security gaps where skills might unexpectedly access restricted files or directories, protecting against unintended data exposure.

What does a file permission test report include?

The test produces clear, reproducible reporting of permission verification results with explicit input definitions and robust error handling. Reports document whether read, write, and execute operations succeeded or failed on each tested path, enabling confident validation before deployment.