The abandoned maid Yan Jin is framed by her half-sister and cast out of the marquis's residence. By a twist of fate, she enters the palace as an errand girl in the embroidery workshop. Her long-lost double-sided, multicolored embroidery technique astonishes the Imperial Wardrobe Bureau. To protect herself, she takes on the task of embroidering a dragon robe for the emperor, only to discover a secret message from the previous dynasty hidden in its patterns. Forced into the covert struggle for the throne between the Third Prince and the Crown Prince, she uses her embroidery as a means of passing information. By chance, she learns that her mother was an embroiderer for the late emperor and died under mysterious circumstances. Her secret investigation uncovers an old case involving the marquis's residence and palace secrets. She goes from mistrusting Shen Zhao, the captain responsible for palace security, to joining forces with him. Using the embroidery workshop's connections, she builds an intelligence network. When she is reported for possessing forbidden items, she nearly faces execution. Shen Zhao risks his life to protect her and win her a chance to investigate. She discovers that her half-sister has colluded with the marquis's household and the Noble Consort in an attempt to rebel. Using her embroidery as bait, she draws the conspirators out. Before the emperor, she embroiders the complete plot, forcing her enemies to reveal themselves. In the end, the new emperor ascends the throne and rewards those who served him. She declines her reward and leaves the palace to open an embroidery shop, spending ordinary days by Shen Zhao's side.