agentleFS
crazynomadcrazynomad/skills/CLAUDE.md

skills

CLAUDE.md27 starsChanged 8 months agoMITView on GitHub

This is a collection of Claude Code skills for non-coders, covering media processing and file management tasks. Skills are standalone tools that can be invoked by Claude Code to perform specific operations. Each skill follows the pattern: - SKILL.md: YAML frontmatter (name, description) + usage documentation - scripts/: Python scripts that implement the skill functionality Two skills are prompt-based (no scripts): srt-title-generator uses Claude's own analysis, and file-master orchestrates other skills via prompt chaining. All destructive scripts share a consistent…

  • Installs packages

The file

We split this CLAUDE.md into the rules it gives an agent

7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a directory with the skill name

    line 49
  2. Very specific:

    Add implementation in scripts/ directory

    line 56
  3. Very specific:

    Update .claude-plugin/marketplace.json to include the new skill path in the appropriate plugin group

    line 57
  4. Very specific:

    Update README.md and README.zh.md to document the new skill

    line 58
  5. Distinctive:

    All destructive scripts share a consistent safety convention before making changes:

    line 62
  6. Distinctive:

    Always run preview mode first when testing a script.

    line 66
  7. Distinctive:

    When adding or updating a skill, always update all three files together:

    line 131

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Repository Overview

This is a collection of Claude Code skills for non-coders, covering media processing and file management tasks. Skills are standalone tools that can be invoked by Claude Code to perform specific operations.

Repository Structure

skills/
├── .claude-plugin/marketplace.json  # Plugin marketplace registration
├── <skill-name>/
│   ├── SKILL.md                     # Skill interface definition (required)
│   └── scripts/                     # Implementation scripts
└── README.md

Each skill follows the pattern:

  • SKILL.md: YAML frontmatter (name, description) + usage documentation
  • scripts/: Python scripts that implement the skill functionality

Two skills are prompt-based (no scripts): srt-title-generator uses Claude's own analysis, and file-master orchestrates other skills via prompt chaining.

Requirements

  • Python 3.10+
  • media-skills plugin: cross-platform
  • file-skills plugin: macOS only (disk-cleaner, file-organizer, file-master use macOS-native APIs; doc-mindmap is cross-platform)

Available Skills

PluginSkillScriptDependencies
media-skillspdf-to-imagesscripts/pdf_to_images.pyImageMagick (brew install imagemagick)
media-skillspodcast-downloaderscripts/download_podcast.pypip install requests feedparser
media-skillsyoutube-downloaderscripts/download_video.pypip install yt-dlp, ffmpeg for audio
media-skillssrt-title-generatorNo script (prompt-based)None
media-skillsttsscripts/vox_tts.pyVox CLI (pipx install . from 3Craft/tts), Apple Silicon only
media-skillstwitter-downloaderscripts/download_tweet.pypip install yt-dlp (same as youtube-downloader)
file-skillsfile-masterNo script (prompt-based orchestrator)All file-skills deps
file-skillsdisk-cleanerscripts/mole_cleaner.pyMole (brew install tw93/tap/mole)
file-skillsfile-organizerscripts/file_organizer.pymacOS only, no extra deps
file-skillsdoc-mindmapscripts/doc_converter.pypip install 'markitdown[all]'; Ollama optional for summarization

Creating New Skills

  1. Create a directory with the skill name
  2. Add SKILL.md with:
    • YAML frontmatter: name, description
    • "When to Use" section with trigger keywords
    • Usage examples with CLI syntax
    • Dependencies section
    • Output structure documentation
  3. Add implementation in scripts/ directory
  4. Update .claude-plugin/marketplace.json to include the new skill path in the appropriate plugin group
  5. Update README.md and README.zh.md to document the new skill

Script Safety Pattern

All destructive scripts share a consistent safety convention before making changes:

  • --preview / --dry-run: show what would happen, no changes made
  • --confirm: required flag to actually execute (guards against accidental runs)

Always run preview mode first when testing a script.

Skill Interface Pattern

Skills should follow this documentation pattern in SKILL.md:

  • When to Use: Keywords and phrases that trigger skill activation
  • Usage: CLI syntax with common scenarios
  • Arguments: Flag descriptions with defaults
  • Dependencies: System and Python package requirements
  • Output Structure: Expected file/directory output format
  • Claude Integration: Step-by-step workflow for Claude to follow

Testing Skills Locally

# PDF to images
python pdf-to-images/scripts/pdf_to_images.py "input.pdf" -o ./output -d 150

# Podcast download
python podcast-downloader/scripts/download_podcast.py "APPLE_PODCAST_URL" -n 3

# YouTube download
python youtube-downloader/scripts/download_video.py "YOUTUBE_URL" -o ./output

# Disk cleaner
python disk-cleaner/scripts/mole_cleaner.py --preview
python disk-cleaner/scripts/mole_cleaner.py --clean --confirm

# File organizer (Downloads folder only by default)
python file-organizer/scripts/file_organizer.py --auto --dry-run
python file-organizer/scripts/file_organizer.py --auto

# TTS - text to speech
python tts/scripts/vox_tts.py check
python tts/scripts/vox_tts.py speak "Hello world" --voice Chelsie -o ./output
python tts/scripts/vox_tts.py speak "Hello world" --play
python tts/scripts/vox_tts.py transcribe recording.wav -o ./output
python tts/scripts/vox_tts.py clone "Text" --ref sample.wav -o ./output
python tts/scripts/vox_tts.py voices

# Twitter/X video download
python twitter-downloader/scripts/download_tweet.py "https://x.com/username/status/1234567890"
python twitter-downloader/scripts/download_tweet.py "URL" --url-only   # check URL without downloading
python twitter-downloader/scripts/download_tweet.py "URL" -o ./output -q 720

# Doc mindmap (convert to Markdown)
python doc-mindmap/scripts/doc_converter.py ~/Documents/test-docs --preview
python doc-mindmap/scripts/doc_converter.py ~/Documents/test-docs --convert --confirm

# Doc mindmap (with Ollama summarization — requires: brew install ollama && ollama pull qwen2.5:3b)
python doc-mindmap/scripts/doc_converter.py ~/Documents/test-docs --convert --confirm --summarize

# Doc mindmap (symlink-based 3-way classification into by-topic/by-usage/by-client)
python doc-mindmap/scripts/doc_converter.py ~/Documents/test-docs --organize --confirm

# Doc mindmap (AI-suggested filenames for symlinks)
python doc-mindmap/scripts/doc_converter.py ~/Documents/test-docs --organize --rename --confirm

Plugin Registration

Skills are registered in .claude-plugin/marketplace.json (marketplace name: greentrain-skills). Two plugin groups:

  • greentrain-media: pdf-to-images, podcast-downloader, srt-title-generator, tts, twitter-downloader, youtube-downloader
  • greentrain-files: file-master, disk-cleaner, file-organizer, doc-mindmap

When adding or updating a skill, always update all three files together:

  1. .claude-plugin/marketplace.json - add skill path to the appropriate plugin group
  2. README.md - English documentation
  3. README.zh.md - Chinese documentation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.