CorpLore is an AI-assisted fiction development pipeline built with Claude Code, the Anthropic API/SDK, and custom prompt engineering skills/agents. It uses structured prompt workflows — including folklore generation, literary style revision, character analysis, and scene writing — to collaboratively develop and maintain internal consistency across a large-scale speculative fiction setting. The repository contains both the tooling (skills, agents, API scripts) and the setting artifacts they produce.
There are no forests, no landscapes, no houses or cities. The world is nothing but Corporate Offices, Hotels, Gas Stations, and the Daily Commute, all merged into a single global architectural geography. Stairwells climb in crazy clusters thousands of meters high. Hotel pools form lakes and seas. Public restrooms have reverted to swamps. There is no nature here, only infrastructure, stretching in every direction without end.
Every living soul in this world is a demon. Not in the fire-and-brimstone sense, but in the way a middle manager is a demon: shaped by the system, compliant by contract, drifting further from whatever they used to be with every quarterly review. Most carry weapons and use them freely. Killing is commonplace, always called "passing away" or "abrupt termination." There are no guns: etiquette demands a justification, however nonsensical, for one's weapon. Canes, sharpened butter knives, office chair legs, box cutters. Stronger demons carry sledgehammers, rebar, shovels.
Demonkind spans six categories. The Corruption Spectrum is the general population: base demons, Waards (enforcers thickened by violence), Shaylas (she-demons sharpened by cruelty), Loras (ancient hags fused with infrastructure), Aychar (kakodemons of pure HR evil). Uncorrupted Dans are the setting's elves: stocky archivists who never signed the full contract. Weave-Born emerge from carpet cosmology: Tuples (doppelgangers) and Enums (immutable beings at cosmic Knots). The Contractually Obligated are undead animated by unfinished paperwork. Systemic Entities accumulate from infrastructure. Named Uniques include Withaazz the great sorcerer and the Auditor, whose corrections rewrite history.
The world was spoken into being by the Double-Senior Vice President of Infrastructure (the DSVPI), whose Words partitioned an original Undivided Room into the corridors, lobbies, and break rooms that now comprise all of reality. Those Words survive, sealed behind the glass of motivational office posters. The fabric of reality itself is a woven Textile on a cosmic Loom, layered like hotel carpet: Face, Pile, Warp, Weft, and Backing. Where the Weave wears thin, raw geometric patterns bleed through. Hotel hallways, walked by thousands who are never walking home, are among the most frayed places in existence.
Gods are not born. They are stocked, like lottery tickets in a gas station display, dispensed by Intermediaries and periodically expired and replaced by the Vendor. Prayer does not petition; it only scratches away the coating to reveal an answer that was already printed underneath. Souls, meanwhile, are placed on the Eternal Roller Grill and turned under the Warming Light until the moment of removal grants them individuality.
Death is not an ending but a homecoming. Every demon, from the night of their birth, builds a personal Minecraft world one block at a time through nightly ritual. Life is the away-state, remote access. Death is sitting back down at the keyboard and seeing what you built finally render in full.
Three traditions of magic operate across the setting's domains. Sorcerers, the software engineers, wield electric magic through glyphboard shortcuts. The Conciergerie, warlock-concierges, negotiate pacts recorded in contact-book grimoires. Commuters channel highway hypnosis outward, drawing doctrine from podcast cults and projecting it through road-trance devotion, always with a commuter mug in hand.
Four demon cults divide the fiscal year. January Financials (Q1): fanatical consumers worshipping a false Archive, spreading hunger through stolen lunches. The Moth and the Flame (Q2): illegal candle-keepers, insane but not evil. Dogmommies (Q3): fanatical dog-worshippers who join their violent hounds in frenzy. Q4H (Q4): every October, they announce the world is ending. January arrives. They are wrong again.
This repository contains artifacts for creating stories - and refining the setting itself - of the CorpLore fiction universe. This setting is built collaboratively with claude/claude-code.
The repository consists of:
.claude/- Agents and skills used in story/setting creation (character analysis, folklore generation, literary revision, etc.)Input/- Context files (markdown/JSON) fed to the Claude APIJavascript/- Scripts for calling the Claude API/SDK (main.jsentry point, module wrappers)Output/- Default destination for files generated by skills and agentsSetting/- Setting documents, organized hierarchically:CorpLore.md- Setting overview for the CorpLore project; a 400-word summary of the info.CorpLore-Folklore.md- Random pieces of folklore for the settingCorpLore-Ideas.md- Running scratchpad for rough ideas and notes (temporary; items get incorporated or discarded)CorpLore-Mythology.md- Main setting summary mapping real-world objects to classical myth categoriesFolklore/- Deep-dive docs for random pieces of cofirmed setting loreMythology/- Deep-dive docs for each defined mythology elementPotential-Folklore/- Generated folklore not yet incorporated or confirmed to be true to the setting
Stories/- In-progress narratives and scene outlines
Almost all files are:
- .json (collections of elements: IE. 'monsters.json')
- markdown (setting/story documents)
- javascript