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

  1. Finds the most recent Cowork session file and extracts the systemPrompt field
  2. Detects the Cowork plugin version (from cowork-plugin-management in the session's plugin cache)
  3. Hashes the prompt to check if it changed since the last commit
  4. Writes cowork/system-prompt.md to the repo with metadata header
  5. Commits it with a descriptive message
  6. 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.

Installs
1
First Seen
Jun 21, 2026
cowork-prompt-tracker — sage-claw/claude-prompts