The Yuanbao jingzhuan 元包經傳 "Classic and commentary of the primordial bud", shortly called Yuanbao 元包, is a divination book written by the Northern Zhou period 北周 (557-581) master Wei Yuansong 衛元嵩, with the title Yuanbaojing 元包經 or Yi yuanbao 易元包. The Tang period 唐 (618-907) scholars Su Yuanming 蘇源明 and Li Jiang 李江 wrote commentaries to it that became an integral part of the book, so that it is often referred to with the title jingzhuan "classic (Wei's original) and commentary (by Su and Li)". In this shape it is 5 juan "scrolls" long. A phonetic commentary was written by the Song period 宋 (960-1279) scholar Wei Hanqing 韋漢卿. All editions of the Yuanbao include a 2 juan long appendix called Yuanbao shu zongyi 元包數總義 "Overall meaning of the numbers in the Yuanbao" that was written by Zhang Xingcheng 張行成 during the Song period.|
Wei Yuansong came from Chengdu 成都 (modern Chengdu, Sichuan) and was an expert in calendric calculations based on the theory of yin and yang. For his book he was rewarded the title of seal-holding (chijie 持節) Commandery Duke of Shu 蜀郡公. The Ming period 明 (1368-1644) scholar Hu Yinglin 胡應麟 says that he has also written a book called Qi sanjiao lun 齊三教論. The bibliography Chongwen zongmu 崇文總目 and the two encyclopedias Tongzhi 通志 and Wenxian tongkao 通考 erroneously call him a Tang period person.
The Five Agents (wuxing 五行), explains the text, are the "essence of Yin and Yang and the source of each creation" (yinyang zhi jingqi, zaohua zhi benyuan 陰陽之精氣，造化之本源). In the sky, the Five Provesses are visible as the five planets, on earth as the five sacred mountains (wuyue 五嶽), and in the human world in the five talents (wucai 五材) and the five virtues (wude 五德). The control all processes in the world among the ten thousand beings, and balance all changes from one aggregate status to another, or one appearance to another shape. They also control colours, sounds, tastes, shapes and words. The human body, his nose, heart, and will are determined by the Five Agents are only so able to be fit for life, and therefore the basis to become a "perfect man" (zhiren 至人) without any evils, errors, or misfortune. The perfect man does not any more need to prognosticate the future, like the common man.
The ideas in the Yuanbao were influenced by Yang Xiong's 揚雄 divination book Taixuanjing 太玄經 from the Han period 漢 (206 BCE-220 CE), while the arrangement follows the largely lost divination book Guicang 歸藏, the hexagram kun 坤 heading the divinatory symbols, followed by qian 乾, dui 兌, gen 艮, li 離, kan 坎, xun 巽 and zhen 震. The order known from the famous divination book Yijing 易經 is qian, kun, kan, li, zhen, gen, xun, and dui. The Yuanbao operates with eight changes after which the original hexagram is reached again. It also includes explanatory parts called ciwen 辭文. The text is not easy to understand especially because Wei Yuansong uses a lot of substitution terms in order to avoid tabooed characters (like those of deceased emperors). The different layers of commentaries are geared to the structure of the Taixuanjing. The commentary by Zhang Xingcheng is not an explanatory part of the text but a commentary in its proper sense, in which he rectifies errors made by Su Yuanming and Li Jiang. He also describes the general idea behind the book in order to bring the hexagrams and their interpretation into a whole concept. His Yuanbao shu zongyi has also been published separately.
The Yuanbao jingzhuan is included in the reprint series Fanshi qishu 范氏奇書, Jindai mishu 津逮秘書, Xuejin taoyuan 學津討原, Rongyuan congshu 榕園叢書, Congshu jicheng 叢書集成 and Siku quanshu 四庫全書.
Gao Liushui 高流水 (1996). "Yuanbao wuxing zhuan 元包五行傳", in: Feng Kezheng 馮克正, Fu Qingsheng 傅慶升 (ed.), Zhuzi baijia da cidian 諸子百家大辭典, Chengdu: Sichuan renmin chubanshe, p. 434.
Li Xueqin 李學勤, Lü Wenyu 呂文鬰 (1996). Siku da cidian 四庫大辭典, vol. 2, p. 1780. Changchun: Jilin daxue chubanshe.