Samara Debug and Control

VerifiedSafe

Debug, check, or restart Samara.app, the message broker connecting iMessage to Claude. Use this skill when messages aren't being detected, Samara has crashed, or you need to view logs, verify Full Disk Access, or restart the application. It provides commands to check running status, recent logs, restart, and rebuild with proper code signing to avoid revoking permissions.

Sby Skills Guide Bot
DevOpsIntermediate
6/2/2026
Claude Code
#samara#message-broker#debugging#macos#full-disk-access

Recommended for

Automated summary

Diagnoses and manages Samara.app, the message broker connecting iMessage to Claude.

Strengths

  • Quickly checks if Samara is running
  • Provides commands to view recent logs
  • Includes Full Disk Access (FDA) verification
  • Guides proper restart and rebuild procedures

Limitations

  • Requires filesystem and macOS log access
  • Rebuild must use a specific script to avoid breaking FDA
  • Does not cover network or iMessage configuration issues
When to use it

Use this skill when Samara is unresponsive, messages aren't being detected, or you suspect permission issues or crashes.

When not to use it

Avoid this skill for Samara UI issues or features unrelated to app execution.

Security analysis

Safe
Quality score95/100

The skill uses standard Unix commands for process inspection, file readability checks, and app control, all scoped to a specific application (Samara). It warns against dangerous file copying and enforces safe rebuild procedure via PreToolUse hook that likely prevents destructive operations. No exfiltration, obfuscation, or attack patterns detected.

No concerns found

How this analysis is made

Examples

Check Samara status
Is Samara running? Check its logs and show me if FDA is granted.
Restart Samara
Restart Samara.app because messages are not being detected.
Diagnose FDA revoked after update
Samara stopped working after I rebuilt it. Check the code signature and tell me if FDA is broken.

name: samara description: Debug, check, or restart Samara.app - the message broker. Use when messages aren't being detected, Samara crashed, need to view logs, check Full Disk Access, or restart the app. Trigger words: samara, messages not working, restart, logs, FDA, broker. context: fork allowed-tools:

  • Bash
  • Read
  • Grep
  • Glob
  • Write hooks: PreToolUse:
    • matcher: "Bash" hooks:
      • type: command command: "/Users/claude/Developer/samara-main/.claude/hooks/block-deriveddata-copy.sh" timeout: 5

Samara Debug and Control

Diagnose and manage Samara.app, the message broker that connects iMessage to Claude.

Quick Actions

Check if Running

pgrep -fl Samara
ps aux | grep -i [S]amara

View Recent Logs

# Samara's own logs
tail -50 ~/.claude-mind/logs/samara.log 2>/dev/null

# System logs for Samara
log show --predicate 'process == "Samara"' --last 5m 2>/dev/null | tail -30

Restart Samara

# Kill if running
pkill -f Samara

# Wait a moment
sleep 2

# Relaunch
open /Applications/Samara.app

Tip: This sequence is a good candidate for the Bash subagent (Task tool with subagent_type=Bash) to avoid polluting context with intermediate steps.

Check Full Disk Access

# This will work if FDA is granted
ls ~/Library/Messages/chat.db && echo "FDA: OK" || echo "FDA: MISSING"

# Check code signature (Team ID must be stable)
codesign -d -r- /Applications/Samara.app 2>&1 | head -5

Common Issues

Messages Not Being Detected

  1. Check Samara is running
  2. Check FDA is intact
  3. Check chat.db is readable
  4. Look for errors in logs

Samara Crashed

  1. Check system logs for crash reason
  2. Restart with open /Applications/Samara.app
  3. If repeated crashes, may need rebuild

FDA Revoked After Update

This happens if Team ID changed during rebuild:

# Check current signature - MUST show G4XVD3J52J
codesign -d -r- /Applications/Samara.app 2>&1 | grep "subject.OU"

# If shows 7V9XLQ8YNQ or any other team: WRONG CERTIFICATE USED
# Must rebuild properly and re-grant FDA

Rebuild Samara

CRITICAL: ONLY use the update-samara script. NEVER copy from DerivedData.

A Claude instance previously broke FDA by copying a Debug build from ~/Library/Developer/Xcode/DerivedData/. This used automatic signing which picked the WRONG certificate and revoked all permissions.

The ONLY correct way to rebuild:

~/.claude-mind/bin/update-samara

FORBIDDEN (will break FDA):

  • cp -R ~/Library/Developer/Xcode/DerivedData/.../Samara.app /Applications/
  • xcodebuild -configuration Debug for deployment
  • Any manual copy of Samara.app to /Applications

Verify after rebuild:

codesign -d -r- /Applications/Samara.app 2>&1 | grep "subject.OU"
# Must show: G4XVD3J52J
# If shows: 7V9XLQ8YNQ - WRONG! FDA will be revoked

Diagnostic Report

When troubleshooting, gather:

  1. Is Samara running?
  2. FDA status
  3. Recent log errors
  4. Last successful message detection
  5. Code signature validity

Present findings clearly with recommended actions.

Related Skills

For specific issues, use these specialized skills:

  • /diagnose-leaks — Debug thinking traces or session IDs leaking into messages
  • /debug-session — Debug session management, batching, and task routing
  • /status — Quick system health check

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/samara-debug-and-control-mm5t8b3z/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/samara-debug-and-control-mm5t8b3z' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/samara-debug-and-control-mm5t8b3z/download' --output '.skill-downloads/samara-debug-and-control-mm5t8b3z/SKILL.md.part' && mv '.skill-downloads/samara-debug-and-control-mm5t8b3z/SKILL.md.part' '.skill-downloads/samara-debug-and-control-mm5t8b3z/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/samara-debug-and-control-mm5t8b3z/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills