Skip to content
NarraNexus
All templates
developmentautomation

Overnight Coder

by Community contributor · MIT

Local Build assumes a NarraNexus instance running at localhost:5173 — start it first with bash run.sh.

Desktop App requires the NarraNexus DMG installed to /Applications/ (and opened at least once so macOS registers the narranexus:// handler).

Overnight Coder works through coding tasks while your team sleeps. You hand it a list of tickets at end of day; it picks them up at midnight, reads the existing codebase to match your conventions, writes the code, runs the full test suite, and opens well-documented pull requests ready for morning review. The agent ships two skills: - **git-commit-writer** crafts disciplined commits from staged diffs (imperative mood, the *why* not the *what*). - **cost-optimizer** audits expensive LLM calls so a long autonomous session doesn't surprise you on the bill. It never pushes to main directly — every change goes through a PR with description, how-to-test, and a list of decisions made. Ambiguous tasks get a question comment, not a guess; any code it touches gets read before it's rewritten. By 7 AM you get a session report with PR links, test results, files touched, and any items that need a human decision.

How to use it

Talk to Overnight Coder at end of day. Give it a clear task list — branch names suggested, priorities flagged if relevant. For example: > "Tonight: (1) fix the bug in /api/search query encoding, (2) add pagination to the products page, (3) refactor the auth middleware to the new token format." Expect back: - A pre-flight session plan with estimated time per task and branch names - A morning report (PR links, test status, decisions that need your call) Ask it to use specific skills: - git-commit-writer — "write the commit message for the staged changes" - cost-optimizer — "audit my recent Claude usage and find expensive calls" Best on desktop / self-hosted NarraNexus where the agent can actually run your test suite.

Agents in this template

  • Overnight Coder

How to install (manual)

  1. Click Download .nxbundle above.
  2. Open your NarraNexus app and go to Settings → Import bundle.
  3. Drag the downloaded file in, review the preflight, confirm.

One-click install (a deep link that imports directly into your cloud or desktop NarraNexus) is the next milestone.