CSF CHI3L1 levels are correlated with the severity and prognosis of anti-LGI1 encephalitis. Here, LGI1 is linked to viral encephalitis.