macos-file-tags

macos-file-tags is a skill for Claude Code, Codex from joonlab/joonlab-claudecode-setting-for-share. It costs 108 tokens per session (1,795 once invoked), scanned A, original, MIT.

A macOS utility guide for managing Finder colour tags on files and folders. Finder tags are labels that help organise and locate items in the macOS file manager.

In plain words
What is it for?
Use it to colour-tag files or directories, change or remove tags, check existing labels, or find items by tag.
Why use it?
It gives developers a consistent way to inspect, add, replace, remove, and search these labels from the command line.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to colour-tag files or directories, change or remove tags, check existing labels, or find items by tag.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joonlab/joonlab-claudecode-setting-for-share/macos-file-tags
Install

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.

Any agent
npx skills add joonlab/joonlab-claudecode-setting-for-share --skill macos-file-tags
Clone the repo
git clone --depth 1 https://github.com/joonlab/joonlab-claudecode-setting-for-share

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for macos-file-tags

README.md
[![agentmods](https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/macos-file-tags/github.svg)](https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/macos-file-tags)
Your own site
<a href="https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/macos-file-tags"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/macos-file-tags/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for macos-file-tags

Your own site · 80×15
<a href="https://agentmods.dev/skills/joonlab/joonlab-claudecode-setting-for-share/macos-file-tags"><img src="https://agentmods.dev/badge/skills/joonlab/joonlab-claudecode-setting-for-share/macos-file-tags.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,795 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00108 $0.01795
Opus 5 $0.00054 $0.00898
Sonnet 5 $0.00022 $0.00359
Haiku 4.5 $0.00011 $0.00179

Measured 10d ago against content hash 5c36a67a1d09, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

macos-file-tags 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 10d ago.

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.

claude/skills/macos-file-tags/SKILL.md · 263 lines

How it starts

The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.

macOS File Tags

Overview

Manage macOS Finder color tags (빨간색, 주황색, 노란색, 초록색, 파란색, 보라색, 회색) on files and directories using the native tagging system. This skill provides operations to add, change, remove, list, and search files by their color tags.

Prerequisites

This skill requires the tag command-line tool. If not installed, install it:

brew install tag

Verify installation:

which tag
# Should output: /opt/homebrew/bin/tag

Core Operations

1. Check Current Tags

To see what tags are on a file:

tag -l "file_path"

Example output:

~/Documents/report.pdf	빨간색

To verify tags are properly set in system metadata:

mdls -name kMDItemUserTags "file_path"

2. Add Tag (Append)

To add a tag without removing existing tags:

tag -a "tag_name" "file_path"

Use -a when the user says "add" or "달아줘" and wants to keep existing tags.

3. Set Tag (Replace)

To replace all existing tags with a new tag:

tag -s "tag_name" "file_path"

Use -s when the user says "change to" or "바꿔줘" - this replaces all existing tags.

4. Remove Specific Tag

To remove one specific tag:

tag -r "tag_name" "file_path"

5. Remove All Tags

To remove all tags from a file:

tag -r '*' "file_path"

6. Find Files by Tag

To search for all files with a specific tag:

mdfind "kMDItemUserTags == 'tag_name'"

To search in a specific directory only:

mdfind -onlyin /path/to/directory "kMDItemUserTags == 'tag_name'"

To count results:

mdfind "kMDItemUserTags == '빨간색'" | wc -l

7. Bulk Tag Multiple Files

To tag multiple files at once:

tag -a "초록색" file1.pdf file2.pdf file3.pdf

To tag all files in a directory:

find "/path/to/directory" -type f -name "*.pdf" -exec tag -a "보라색" {} \;

macOS Color Tags

The standard color tags in Korean macOS systems:

Korean English Common Usage
빨간색 Red Urgent, important, high priority
주황색 Orange Warning, needs review
노란색 Yellow In progress, pending
초록색 Green Complete, approved, ready
파란색 Blue Reference, information
보라색 Purple Personal, creative
회색 Gray Archive, low priority

Read the full file on GitHub · 263 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 10d ago First seen · 263 lines · 108 tokens per session scan A 5c36a67a1d09

Subscribe to this mod's changes

macos-file-tags is a skill published in the GitHub repository joonlab/joonlab-claudecode-setting-for-share (10 stars, last pushed 1mo ago), licensed MIT. It adds 108 tokens to every session and 1,795 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.