Gu Yan, a young man from a poor family, has mediocre talent and only a ray of "spiritual breath", so he is assigned as the lowest-level scribe. While transcribing case files, he unexpectedly realized that "spiritual patterns" could be incorporated into documents, trials, and governance: one stroke determines authenticity, one seal reveals whereabouts, and one picture reveals people's hearts. Since then, he has used his thin spirit to detect treacherous schemes, used his clever spirit to manage tax warehouses, and used his clear opinions to calm the people's hearts, beating the dignitaries and colleagues in the face step by step. From being a clerk in the county government to being the chief clerk, and then to patrolling the Qing Dynasty's official department, Gu Yan used his pen as a blade and his skills as a ruler to smooth out the injustices one by one; while the clever Su Wanzhou also used the formation pattern to help each other and open the way together. When the court was in turmoil, he swore that even if he only had a little bit of magic power, he would still find a way to make the poor family hold their heads high.