Caodong school
Wansong wrote two important commentaries on "kōan" compiled by Hongzhi Zhengjue (1091–1157). In 1224, at the urging of Yelü Chucai, he published a commentary to a collection of one hundred "songgu" () "kōan" by Hongzhi under the title "Congrong Lu" (), known in English as the "Book of Equanimity" or the "Encouragement (Hermitage) Record". Wansong's commentary edition ensured the survival of Hongzhi's "kōan", and came to be regarded as one of the seminal texts of the Caodong school. Wansong also wrote a commentary on Hongzhi's "niangu" () "kōan", entitled "Qingyi Lu" (), known in English as "Record of Seeking Additional Instruction". He also wrote a collection of sayings entitled "Wanshou Yulu" (), with a preface dated 1235.