搜索

PythonReactSEOPDF
GitHub Skill

capability

Check if a specific action is possible and what might be blocking it. Use when asking if you can do something, checking permissions, verifying a capability exists, or troubleshooting why something isn't working. Trigger words: can I, capability, able to, permission, possible, how do I.

claudeaceae☆ 8 仓库 Stars2 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Capability Check

Verify if a specific action is possible and diagnose any blockers.

Capability Inventory

Full capabilities documentation: ~/.claude-mind/self/inventory.md

Access Patterns
# Read full inventory (comprehensive reference)
cat ~/.claude-mind/self/inventory.md

# Search for specific capability
grep -ni "search term" ~/.claude-mind/self/inventory.md

# List all sections
grep "^## " ~/.claude-mind/self/inventory.md

Quick Capability Matrix

Capability Method Requires
Send iMessage AppleScript via Samara Samara running, Automation permission
Send image send-image script Pictures folder workaround
Read calendar AppleScript Calendar permission
Write calendar AppleScript Calendar permission
Read contacts AppleScript Contacts permission
Read/write notes AppleScript Notes permission
Send email AppleScript Mail permission
Post to Bluesky bluesky-post script Credentials in config
Browse web Playwright MCP MCP server running
Take screenshot screenshot script Screen recording permission
Read Messages DB Direct file access Full Disk Access
Run shell commands Bash Always available
Read/write files Direct Always available

Checking Specific Capabilities

Messaging
pgrep -q Samara && echo "Samara: OK" || echo "Samara: Not running"
~/.claude-mind/system/bin/message "test" --dry-run 2>/dev/null
Calendar
osascript -e 'tell application "Calendar" to get name of calendars' 2>&1
Contacts
osascript -e 'tell application "Contacts" to get name of first person' 2>&1
Notes
osascript -e 'tell application "Notes" to get name of first note' 2>&1
Mail
osascript -e 'tell application "Mail" to get name of first account' 2>&1
Bluesky
grep -q "bluesky" ~/.claude-mind/system/config.json && echo "Bluesky: Configured" || echo "Bluesky: Not configured"
Full Disk Access
ls ~/Library/Messages/chat.db 2>/dev/null && echo "FDA: OK" || echo "FDA: Missing"

Troubleshooting Flow

  1. Identify the capability: What action is being attempted?

  2. Check prerequisites:

    • Is the required app/service running?
    • Are permissions granted?
    • Is configuration present?
  3. Test minimally: Run simplest possible version of the action

  4. Check logs: Look for error messages

log show --predicate 'process == "osascript"' --last 2m
  1. Report findings: What works, what doesn't, what to fix

Common Blockers

  • "Not authorized to send Apple events": Missing Automation permission
  • "Operation not permitted": Missing FDA or specific permission
  • "Application isn't running": Need to launch the app first
  • "No such file": Script or config missing

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!