meter-history
Installation
SKILL.md
Your objective is to display historical CocoMeter data.
Before proceeding, verify that .cocoplus/ exists.
If not: output "CocoPlus not initialized in this directory. Run $pod init to begin." Then stop.
Parse argument: $meter history [n] — n defaults to 10.
Read .cocoplus/meter/history.jsonl. If it does not exist or is empty:
Output: "No meter history yet. CocoMeter records history when sessions end. Ensure CocoMeter is enabled ($meter on) and complete a session."
Then stop.
Read the last N JSON objects from history.jsonl (one per line).
Output:
# CocoMeter — Session History
Showing last [N] sessions: