Skip to main content

apple-contacts

Look up contacts from macOS Contacts.app. Use when resolving phone numbers to names, finding contact info, or searching the address book.

소스 정보

저장소
ThinkfleetAI/thinkfleet-engine
최근 소스 활동
2026년 2월 1일 16:21
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
apple-contacts
description
Look up contacts from macOS Contacts.app. Use when resolving phone numbers to names, finding contact info, or searching the address book.
metadata
{"thinkfleetbot":{"emoji":"👤","os":["darwin"]}}
# Apple Contacts Query Contacts.app via AppleScript. ## Quick Lookups ```bash # By phone (name only) osascript -e 'tell application "Contacts" to get name of every person whose value of phones contains "+1XXXXXXXXXX"' # By name osascript -e 'tell application "Contacts" to get name of every person whose name contains "John"' # List all osascript -e 'tell application "Contacts" to get name of every person' ``` ## Full Contact Info ⚠️ Don't use `first person whose` — buggy. Use this pattern: ```bash # By phone osascript -e 'tell application "Contacts" set matches to every person whose value of phones contains "+1XXXXXXXXXX" if length of matches > 0 then set p to item 1 of matches return {name of p, value of phones of p, value of emails of p} end if end tell' # By name osascript -e 'tell application "Contacts" set matches to every person whose name contains "John" if length of matches > 0 then set p to item 1 of matches return {name of p, value of phones of p, value of emails of p} end if end tell' ``` ## Phone Lookup ⚠️ **Exact string match required** — must match stored format exactly. | Stored | Search | Works? | |--------|--------|--------| | `+1XXXXXXXXXX` | `+1XXXXXXXXXX` | ✅ | | `+1XXXXXXXXXX` | `XXXXXXXXXX` | ❌ | Try with `+1` prefix first. If fails, search by name instead. ## Name Search - Case-insensitive - Partial match with `contains` - Exact match: use `is` instead of `contains` ## Output Returns comma-separated: `name, phone1, [phone2...], email1, [email2...]` No match = empty output (not an error).
GitHub에서 보기