Agent skill

Allowed Dirs Skill

by agent-ecosystem in agent-ecosystem/skill-validator

A skill with development directories that require --allow-dirs.

MITAuto-check: notes

Install Allowed Dirs Skill

skills CLI
$ npx skills add agent-ecosystem/skill-validator --skill allowed-dirs-skill -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install agent-ecosystem/skill-validator allowed-dirs-skill --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/agent-ecosystem/skill-validator.git skills-src && mkdir -p .claude/skills && cp -r skills-src/testdata/allowed-dirs-skill .claude/skills/allowed-dirs-skill && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
allowed-dirs-skill
GitHub stars
255
Token cost
~210 tokens
SKILL.md length
75 words
Files
6 (incl. scripts, references)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

A skill with development directories that require --allow-dirs.

  • SKILL.md covers Usage and Notes
  • Runs Shell scripts from its folder

What it does

Allowed Dirs Skill is an agent skill from agent-ecosystem/skill-validator. A skill with development directories that require --allow-dirs.

Its SKILL.md is about 210 tokens, which your agent loads only when the skill is triggered. The skill folder holds 10 other files, including scripts and reference files (for example `evals/evals.json`, `references/guide.md` and `scripts/validate.sh`). Compatibility notes: Works with all major LLM providers.

The repository describes itself as: Validate Skill content against Agent Skill specification, with additional content density and quality checks. The licence is MIT.

Example prompts

  • “/allowed-dirs-skill”

Requirements

  • A Bash shell
  • Compatibility (from SKILL.md): Works with all major LLM providers.
  • Pre-approved tools (allowed-tools): Bash, Read, Write

What it can do on your machine

Read from SKILL.md and the folder at commit 08e2f74. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Write

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Works with all major LLM providers.

    From compatibility in the SKILL.md frontmatter.

Context cost

Allowed Dirs Skill loads about 210 tokens when it runs, and up to ~242 if it reads all its reference files. Until then it costs about 21 tokens; SKILL.md has 75 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~21
When it runs · the whole SKILL.md, loaded when a task matches
~210
With references · SKILL.md plus every file in references/, read only if the agent opens them
~242

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Write

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from agent-ecosystem/skill-validator at commit 08e2f74, republished under its MIT licence (© agent-ecosystem). 75 words, ~210 tokens.

Download SKILL.mdSave it as .claude/skills/allowed-dirs-skill/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
allowed-dirs-skill
description
A skill with development directories that require --allow-dirs.
allowed-tools
Bash, Read, Write
compatibility
Works with all major LLM providers.
license
MIT
metadata.author
test
metadata.version
1.0

Allowed Dirs Skill

This skill demonstrates using non-standard directories alongside the standard skill structure. The evals/ and testing/ directories are development artifacts that require --allow-dirs to suppress warnings.

Usage

Follow the instructions in the reference guide to get started.

Run scripts/validate.sh to check your work.

Notes

The evals/ directory contains evaluation test cases and the testing/ directory contains integration test fixtures. Neither is part of the standard skill structure, but both are useful during development.

© agent-ecosystem, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts, references) in testdata/allowed-dirs-skill of agent-ecosystem/skill-validator.

  • SKILL.md
  • evals/evals.json
  • evals/files/sample_input.txt
  • references/guide.md
  • scripts/validate.sh
  • testing/fixtures.json

Open the folder on GitHubat commit 08e2f74

Compare with similar skills

Allowed Dirs Skill next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Allowed Dirs Skill compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Allowed Dirs Skill this skillagent-ecosystem/skill-validator255—~210Automated safety check: NotesMIT
Requirementsrizsotto/Bear6.5k—~2kAutomated safety check: PassGPL-3.0
Directory Submissionscoreyhaines31/marketingskills54k2 repos~6.3kAutomated safety check: PassMIT
Brilliant Directories AutomationComposioHQ/awesome-claude-skills77k3 repos~783Automated safety check: PassNone
Aria Allowed Attrthedaviddias/Front-End-Checklist74k—~450Automated safety check: PassMIT
Aria Required Attrthedaviddias/Front-End-Checklist74k—~459Automated safety check: PassMIT

