nightly

Automate host-native coding by selecting and running priority work items in opencode.

3|Updated May 20, 2026
One-click install
npx skills add https://github.com/ulmentflam/nightly --skill nightly-ulmentflam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nightly
Source: https://github.com/ulmentflam/nightly/tree/main/packages/nightly-host-opencode/src/nightly_host_opencode
Command: npx skills add https://github.com/ulmentflam/nightly --skill nightly-ulmentflam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nightly solves the problem of turning a coding chat session into a self-directed, continuously executing coding agent that can pick the next work item, implement it in isolation, and deliver review-shaped results without constantly asking the user for decisions.

Core Features & Use Cases

  • Priority-cascade task selection: Picks the next task from in-flight work, approved RFCs, ranked GitHub issues, or ideation when the backlog is empty.
  • Isolated worktree iteration: Creates config-aware worktrees to implement changes safely and reproducibly.
  • Specialist delegation via session forking: Delegates to roles like implementer, tester, reviewer, and researcher by forking opencode sessions and collecting results.
  • Auditability and lifecycle tracking: Writes durable artifacts to .nightly/runs/<run-id>/ including session event logs and per-task plans, status transitions, and uncertainty disclosures.
  • Autonomy-first operations: Never blocks for clarification; records uncertainty to uncertainty.md and follows the refusal policy by routing refusals into disk-based approval artifacts.

Quick Start

Run nightly in your opencode-bound CLI and, if the repo is not initialized yet, first run nightly init so the skill can load its autonomy contract and run state.

Frequently Asked Questions about nightly

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate continuous coding tasks from a GitHub issue backlog?

Automating continuous coding tasks from a GitHub issue backlog is handled by a priority-cascade selection mechanism that picks in-flight work, approved RFCs, or ranked issues to execute implementation, testing, and PR landing autonomously.

How does an autonomous coding agent handle task isolation and prevent repository conflicts?

An autonomous coding agent handles task isolation by creating config-aware worktrees, ensuring changes are implemented safely and reproducibly without conflicting with the main repository branches during continuous delivery execution.

Can I run a self-directed coding agent without it pausing to ask for user clarifications?

Running a self-directed coding agent without user clarifications requires an absolute autonomy contract that never blocks for input, instead recording uncertainties to disk-based artifacts and routing refusals through approval files for later review.

How do I audit and replay an automated continuous delivery coding session?

Auditing and replaying an automated continuous delivery coding session is achieved by persisting run artifacts to a dedicated runs directory, capturing session event logs, status transitions, and per-task plans for comprehensive later review.

What is the best way to delegate implementation and testing roles within a coding agent session?

Delegating implementation and testing roles within a coding agent session is best done via session forking, which splits the opencode session into specialist roles like implementer, tester, reviewer, and researcher to collect isolated results.

Does opencode support session forking and SSE event mirroring for continuous delivery?

Opencode supports continuous delivery workflows by enabling session forking for specialist delegation and SSE event mirroring, allowing isolated execution streams and real-time event synchronization throughout the autonomous coding lifecycle.