crystallize

Featured

Distils repeating patterns from session logs and lessons.md into draft skill files. Run after ≥10 sessions to extract durable knowledge. Output: draft skills/ files + promotion report.

Code & Development 92 stars 13 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
66
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Crystallize — distil session patterns into reusable skills Invoke when the CTO says `/crystallize`, "crystallize", "extract knowledge", or "what have we learned?". Also auto-suggested when session count is a multiple of 10 (the session-end hook checks `.great_cto/.last-crystallize`). The `knowledge-extractor` agent (Opus) does the heavy lifting. This skill orchestrates the workflow and emits the final report. **Session-end hint integration:** The session-end hook checks `.great_cto/.last-crystallize` and suggests running `/crystallize` when the session count exceeds `last_sessions + 10`. Run this skill after ≥10 sessions to keep extracted skills current. --- ## Step 1 — Gather raw material ```bash # Count sessions SESSION_COUNT=$(ls .great_cto/logs/session-*-end.md 2>/dev/null | wc -l | tr -d ' ') echo "Sessions: $SESSION_COUNT" # Read lessons cat .great_cto/lessons.md 2>/dev/null || echo "(no lessons yet)" # Read cross-project decisions cat ~/.great_cto/decisions.md 2>/dev/null | head -200 || echo "(none)" # Find patterns that appear in ≥3 sessions grep -h "^## pattern:" .great_cto/logs/session-*-end.md 2>/dev/null | sort | uniq -c | sort -rn | head -20 # Recent git log for context git log --oneline --since="30 days ago" | head -30 ``` If `SESSION_COUNT` is 0, tell the CTO: "No session logs found in `.great_cto/logs/`. Run at least 10 sessions before crystallizing." Exit. If `SESSION_COUNT` < 10, tell the CTO: "Only `{N}` sessions found. Patterns are more relia...

Details

Author
avelikiy
Repository
avelikiy/great_cto
Created
5 months ago
Last Updated
today
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category