Skip to content
Back to skills

Overnight Vhk Auto

ASecurity

Use when one VHK goal should run unattended overnight and stop after opening a pull request without merging. 한국어 트리거 - "밤새 vhk-auto", "overnight vhk", "자율 overnight", "큐부터 한 장".

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 1, 2026
ai-agentsgoshellnodegit

Works with

  • terminal

Security analysis

A100/100

Scanned October 1, 2026

npx -y skills add byh3071-cpu/vhk --skill overnight-vhk-auto --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Overnight Vhk Auto?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Overnight Vhk Auto
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/byh3071-cpu-overnight-vhk-auto/badge)](https://www.skillsdirectory.com/skills/byh3071-cpu-overnight-vhk-auto)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: overnight-vhk-auto
description: Use when one VHK goal should run unattended overnight and stop after opening a pull request without merging. 한국어 트리거 - "밤새 vhk-auto", "overnight vhk", "자율 overnight", "큐부터 한 장".
---

# Overnight vhk-auto conductor

One goal per invocation. **Different track from overnight-autoloop** (do not mix).

## Repository wrapper

Use the tracked `scripts/auto_pr_goal.ps1` wrapper after the implementation commit. Its interface is fixed:

```powershell
powershell -NoProfile -ExecutionPolicy Bypass -File scripts/auto_pr_goal.ps1 `
  -RepositoryRoot <repo-root> -BaseBranch main -Title <title> -BodyFile <body-file>
```

Prepare a temporary PR body file that follows `AGENTS.md` and includes the morning review questions. Do not commit that file.

## Invariants
- **INV-A** Follow `.agents/skills/vhk-auto/SKILL.md` INV-1..INV-11 for the implement loop. Commit only inside that loop (INV-7).
- **INV-B** After green verify + commit, call `scripts/auto_pr_goal.ps1`. The wrapper supports a clean worktree with an unpushed commit; do not require dirty porcelain. **Merge = 0.** Never push `main`, force-push, publish, or change branch protection.
- **INV-B2** The `autonomous` label is attached idempotently by that script on both create and reuse paths (Goal 111 cohort secondary signal). Never add or remove it by hand — the primary signal is the terminal-SHA join, and signal mismatch is quarantined as `unknown`.
- **INV-C** If autonomy-log start or terminal event is missing → write `.vhk/HARD_STOP` and stop.
  Same when a successful terminal event has no receipt for the same SHA — that run is recorded
  but never counts as verified completion, so it never enters the observation gate sample (vhk-auto INV-10).
- **INV-D** Use the release order in `docs/roadmap/2.x-roadmap.md` and acceptance criteria in `docs/PRD-2.x.md`. Do not invent a queue from old Goal numbers.
- **INV-E** Stop on HARD_STOP, verify 2× red, or open PR reported.

## Loop
0. If `.vhk/HARD_STOP` exists → report and exit. Before any mutation, apply vhk-auto INV-11: require
   empty output from `git -c core.quotepath=false status --porcelain=v1 -z --untracked-files=all`
   and a named branch other than `main` or `master`; otherwise report and stop.
1. Run `vhk goal next` and select only the Goal it reports. If none is available or dependencies block it, report and stop. Preserve its local state as `IN_PROGRESS`; do not invent an order from old Goal numbers.
2. Run **vhk-auto** loop for that card (including INV-9 autonomy-log).
3. On success, require a clean worktree and a current branch other than `main`.
4. Call `scripts/auto_pr_goal.ps1` with the repository root, base branch `main`, PR title, and temporary PR body file.
5. Optionally generate the morning report with `node scripts/gen-autonomy-morning-report.mjs --date YYYY-MM-DD`.
6. Report the PR URL (or HARD_STOP reason). **Do not merge.**

## Cross-links
- RFC: `docs/rfc/0063-overnight-vhk-auto.md`
- Skill SoT for inner loop: `.agents/skills/vhk-auto/SKILL.md`
- Work order: `docs/roadmap/2.x-roadmap.md`
- Acceptance criteria: `docs/PRD-2.x.md`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.