Original Reddit post

Hello there, i made a thing. It’s a plugin inspired by how succesion works in the foundation series. Its called Empire. Maybe it’s useful for someone. Empire A Claude Code plugin that maintains persistent context across sessions through a dynasty succession model. Problem Claude Code starts every session from scratch. Previous decisions, their reasoning, and accumulated project knowledge are lost. You end up re-explaining the same things, and Claude re-discovers the same patterns. How it works Empire keeps a rolling window of structured context that automatically rotates as it grows stale. It uses three roles inspired by Foundation’s Brother Dawn/Day/Dusk: Day — active context driving current decisions Dawn — staged context prepared for the next ruler Dusk — archived wisdom distilled from previous rulers Each generation is named (Claude I, Claude II, …) and earns an epithet based on what it worked on (“the Builder”, “the Debugger”). When context pressure builds — too many entries, too many sessions, or too much stale context — succession fires automatically. Day compresses into Dusk, Dawn promotes to Day, and a new Dawn is seeded. A separate Vault holds permanent context (50-line cap) that survives all successions. Install via: claude plugin marketplace add jansimner/empire claude plugin install empire The rest is in the repo https://github.com/jansimner/empire submitted by /u/rolld6topayrespects

Originally posted by u/rolld6topayrespects on r/ClaudeCode