cowork-prompt-tracker
Installation
SKILL.md
Cowork Prompt Tracker
Extracts the Claude Cowork system prompt from local session files, commits it to the claude-prompts repo, and maintains a changelog with diff summaries.
What this skill does
- Finds the most recent Cowork session file and extracts the
systemPromptfield - Detects the Cowork plugin version (from
cowork-plugin-managementin the session's plugin cache) - Hashes the prompt to check if it changed since the last commit
- Writes
cowork/system-prompt.mdto the repo with metadata header - Commits it with a descriptive message
- Reads the diff and writes a changelog entry to
cowork/CHANGELOG.md
Session file locations
- macOS:
~/Library/Application Support/Claude/local-agent-mode-sessions/{uuid}/{uuid}/local_{uuid}.json - Windows:
~\AppData\Local\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\local-agent-mode-sessions\{uuid}\{uuid}\local_{uuid}.json
The script handles macOS automatically. For Windows, the user will need to run it in WSL or adapt the path.