The Nag Hammadi is a collection of workings found in 1945 Egypt applying to Christian Astrotheology(Applying to the cosmos and astral realms or heavenly realms). They get into the origins of the realm and the creation of the world. The basis of the Nag Hammadi seems to be a half literal and half symbolic. The Archon section is a very interesting section. Archons are also known as the demigods or Djinns of Islam. The story seems to signify the descent of energy or astral energy trapped in physical matter. Some believe earth existed as an astral object which fell into physical matter.

Writings of creative and redemptive mythology, including Gnostic alternative versions of creation and salvation: The Apocryphon of John; The Hypostasis of the Archons; On the Origin of the World; The Apocalypse of Adam; The Paraphrase of Shem. (For an in-depth discussion of these, see the Archive commentary on Genesis and Gnosis.)

Observations and commentaries on diverse Gnostic themes, such as the nature of reality, the nature of the soul, the relationship of the soul to the world: The Gospel of Truth; The Treatise on the Resurrection; The Tripartite Tractate; Eugnostos the Blessed; The Second Treatise of the Great Seth; The Teachings of Silvanus; The Testimony of Truth.

Liturgical and initiatory texts: The Discourse on the Eighth and Ninth; The Prayer of Thanksgiving; A Valentinian Exposition; The Three Steles of Seth; The Prayer of the Apostle Paul. (The Gospel of Philip, listed under the sixth category below, has great relevance here also, for it is in effect a treatise on Gnostic sacramental theology).

Writings dealing primarily with the feminine deific and spiritual principle, particularly with the Divine Sophia: The Thunder, Perfect Mind; The Thought of Norea; The Sophia of Jesus Christ; The Exegesis on the Soul.

Writings pertaining to the lives and experiences of some of the apostles: The Apocalypse of Peter; The Letter of Peter to Philip; The Acts of Peter and the Twelve Apostles; The (First) Apocalypse of James; The (Second) Apocalypse of James, The Apocalypse of Paul.

Scriptures which contain sayings of Jesus as well as descriptions of incidents in His life: The Dialogue of the Saviour; The Book of Thomas the Contender; The Apocryphon of James; The Gospel of Philip; The Gospel of Thomas.
http://www.gnosis.org/naghamm/nhl.html