Cell subset-specific analysis identifies homeostatic and stroke-associated CD8+GZMK+ T cells. Here, GZMK is linked to stroke disorder.