Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/bybren-llc/rendertrust/organize-filesgit clone --depth 1 https://github.com/bybren-llc/rendertrustWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/bybren-llc/rendertrust/organize-files)<a href="https://agentmods.dev/commands/bybren-llc/rendertrust/organize-files"><img src="https://agentmods.dev/badge/commands/bybren-llc/rendertrust/organize-files.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00890 |
| Opus 5 | $0.00000 | $0.00445 |
| Sonnet 5 | $0.00000 | $0.00178 |
| Haiku 4.5 | $0.00000 | $0.00089 |
Grade A, and why
organize-files scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to organize-files — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.
description = "Organize and rename files based on content analysis"
prompt = """
Organize Files Command
Intelligently organize files using Gemini's multimodal analysis to understand content, not just extensions.
Target Directory: {{args}}
Capabilities
- Analyze file contents (images, PDFs, documents)
- Rename based on actual content
- Organize into semantic folders
- Add EXIF dates to image filenames
- Detect duplicates by content similarity
Workflow
1. Scan Directory
!{find {{args}} -type f -not -path "*/.*" 2>/dev/null | head -50}
Get file statistics:
!{find {{args}} -type f -not -path "*/.*" 2>/dev/null | wc -l}
2. Analyze File Types
Categorize files by type:
| Category | Extensions | Analysis Method |
|---|---|---|
| Images | png, jpg, gif, webp | Visual content analysis |
| Documents | pdf, doc, docx | Text extraction |
| Audio | mp3, wav, aac | Metadata/transcription |
| Code | js, ts, py, etc. | Purpose detection |
| Data | json, csv, xml | Schema analysis |
3. Content-Based Organization
For Images:
- Screenshots →
screenshots/ - Photos (with faces) →
photos/people/ - Product images →
photos/products/ - Diagrams →
diagrams/ - Icons →
icons/
For Documents:
- Invoices →
documents/invoices/ - Contracts →
documents/contracts/ - Reports →
documents/reports/ - Receipts →
documents/receipts/
For Code:
- Components → by framework/purpose
- Tests →
tests/ - Utilities →
utils/
4. Smart Renaming
Apply naming conventions:
Images with EXIF:
IMG_1234.jpg → 2025-01-14_vacation_beach_sunset.jpg
Documents:
Document1.pdf → 2025-01-14_invoice_acme_corp_1234.pdf
Screenshots:
Screenshot 2025-01-14.png → screenshot_vscode_debug_panel.png
5. Generate Organization Plan
Before making changes, show plan:
## File Organization Plan
### Will Create Folders:
- photos/
- documents/invoices/
- screenshots/
### Will Rename:
| Original | New Name | Reason |
|----------|----------|--------|
| IMG_1234.jpg | 2025-01-14_beach.jpg | EXIF date + content |
| doc.pdf | invoice_acme_123.pdf | Invoice detected |
### Will Move:
| File | From | To |
|------|------|-----|
| screenshot.png | ./ | screenshots/ |
Proceed? (y/n)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 147 lines · 0 tokens per session scan A b40167ec2963
organize-files is a command published in the GitHub repository bybren-llc/rendertrust (7 stars, last pushed 5mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 890 tokens. A static security scan graded it A with 0 findings. It is 100% identical to organize-files, differing in 0 lines, and is treated as a copy.
Other commands, from other repositories
organize-files
Organize and rename files based on content analysis.
open
Open a PDF in the in-app viewer panel.
tree
Show file tree with sync status indicators showing which files are indexed, modified, new, or deleted.
docs
Document delivery with export to PPTX, DOCX, PDF formats.
cheatsheet
Generate a one-page exam cheatsheet from course-index and errors/log.md. Outputs to cheatsheet/final.md. Optionally convert to PDF.
cti-report
Render case deliverables — relationship graph (PNG/SVG/Mermaid) and a polished PDF/DOCX assessment. Usage: /cti-report [--graph|--pdf].