Skip to content
Agentmart
Submit a tool

file-indexer

Generate a comprehensive file system index with directory tree, file sizes, and modification dates.

Skill by Abilityai

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/abilityai-file-indexer

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate a comprehensive file system index with directory tree, file sizes, and modification dates. Use when re-indexing files, updating file index, exploring directory structure, or when user says "re-index files".

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/file-indexer

Tools it pre-approves 3

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Bash,
  • Write

What's inside

Skill name
file-indexer
Description
Generate a comprehensive file system index with directory tree, file sizes, and modification dates. Use when re-indexing files, updating file index, exploring directory structure, or when user says "re-index files".
License
Apache-2.0
Allowed tools
Read,, Bash,, Write
Metadata
version: 1.0
Instructions
65 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves some shell commands

Files (2)

  • SKILL.md
  • index-files.py · scripts/

SKILL.md (first lines)

# File System Indexer

Generate comprehensive directory tree views with file sizes and modification dates.

## Quick Commands

### Index Current Workspace
```bash
python3 ~/.claude/skills/file-indexer/scripts/index-files.py
```

### Index Specific Directory
```bash
python3 ~/.claude/skills/file-indexer/scripts/index-files.py /path/to/directory
```

### Index with Custom Output
```bash
python3 ~/.claude/skills/file-indexer/scripts/index-files.py /path/to/directory /path/to/output.md
```

## Output Format

The generated index includes:
- **Header**: Generation timestamp and source directory
- **Tree View**: Hierarchical directory structure with:
  - File/folder sizes in human-readable format
  - Modification dates (YYYY-MM-DD HH:MM:SS)
  - Proper tree characters for visual hierarchy

## Default Paths

| Resource | Path |
|----------|------|
| Default Output | `memory/file_index.md` in workspace |
| Default Directory | Current working directory |

## Exclusions

The indexer automatically skips:
- `.git` directories
- `node_modules` directories
- `__pycache__` directories
- `.venv` and `venv` directories
- Hidden files/folders (starting with `.`) except `.claude`

## Usage Examples

- "Re-index the files" - Run indexer on workspace
- "Update file index" - Regenerate memory/file_index.md
- "Index this directory" - Run on current or specified path
- "Show directory structure" - Generate and display tree view

## Error Handling

| Error | Cause | Solution |
|-------|-------|----------|
| `Permission denied` | Can't read directory | Check folder permissions, run with appropriate access |
| `Script not found` | Wrong path to index-files.py | Verify script exists at ~/.claude/skills/file-indexer/scripts/ |
| `Output file not writable` | Can't write to memory/ | Check output path permissions, create directory if missing |
| `Python not found` | Python3 not installed | Install Python 3.8+ |
| Indexing takes too long | Very large directory | Consider adding more exclusions or indexing subdirectories separately |
| Missing files in index | Files in excluded directories | Check exclusion list, add exceptions if needed |

From Abilityai/trinity-skills, Apache-2.0.

More from Abilityai/trinity-skills

Signals

Stars
0
Forks
1
Open issues
1
Last commit (this folder)
Aug 4, 2026 (2 months ago)
Last release
Oct 21, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Abilityai

Cite this page

file-indexer skill. Agent Mart. https://agentmart.dev/skills/abilityai-file-indexer (last updated 2026-10-24)