Hermes Nightshift Glm
Description
autonomous overnight code quality bot for Hermes Agent
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
hermes-nightshift-glm
autonomous overnight code quality bot. 63 tasks, plan-implement-review, 21 PR tasks + 42 issue tasks.
`nightshift` runs on a cron schedule during GLM's quota burn window, selects from your public GitHub repos, and autonomously executes code quality tasks. it picks a repo, clones it, delegates to a coding agent that plans → implements → reviews, then opens a PR or issue depending on the task type.
how it works
- quota gate — checks GLM token quota. only runs in the burn window (5–50 min before quota reset)
- discover — lists your public, non-fork, non-archived repos with recent pushes
- select — picks tasks based on cooldowns, cost tiers, and recent run history
- execute — clones the repo, runs the task via a coding agent (GLM 5.1)
- output — PR tasks: commit + fork + pull request. Issue tasks: analysis + github issue
- cleanup — deletes the clone, logs the run to state
architecture
PR tasks use a **plan → implement → review** loop:
plan ──→ implement ──→ git diff check ──→ review ──→ PR
↑ │
└──── retry (max 3×) ←──────── failed
- plan — agent analyzes the repo, outputs JSON with steps/files
- implement — agent makes targeted code changes (no formatters, no new deps)
- review — agent checks correctness, security, unintended changes. if review fails, loops back to implement with feedback (up to 3 iterations)
issue tasks are **analysis only** — no branches, no commits. the agent reads the codebase and writes a structured markdown report with severity levels (P0–P3), file paths, and actionable recommendations.
quickstart
requires a GLM coding plan
Related Skills
Import Drawio
Redraw a draw.io file as an editorial diagram at a chosen format, size, and detail level
Code Quality Import Mermaid
Redraw Mermaid as an editorial diagram at a chosen format, size, and detail level
Code Quality Job Stories
- Create job stories with acceptance criteria in JTBD format
Code Quality Wwas
- Create backlog items in Why-What-Acceptance format
Code Quality Code Quality Review
Review code quality in: $ARGUMENTS
Code Quality Standards Skills
Engineering standards and compliance skills
Code Quality