The Ark of the Cosmos is crafted from Galaxia, the Ark of the Elements and 5 Auric Bars. Every step of both upgrade chains, from the Fractured Ark and Broken Biome Blade.
The Ark of the Cosmos is a post-Moon Lord melee sword from the Calamity Mod for Terraria, and one of the best melee weapons in the game. You craft it at the Cosmic Anvil from two other swords, Galaxia and the Ark of the Elements, plus 5 Auric Bars from after Yharon.
Both swords come from long upgrade chains that start in pre-Hardmode, so you build toward the Ark of the Cosmos over the whole game. Its stats:

The final recipe is made at the Cosmic Anvil:
The two swords are made in two separate chains, the Fractured Ark line and the Biome Blade line. The table shows every step in order:
| Item | Ingredients | Station | Damage |
|---|---|---|---|
| Fractured Ark | Enchanted Sword or Terragrim, 10 Purified Gel, 10 Copper Bar | Iron or Lead Anvil | 41 |
| Ark of the Ancients | Fractured Ark, Starfury, Broken Hero Sword | Mythril or Orichalcum Anvil | 100 |
| Ark of the Elements | Ark of the Ancients, 5 Luminite Bar, 5 Life Alloy, 5 Solar Fragment | Mythril or Orichalcum Anvil | 444 |
| Broken Biome Blade | Wooden Sword, 10 Aerialite Bar, 10 Hellstone Bar, 50 Dirt, 50 Stone | Iron or Lead Anvil | 38 |
| Biome Blade | Broken Biome Blade, Soul of Fright, Might and Sight, 2 Pixie Dust, 10 Starblight Soot | Mythril or Orichalcum Anvil | 115 |
| True Biome Blade | Biome Blade, 18 Astral Bar, 6 Life Alloy, 3 Core of Calamity | Ancient Manipulator | 150 |
| Galaxia | True Biome Blade, Armored Shell, Twisting Nether, Dark Plasma | Mythril or Orichalcum Anvil | 250 |
| Ark of the Cosmos | Galaxia, Ark of the Elements, 5 Auric Bar | Cosmic Anvil | 1700 |
The chain starts in pre-Hardmode. Craft the Fractured Ark from an Enchanted Sword or a Terragrim, 10 Purified Gel and 10 Copper Bars at an Iron or Lead Anvil. Purified Gel drops from the Slime God. It deals 41 damage, and its right click is a parry that gives you a moment of invincibility when it hits an enemy.
In Hardmode, upgrade it at a Mythril or Orichalcum Anvil with a Starfury and a Broken Hero Sword. The Broken Hero Sword drops from Mothron during a Solar Eclipse after Plantera. The Ark of the Ancients deals 100 damage and shoots three homing stars on its second swing.
After the Moon Lord, add 5 Luminite Bars, 5 Life Alloy and 5 Solar Fragments at a Mythril or Orichalcum Anvil. The Ark of the Elements deals 444 damage and gets the five-swing combo and the throw that the final sword keeps.

Craft the Broken Biome Blade in pre-Hardmode from any Wooden Sword, 10 Aerialite Bars, 10 Hellstone Bars, 50 Dirt and 50 Stone at an Iron or Lead Anvil. Stand still on flat ground and hold right click for 2 seconds to attune it to the biome you are in, which changes its attack.
The Biome Blade needs the Broken Biome Blade, one Soul of Fright, Might and Sight, 2 Pixie Dust and 10 Starblight Soot at a Mythril or Orichalcum Anvil, so you need all three mechanical bosses first. Starblight Soot comes from the Astral Infection.
The True Biome Blade takes the Biome Blade, 18 Astral Bars, 6 Life Alloy and 3 Cores of Calamity at the Ancient Manipulator. It deals 150 damage, and its attunements are much stronger.
Galaxia takes the True Biome Blade, an Armored Shell, a Twisting Nether and a Dark Plasma at a Mythril or Orichalcum Anvil. Those three materials drop from the Storm Weaver, the Ceaseless Void and Signus, the three Sentinels of the Devourer. Galaxia deals 250 damage and has four constellation attack modes you cycle with right click.

Holding left click runs a five-swing combo. The wide swings fire 6 homing Eon Bolts, and the combo ends by throwing the blade, which follows your cursor for up to 2.33 seconds. Release the button halfway through the throw to snap the scissor blades shut for 120% more damage and 3 extra bolts.

Right click is a parry. Hitting an enemy with it makes you invincible for about a second, and hitting a projectile lowers its damage by up to 120. A successful parry fills the Ark with 16 charges, and while it holds charges it deals 1.35 times damage.
With charges stored, right click becomes the Big Rip instead: a ghostly pair of scissors snaps shut and tears open space for 200% damage, using up every charge.

The parry is the key to the Ark's damage. These habits help:
Note: Attack speed doesn't change the Ark's swings at all, so attack speed accessories add nothing to it. For the bosses that drop each material, see All Calamity Bosses In Order And How To Summon Them.