Add mac-memory-triage skill#273
Draft
ikuwow wants to merge 2 commits into
Draft
Conversation
Capture the memory-pressure investigation method from the 2026-07-08 session as a reusable skill: read-only triage steps, metric interpretation pitfalls, countermeasure levers with observed impact, and a machine baseline. Include design notes for a future snapshot feedback loop as a skill reference doc. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01541PDVus8VsBHojAyEuHUj
Split multi-sentence bullets into parent and child bullets per the one-sentence-per-bullet rule. Replace the unverified MEM+CMPRS summation claim with a MEM-primary reading guide (man top does not document the relation between the columns). Add the DISPATCH_MEMORYPRESSURE constants as the source for the pressure level mapping, scope all observed numbers to the 2026-07 session in one line, and reframe the WebKit attribution bullet positively. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01541PDVus8VsBHojAyEuHUj
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a
mac-memory-triageskill capturing the memory-pressure investigation performed in the 2026-07-08 session, so future sessions can reproduce it instead of rediscovering the commands and pitfalls.The skill is a read-only triage playbook (pressure snapshot, per-app consumption, attribution of VMs and long-running Electron apps, metric interpretation pitfalls, countermeasure levers ordered by observed impact, machine baseline); the feedback-loop reference doc records design ideas for continuous monitoring to catch sluggish episodes, deliberately not built yet.
No
scripts/deploy.shchange needed: skill directories are auto-discovered and symlinked (deploy.sh line 70). Running./scripts/deploy.shonce after merge activates the skill.Verification notes for the empirical claims (pressure-level mapping, container CLI subcommand, top sampling caveat) are inline in SKILL.md; the launchd event-trigger idea (feedback-loop Option B) is marked unverified in the doc.
Verification
./scripts/deploy.shcreates~/.claude/skills/mac-memory-triagesymlink (run after merge)/mac-memory-triage(after deploy)