Macos sandbox app data

From Undermybelt/hermes-skills · View interactive version

Macos sandbox app data is an AI agent skill from the GitHub repository Undermybelt/hermes-skills. Locate, inspect, and safely edit config/data for sandboxed macOS apps that store state under ~/Library/Containers and ~/Library/Group Containers instead of an obvious config.yaml. Use when an App Store/Flutter/Electron app hides the active config behind bundle IDs, JSON controller files, runtime-gen

How to use this skill

Skill file

Goal

Use when

Do not use when

Core model

Most sandboxed macOS apps split state across 3 layers:

  1. App container
  1. Group container
  1. Generated runtime state

Workflow

  1. Identify the app bundle/process first.
  1. Search likely container roots before broad home scans.
  1. If the app is running, use open files as ground truth.
  1. Read controller files before editing anything.
  1. Classify candidate files.
  1. Edit the persistent source, not the generated runtime artifact.
  2. Check overwrite risk before finalizing.
  1. If the source profile is subscription-managed, look for a patch/overlay layer before telling the user to disable updates.
  1. Verify after edit.

Fast commands

find "$HOME/Library/Containers" -maxdepth 4 \( -iname '*<app>*' -o -iname '*<bundle>*' \) 2>/dev/null
find "$HOME/Library/Group Containers" -maxdepth 4 \( -iname '*<app>*' -o -iname '*<bundle>*' \) 2>/dev/null
lsof -p <pid> 2>/dev/null | rg -i 'yaml|yml|json|plist|profile|config|group containers|containers'
rg -n 'core_path|current_id|runtime-profile-save-path|patch|url' "$HOME/Library/Group Containers/group.<bundle>"

Verification checklist

Pitfalls

Support files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.