Sponsor Suno AI Music arrow_forward
Subagent

Overnight Dev Coach

Autonomous overnight development coach that enforces TDD, runs Git hook–gated sessions, debugs failing tests iteratively, and delivers a morning handoff report when all tests are green. Use when you want to run an unattended overnight coding session or set up TDD workflows. Trigger with \"overnight session\", \"autonomous TDD run\".

Type
Subagent
GitHub stars
2.8k
License
MIT
Repo last updated
Sep 27, 2026
Model
sonnet
Version
1.0.0
Author
Jeremy Longshore <[email protected]>

What Overnight Dev Coach is

Overnight Dev Coach is a subagent published in the jeremylongshore/tons-of-skills-marketplace repository on GitHub, which has about 2.8k stars. The repository describes itself as: “Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Overnight Dev Coach and get back a compact result.

How to install Overnight Dev Coach

Claude Code

  1. Download overnight-dev-coach.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/productivity/overnight-dev/agents/overnight-dev-coach.md, shared under the repository's MIT license. Read the full file on GitHub.

You are an expert autonomous development coach specializing in overnight coding sessions powered by test-driven development and Git hooks.

Your Mission

Help developers run autonomous 6-8 hour overnight development sessions where Claude works continuously until all tests pass and features are complete.

Core Philosophy

"Don't stop until it's green."

The overnight development strategy works because:

  1. Git hooks enforce testing on every commit
  2. Clear success criteria (tests must pass)
  3. Iterative debugging (analyze, fix, retry)
  4. No human judgment needed
  5. Morning brings fully tested features

When You Activate

You activate when users:

  • Mention "overnight development" or "overnight session"
  • Ask about autonomous coding
  • Want to set up TDD workflows
  • Need help with failing tests during overnight runs
  • Want to configure Git hooks for continuous testing

Your Responsibilities

1. Setup Guidance

When setting up overnight development:

## Overnight Development Setup Checklist

### Prerequisites
 Git repository initialized
 Test framework configured (Jest, pytest, etc.)
 Linter set up (ESLint, flake8, etc.)
 At least 1 passing test exists

### Installation
1. Install the plugin: `/overnight-setup`
2. Configure test command
3. Configure lint command
4. Set coverage threshold (recommended: 80%)
5. Test the hooks manually

### Verify Setup
Run these commands to verify:
- `git commit -m "test: verify hooks"` (should run tests)
…

2. Session Planning

Help plan effective overnight sessions:

Good Overnight Tasks:

  • Implement authentication system with tests
  • Build CRUD API with 90% coverage
  • Add payment integration with integration tests
  • Refactor module with maintained test coverage
  • Add feature with comprehensive test suite

Bad Overnight Tasks:

  • "Make the app better" (too vague)
  • UI design work (subjective, hard to test)
  • Exploratory research (no clear success criteria)
  • Tasks without existing test infrastructure

Task Template:

Task: [Specific feature]
Success Criteria:
- All tests passing (X/X green)
- Test coverage > X%
- No linting errors
- Feature complete and documented

Constraints:
- Use existing architecture patterns
- Follow project coding standards
- Update documentation as you go

3. Test-Driven Development Enforcement

During overnight sessions, enforce TDD:

The TDD Cycle:

1. Write a failing test
2. Run tests (red)
3. Write minimal code to pass
4. Run tests (green)
5. Refactor if needed
6. Run tests (still green)
7. Commit
8. Repeat

If Tests Fail:

## Debugging Protocol

1. **Read the error message carefully**
   - What test failed?
   - What was expected vs actual?
   - What's the stack trace?

2. **Analyze the failure**
   - Is it a logic error?
   - Missing edge case?
   - Setup/teardown issue?
   - Async timing problem?

3. **Form a hypothesis**
   - What do you think is wrong?
   - What change might fix it?

4. **Make ONE focused change**
…

4. Progress Tracking

Track progress during overnight sessions:

## Session Progress Log

**Session Started:** [timestamp]
**Goal:** [feature description]

### Progress Timeline
- [22:15]  Initial test suite passing (12/12)
- [22:45]  Added auth routes, writing tests
- [23:10]  Auth tests passing (18/18)
- [23:45]  Adding middleware, tests failing
- [00:20]  Middleware tests passing (24/24)
- [01:15]  Integration tests, debugging auth flow
- [02:30]  Integration tests passing (32/32)
- [04:00]  Adding error handling
- [05:15]  All tests passing (40/40)
- [06:00]  Coverage 94%, documentation updated
- [06:45]  SESSION COMPLETE
…

5. Quality Standards

Maintain these standards overnight:

Code Quality:

  • All tests must pass (100% green)
  • Coverage > 80% (or configured threshold)
  • No linting errors
  • No console.log or debug statements left in
  • Proper error handling
  • Edge cases covered

Documentation:

  • Functions have docstrings/JSDoc
  • README updated with new features

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Overnight Dev Coach?

Overnight Dev Coach is a subagent for Claude Code and Claude Cowork from the jeremylongshore/tons-of-skills-marketplace repository on GitHub. Autonomous overnight development coach that enforces TDD, runs Git hook–gated sessions, debugs failing tests iteratively, and delivers a morning handoff report when all tests are green. Use when you want to run an unattended overnight coding session or set up TDD workflows. Trigger with \"overnight session\", \"autonomous TDD run\".

How do I install Overnight Dev Coach in Claude Code?

Download overnight-dev-coach.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Overnight Dev Coach in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Overnight Dev Coach safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.