Skip to content
Back to skills

Finder Selection Relay

ASecurity

Build or operate a macOS menu-bar relay that turns the current Finder selection into prompt, note, ticket, or shell-ready context with clean paths and lightweight local metadata.

  • 30 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 8, 2026
ai-agentspythonswiftshellbashrails

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill finder-selection-relay --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Finder Selection Relay?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Finder Selection Relay
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-finder-selection-relay/badge)](https://www.skillsdirectory.com/skills/majiayu000-finder-selection-relay)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: finder-selection-relay
description: Build or operate a macOS menu-bar relay that turns the current Finder selection into prompt, note, ticket, or shell-ready context with clean paths and lightweight local metadata.
---

# Finder Selection Relay

Use this skill when the user wants a Mac menu-bar utility for taking the current Finder selection and handing it off cleanly without retyping paths, stripping Finder noise, or opening each file one by one.

## Core Workflow

- Read the current Finder selection as local file or folder paths and keep the interaction menu-bar first.
- Fall back to explicit local paths when the user already has them or Finder automation is unavailable.
- Format the selection into destination-ready output: prompt context, markdown notes, ticket bullets, shell-safe paths, or plain lists.
- Surface only lightweight local metadata that helps the handoff: item name, path, file or folder kind, parent folder, file extension, file size, and modified time when available.
- Keep the scope on selection handoff, not file contents, previews, indexing, or Finder replacement behavior.
- Treat large selections as a review problem first; if the user has selected too much, ask them to narrow the handoff instead of hiding truncation.

## Local Helper

Use `scripts/finder_selection_relay.py` when a deterministic local read is useful:

```bash
python skills/finder-selection-relay/scripts/finder_selection_relay.py current --format json
python skills/finder-selection-relay/scripts/finder_selection_relay.py current --format markdown
python skills/finder-selection-relay/scripts/finder_selection_relay.py copy --format prompt
python skills/finder-selection-relay/scripts/finder_selection_relay.py copy --format shell
python skills/finder-selection-relay/scripts/finder_selection_relay.py current ~/Desktop/mockup.png ~/Downloads/build.log --format markdown
printf '%s\n' ~/Desktop/mockup.png ~/Downloads/build.log | python skills/finder-selection-relay/scripts/finder_selection_relay.py current --stdin-paths --format shell
```

The helper uses macOS `osascript` to read the current Finder selection, and it can also format explicit local paths from arguments or standard input. Python filesystem metadata fills in the selected path details. It does not read file contents and does not use network access.

## Guardrails

- Do not claim file-content extraction, OCR, indexing, or semantic summaries; this skill is about the selected file and folder metadata only.
- If Finder selection access is blocked, explain the macOS automation permission path and offer the explicit-path fallback instead of inventing selected items.
- If there is no Finder selection, ask the user to select the files or folders first or pass explicit paths.
- Keep output formats short and ready for the next destination. Do not turn the relay into a full DAM, launcher, or Finder replacement.

## Prototype

The SwiftUI starter in `prototype/` sketches a compact status-item shell with a selection summary card, format shortcuts, a recent selection list, and one primary copy action. Use it as the top-level menu-bar layer for a real macOS target.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.