He wrote the first draft of the "Nihon Ryoiki" in 787, which he is believed to have edited by integrating materials, which had been gathered over the years, and finally completed in 822.
彼は787年（延暦6年）に著した霊異記の初稿本を年を追って集成し、822年（弘仁13年）に完成させたとみられている。