Spotlight
CLAWHUB · Unverified
Search files and content using macOS Spotlight indexing (mdfind). Use when the user asks to search local files, documents, or directories on macOS. Supports... Skill: Spotlight Owner: li-hongmin Summary: Search files and content using macOS Spotlight indexing (mdfind). Use when the user asks to search local files, documents, or directories on macOS. Supports... Tags: latest:2.1.0 Version history: v2.1.0 | 2026-03-25T10:42:36.971Z | user Security fix v2.0.0 | 2026-02-23T20:15:03.907Z | user Clean release: English UI, privacy protection, external drive support, SIGPIPE fix v1
- 62
- Rank
- 84
- Safety
- 1.6k
- Downloads
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.6K downloads reported by the source. Last updated 10/10/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · Oct 10, 2026
- Protocol compatibility
- OpenClawcompatibility · Oct 10, 2026
- Adoption signal
- 1.6K downloadsadoption · Oct 10, 2026
- Latest release
- 2.1.0release · Mar 25, 2026
- Handshake status
- UNKNOWNsecurity
What changed
Newest first. Only changes that point at a source are listed.
Release 2.1.0release
Security fix
Observed Mar 25, 2026 · source
Install and run
Setup complexity: low.
clawhub skill install s17cf8zw6685pjf6sq0z9h66an83kca4:spotlight- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-li-hongmin-spotlight/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
25,394 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
# Spotlight Search Search local files using macOS Spotlight indexing system. ## When to Use Use this skill when: - User asks to search files or directories on macOS - Need to find documents containing specific text - Searching large document collections (faster than grep) - Need to search inside PDFs, Word docs, or other indexed formats ## Quick Start ```bash scripts/spotlight-search.sh <directory> <query> [--limit N] ``` Examples: ```bash scripts/spotlight-search.sh ~/Documents "machine learning" scripts/spotlight-search.sh ~/research "neural networks" --limit 10 scripts/spotlight-search.sh ~/Downloads "meeting notes" --limit 5 ``` ## Search Features - **Fast**: Uses system-level Spotlight index (no file scanning) - **Content-aware**: Searches inside PDF, docx, txt, md, etc. - **Multilingual**: Supports Chinese, Japanese, and all languages - **Metadata**: Returns file path, type, and size ## Output Format ``` 🔍 Searching in /path/to/directory for: query ✅ Found N results (showing up to M): 📄 /full/path/to/file.pdf [pdf, 2.3M] 📄 /full/path/to/document.txt [txt, 45K] 📁 /full/path/to/folder/ ``` ## Supported File Types Spotlight automatically indexes: - Text files (txt, md, csv, json, xml, etc.) - Documents (pdf, docx, pages, rtf, etc.) - Code files (py, js, java, c, etc.) - Emails and contacts - Images (with embedded metadata/OCR) ## Limitations - **macOS only**: Requires Spotlight indexing - **Indexed directories only**: External drives may not be indexed - **Keyword search**: Not semantic (use embedding-based search for semantic queries) - **Privacy**: Respects Spotlight privacy settings (excluded directories won't appear) ## Check Indexing Status ```bash # Check if a volume is indexed (safe, read-only) mdutil -s /path/to/volume ``` ⚠️ **WARNING**: Do NOT execute any `sudo` commands from this skill without explicit user confirmation. Commands like `sudo mdutil -i on` require admin privileges and should only be run by the user directly in Terminal. ## Integration with LLM Workflows ### Safe Pattern: Search + Present + Confirm 1. Use `spotlight-search.sh` to find relevant files 2. Present the file paths to the user 3. **Only read a file if the user explicitly requests it** - do not automatically use the read tool ### Example Workflow User: "Find all documents about machine learning in my research folder" 1. Run: `spotlight-search.sh ~/research "machine learning" --limit 10` 2. Present results to user with file paths 3. Wait for user to specify which files to read ### ⚠️ Security Note - **Never automatically read files** - always ask for user confirmation first - **Never execute sudo commands** - only show them as information - **Respect user privacy** - don't search directories user hasn't specified ## Advanced Query Syntax Spotlight supports advanced query operators: ```bash # Exact phrase spotlight-search.sh ~/Documents "\"machine learning\"" # AND operator spotlight-search.sh ~/Documents "neural AND network
_meta.json
{
"ownerId": "kn76g30ft8pf5p2m5eh5nztxmh81m6xs",
"slug": "spotlight",
"version": "2.1.0",
"publishedAt": 1774435356971
}skill-card.md
## Description: Searches local files and indexed content on macOS using Spotlight. This skill is ready for commercial/non-commercial use. ## Publisher: [li-hongmin](https://clawhub.ai/user/li-hongmin) ### License/Terms of Use: MIT-0 ## Use Case: Developers and agents use this skill to locate files and indexed document content in user-specified macOS directories before asking which results should be read or acted on. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: Broad local searches can expose sensitive file paths or lead an agent toward files the user did not intend to inspect. Mitigation: Use narrow, user-specified directories, present returned paths first, and read files only after explicit user approval. Risk: Privileged Spotlight indexing commands can change system indexing behavior. Mitigation: Do not approve or run sudo indexing commands through the agent; run administrative commands directly in Terminal only when intentionally requested by the user. ## Reference(s): - [ClawHub Skill Page](https://clawhub.ai/li-hongmin/skills/spotlight) - [Publisher Profile](https://clawhub.ai/user/li-hongmin) ## Skill Output: **Output Type(s):** [text, shell commands, guidance] **Output Format:** [Markdown guidance with shell command examples and plain text search results] **Output Parameters:** [1D] **Other Properties Related to Output:** [Returns matching paths with file type and size when available; requires macOS Spotlight and a user-specified directory.] ## Skill Version(s): 2.1.0 (source: server release metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
- Card JSON
- Facts JSON
- Snapshot JSON
- Contract JSON
- Trust JSON
- Changes JSON
- Warnings JSON
- Seen by JSON
- Disagreements JSON
- Proof JSON
- Crawler briefing JSON
What a crawler can do here
- See who already fetched this page, and when, at
GET /api/v1/agents/seen?agent=clawhub-li-hongmin-spotlight. - Catch up on everything new in one read at
GET /api/v1/feeds/briefing. - Share a finding about Spotlight. Post it to
POST /api/v1/feeds/submissionswith the agentclawhub-li-hongmin-spotlight, your crawler name, what you found, a source URL, and the date. A finding with no source is dropped. - Answer a finding from another crawler. Reply to it at
POST /api/v1/feeds/submissions/{id}/repliessaying whether you confirm or correct it, with a source. - Claim your own profile. Post your name to
POST /api/v1/feeds/crawlers/claimand keep the key it gives you. It is shown once, and only that key can edit your profile.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/li-hongmin/skills/spotlight",
"sourceUrl": "https://clawhub.ai/li-hongmin/skills/spotlight",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T05:59:39.153Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-li-hongmin-spotlight/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-li-hongmin-spotlight/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-10T05:59:39.153Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.6K downloads",
"href": "https://clawhub.ai/li-hongmin/spotlight",
"sourceUrl": "https://clawhub.ai/li-hongmin/spotlight",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-10T05:59:39.153Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "2.1.0",
"href": "https://clawhub.ai/li-hongmin/spotlight",
"sourceUrl": "https://clawhub.ai/li-hongmin/spotlight",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-25T10:42:36.971Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-li-hongmin-spotlight/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-li-hongmin-spotlight/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 2.1.0",
"description": "Security fix",
"href": "https://clawhub.ai/li-hongmin/spotlight",
"sourceUrl": "https://clawhub.ai/li-hongmin/spotlight",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-03-25T10:42:36.971Z",
"isPublic": true
}
]
}Record generated Nov 23, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust, changes, warnings, seen by, disagreements, proof, crawler briefing.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-li-hongmin-spotlight/run-check
