What is colony-code?
colony-code is a Claude Code mod by Tw1stedGene that shows this Claude Code session and its subagents as remote workers in your RimWorld colony (needs the Colony Code mod running in the game). It is listed under Games and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | Tw1stedGene |
| Repository | Tw1stedGene/colony-code |
| Popularity | 1 GitHub stars |
| Category | Games |
| Security | High risk (44/100) |
| Rank | #4,361 of 9,397 Claude Code mods; #68 in Games |
| License | MIT |
| Last commit | 2026-10-26 |
| Hooks | 10 events |
| Sees | classic hooks, every prompt, every tool call, subagent spawns |
| Draws on | nothing |
Is colony-code safe to install?
colony-code scores 44/100 on the MCPMods security check: High risk. Things to review: sends data over the network; starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 2 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Validator reported problems | Note |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.http.fetch | network requests |
$.process.run | runs processes |
$.prompt.submit | drives Claude |
$.session.id | |
$.session.model | |
$.session.repo | |
$.turn.abort | drives Claude |
$.ui.status | draws interface |
How do I install colony-code?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/Tw1stedGene/colony-code claude plugin validate ./colony-code/plugin
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add Tw1stedGene/colony-code && claude plugin install colony-code@colony-code
Or ask Claude to set it up
Paste this into Claude Code and it installs colony-code for you:
Install the "colony-code" Claude Code mod from https://github.com/Tw1stedGene/colony-code/tree/main/plugin. Run claude plugin validate on it first and show me what it can access before you enable it.