Similar skills

  • Requirements

    rizsotto/Bear

    Write, modify, or review a requirement file under docs/requirements -- pick the single owning file, keep the text contract-only, name IDs so they need no explanation, and verify cross-references and…

    6.5k GitHub stars~2k tokensUpdated yesterday
    Testing & QAAuto-check passed
  • Directory Submissions

    coreyhaines31/marketingskills

    When the user wants to submit their product to startup, SaaS, AI, agent, MCP, no-code, or review directories for backlinks, domain rating, and discovery.

    54k GitHub starsUsed in 2 repos~6.3k tokens
    Marketing & SEOAuto-check passed
  • Brilliant Directories Automation

    ComposioHQ/awesome-claude-skills

    Automate Brilliant Directories tasks via Rube MCP (Composio).

    77k GitHub starsUsed in 3 repos~783 tokens
    Productivity & AutomationAuto-check passed
  • Aria Allowed Attr

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Use only allowed ARIA attributes for each role.

    74k GitHub stars~450 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Aria Required Attr

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Include required ARIA attributes for roles.

    74k GitHub stars~459 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Aria Required Parent

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure ARIA roles are contained by required parent roles.

    74k GitHub stars~498 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from agent-ecosystem/skill-validator

  • Valid Skill

    agent-ecosystem/skill-validator

    A well-formed example skill for testing the validator. An agent skill from agent-ecosystem/skill-validator.

    255 GitHub starsUsed in 1 repo~146 tokens
    Auto-check: notes
  • Rich Skill

    agent-ecosystem/skill-validator

    A skill with code blocks and imperative instructions for testing content and contamination analysis.

    255 GitHub stars~288 tokensUpdated 18 days ago
    Auto-check: notes
  • Auxiliary Only Skill

    agent-ecosystem/skill-validator

    A skill that uses only shell and config code blocks for testing contamination.

    255 GitHub starsUsed in 1 repo~143 tokens
    Auto-check passed

Questions about Allowed Dirs Skill

What does Allowed Dirs Skill do?

A skill with development directories that require --allow-dirs. Allowed Dirs Skill is an agent skill from agent-ecosystem/skill-validator. A skill with development directories that require --allow-dirs.

How do I install Allowed Dirs Skill in Claude Code?

Run `npx skills add agent-ecosystem/skill-validator --skill allowed-dirs-skill -a claude-code`. Or copy the skill folder (testdata/allowed-dirs-skill in agent-ecosystem/skill-validator) into .claude/skills/allowed-dirs-skill in your project. Claude Code loads it when a task matches its description.

How do I install Allowed Dirs Skill in Codex?

Run `npx skills add agent-ecosystem/skill-validator --skill allowed-dirs-skill -a codex`. Or copy the skill folder (testdata/allowed-dirs-skill in agent-ecosystem/skill-validator) into .agents/skills/allowed-dirs-skill in your project. Codex loads it when a task matches its description.

Can I use Allowed Dirs Skill in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add agent-ecosystem/skill-validator --skill allowed-dirs-skill -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/allowed-dirs-skill, .gemini/skills/allowed-dirs-skill, .github/skills/allowed-dirs-skill and .opencode/skills/allowed-dirs-skill in your project.

What does Allowed Dirs Skill need to run?

Going by SKILL.md and its folder, Allowed Dirs Skill needs a shell for the scripts in its folder. Our summary lists: A Bash shell. Its frontmatter pre-approves these tools: Bash, Read, Write. Compatibility (from SKILL.md): Works with all major LLM providers..

Does Allowed Dirs Skill access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Allowed Dirs Skill safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Allowed Dirs Skill use?

Allowed Dirs Skill is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Allowed Dirs Skill use?

About 210 tokens (SKILL.md is roughly 840 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 32 tokens, read only when the agent opens those files.

What are the alternatives to Allowed Dirs Skill?

Skills that share tags, products or a category with Allowed Dirs Skill: Requirements (rizsotto/Bear, 6.5k stars), Directory Submissions (coreyhaines31/marketingskills, 54k stars), Brilliant Directories Automation (ComposioHQ/awesome-claude-skills, 77k stars) and Aria Allowed Attr (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Allowed Dirs Skill?

agent-ecosystem (a GitHub organization) maintains it in agent-ecosystem/skill-validator, which has 255 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 20, 2026.

Source: agent-ecosystem/skill-validator on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.