Skip to content
Development
Skill

/inspect-macos-persistence

Inspect macOS persistence and recurring execution without deleting evidence. Use for login items, launch agents or daemons, extensions, profiles, shell startup files, scheduled tasks, browser extensions, helpers, and startup behavior.

From plugin
socket
10200 skills5 MCP

Claude Code

$ npx -y skills add gaelic-ghost/socket --skill inspect-macos-persistence --agent claude-code

SKILL.md

inspect-macos-persistence.SKILL.md
name: inspect-macos-persistence
description: Inspect macOS persistence and recurring execution without deleting evidence. Use for login items, launch agents or daemons, extensions, profiles, shell startup files, scheduled tasks, browser extensions, helpers, and startup behavior.

Inspect macOS Persistence

Overview

Inventory registered and file-backed persistence, then correlate it with loaded runtime state and installation history. Read files and official service state; never manage launchd by editing its internal state.

Read [references/macos-persistence-surfaces.md](references/macos-persistence-surfaces.md) for prioritized surfaces and evidence fields.

Workflow

1. Record host/build, user domains, event timeline, and the suspected executable or label.

  • Record whether the system is a physical Mac or macOS guest, plus the guest's restore image/build, VM tool/framework, integrations, baseline/reset state, and known virtualization artifacts.

2. Inventory user-visible registrations.

  • Review Login Items and background-item state, profiles, extensions, browser add-ons, and app-managed helpers.

3. Inventory launch services.

  • Inspect user/system LaunchAgents and LaunchDaemons as files and query service state through `launchctl` read operations.
  • Record label, domain, program/arguments, working directory, environment, sockets, keep-alive/start conditions, owner/permissions, signer, and loaded PID/status.

4. Inspect adjacent persistence.

  • Review shell startup files, scheduled jobs, package receipts/scripts, privileged helpers, system/network extensions, authorization plugins, and current platform-specific surfaces justified by evidence.

5. Correlate provenance and runtime.

  • Identify parent installer/app, creation/change time, signature/notarization, executable hash, running process ancestry, files, network, and logs.

6. Classify each item.

  • Expected, suspicious, confirmed malicious, disabled/orphaned, or unresolved; explain evidence and impact.
  • Keep guest-observed persistence distinct from physical-host proof when anti-VM, hardware, recoveryOS, kernel/system-extension, or device behavior may differ.

7. Preserve before containment.

  • Record files and service state before using official `launchctl bootout` or app/uninstaller paths in the containment workflow.

Output

Return a persistence inventory, loaded-versus-file state, provenance, runtime correlation, classification/confidence, and safe containment handoff.

Read more
@gaelic-ghost
Ships withsocket

Stuff for Agents on macOS Promo audio: Socket Codex Marketplace Promo

10200 skills5 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
10
Star history of gaelic-ghost/socket on GitHub, a chart by star-history.com

Other skills on socket.

orchestrate-agent-work

orchestrate-agent-work

Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…

@gaelic-ghost@gaelic-ghostInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about inspect-macos-persistence.

Which coding agents can use inspect-macos-persistence?
inspect-macos-persistence installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.