By jdrodriguez
Attach files to Claude Code sessions with interactive macOS Finder file picker
A file attachment plugin for Claude Code CLI. Opens a native macOS Finder file picker to attach files to your conversation — similar to the attach button in the VS Code extension.
> /claude-attach:attach
[Finder file picker opens]
[Select one or more files]
[Claude reads and analyzes the files]
/claude-attach:attach — Slash command with autocomplete supportattach: — Inline hook for instant file picker (no LLM delay)osascript for native file picker)jq (brew install jq)In Claude Code, run:
/plugin → Add Marketplace → jdrodriguez/claudecode-file-attach-plugin
Then enable the claude-attach plugin when prompted. Both the slash command and the attach: hook are installed automatically.
git clone https://github.com/jdrodriguez/claudecode-file-attach-plugin.git
cd claudecode-file-attach-plugin
bash install.sh
Then restart your Claude Code session.
> /claude-attach:attach
> /claude-attach:attach analyze this code
> /claude-attach:attach summarize these docs
Type /claude-attach and select attach from the autocomplete menu. Claude opens the file picker, reads the selected files, and follows your instructions.
> attach: review this file
> attach:
Type attach: anywhere in your prompt for an instant file picker — no LLM processing delay. The hook runs before Claude sees your prompt.
| Method | Speed | Autocomplete |
|---|---|---|
/claude-attach:attach | ~2-3s (LLM processes skill first) | Yes |
attach: | Instant (hook runs pre-prompt) | No |
osascript to open Finderattach: (Hook)hooks.jsonosascriptIn Claude Code, run /plugin and remove the claude-attach plugin.
cd claudecode-file-attach-plugin
bash uninstall.sh
claudecode-file-attach-plugin/
├── .claude-plugin/
│ └── marketplace.json # Marketplace manifest
├── plugins/
│ └── claude-attach/
│ ├── .claude-plugin/
│ │ └── plugin.json # Plugin manifest
│ ├── skills/
│ │ └── attach/
│ │ └── SKILL.md # /claude-attach:attach command
│ └── hooks/
│ ├── hooks.json # Hook configuration
│ └── attach-hook.sh # attach: instant hook script
├── skill/
│ └── SKILL.md # Standalone skill (manual install)
├── hooks/
│ └── attach-hook.sh # Standalone hook (manual install)
├── install.sh # Manual installer
├── uninstall.sh # Manual uninstaller
├── LICENSE
└── README.md
osascript / AppleScript for the native file pickerattach: for instant responsePRs welcome! Some ideas:
zenity or kdialogOpenFileDialogMIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub jdrodriguez/claudecode-file-attach-pluginComplete legal productivity suite with 33 tools: document summarization, audio transcription, OCR, court deadlines, billing audits, e-discovery, financial forensics, contract redlines, case chronologies, deposition indexing, entity mapping, communication analysis, evidence photos, public records research, document comparison, client intake processing, forensic video analysis, criminal discovery analysis, motion drafting, content marketing multiplication, intake call scoring, adaptive intake scripts, objection playbooks, case strategy playbooks, DUI trial prep guides, case pricing, client review requests, client journey mapping, communication cadence design, performance data surfacing, attorney workload analysis, firm decision modeling, and QA anti-hallucination review.
Native Windows toast notifications for Claude Code with window activation
Commands for syncing CLAUDE.md, permissions allowlist, and refreshing context. Hooks for marketplace-to-plugin sync.
Sync Claude Code sessions across devices with encrypted cloud storage
Permanent coding companion for Claude Code — survives any update. MCP-based terminal pet with ASCII art, stats, reactions, and personality.
Commands for loading context and priming Claude for specific tasks
Tools for managing CLAUDE.md memory files