Open
Conversation
New builtin skill + script that computes QR (quantity ratio), effective sources, and per-source volume breakdown from events.jsonl. No external APIs or embeddings — pure character counts and message counts. Includes labeled QR regions (absorbing/conversational/productive/chatty/ monologue) instead of color-coded health judgments per Tim's design. Also fixes __pycache__ traversal bug in builtin skill discovery that caused UnicodeDecodeError when .pyc files existed in skill directories. 17 new tests, 179 total passing (1 pre-existing failure: uv not on PATH). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Main added .startswith(".") check alongside __pycache__. Keep both.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
activity-patterns) + script that computes embedding-free conversation metrics from events.jsonl__pycache__traversal bug in_iter_filesthat caused UnicodeDecodeError when .pyc files existed in builtin skill directories (affected all tests)What's in it
open_strix/builtin_skills/scripts/activity_patterns.py— 300 lines. CLI:--text-onlyfor text report, omit for matplotlib dashboard.--repo-rootand--daysconfigurable.open_strix/builtin_skills/activity-patterns/SKILL.md— Explains metrics, QR regions, per-agent calibration guidanceopen_strix/builtin_skills/__init__.py— 2-line fix: skip__pycache__in_iter_filestests/test_activity_patterns.py— 17 tests (DayMetrics, event parsing, daily computation, text report)Tested against real data
Test plan
uvnot on PATH failure)🤖 Generated with Claude Code