@theonlyamos/list-dir
AFind files matching a pattern in a directory
Install
agr install @theonlyamos/list-dir --target claudeWrites 1 file into .claude/skills/, pinned to git-90353eb5.
- .claude/skills/list-dir/SKILL.md
Document
name: list-dir description: Find files matching a pattern in a directory context: same args:
- name: pattern description: Glob pattern to match (e.g., ".py", ".txt") required: false
- name: path description: Directory to search in required: false
- name: recursive description: Search recursively required: false tags: [directory, list, glob] category: system version: "1.0.0" author: cognitrix allowed-tools: [Glob] safety: risk-level: low
List Directory
Find files matching a pattern using the Glob tool.
Usage
List all files in current directory
Glob pattern="*"
List Python files
Glob pattern="*.py"
List files in specific directory
Glob pattern="*.py" path="src"
Recursive search (default)
Glob pattern="**/*.py" path="src"
Include directories in results
Glob pattern="*" path="." recursive=true include_dirs=true
Notes
- Supports both absolute and relative paths
- Use
~for home directory paths - Use
**for recursive matching - Use
include_dirs=trueto include directories in results
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-90353eb59c992026-07-31