Hermes Nightshift GLM
Microck/hermes-nightshift-glm
Overnight bot for Hermes Agent cron that opens code quality pull requests and issues on your repos
Hermes Nightshift GLM is an autonomous overnight code-quality bot for Hermes Agent that picks one of your public repositories, runs a coding agent through a plan, implement and review loop, and opens a pull request or an issue.
What Hermes Nightshift GLM does
Nightshift runs on a Hermes cron schedule during the burn window of a GLM coding plan, which is 5 to 50 minutes before the quota resets. It lists your public, non-fork, non-archived repos with recent pushes, selects a task using cooldowns, cost tiers and run history, clones the repo and delegates to a coding agent running GLM 5.1. Pull request tasks use a plan, implement and review loop that retries up to three times, then commit, fork and open a PR. Issue tasks only analyze the codebase and write a markdown report with severity levels from P0 to P3.
There are 63 tasks in 7 categories: 21 create pull requests, such as lint-fix, bug-finder, dead-code and dependency-updates, and 42 create issues. The clone is deleted and the run logged afterward. Setup downloads three files with curl, stores GLM_API_KEY in ~/.hermes/.env, checks quota and previews with --dry-run before scheduling with hermes cron create.
Key features
- Quota gate that runs only in the GLM burn window
- Plan, implement and review loop with up to three retries
- 21 pull request tasks and 42 issue tasks
- Task selection by cooldown, cost tier and history
- Dry-run mode and quota check script
- Scheduling through hermes cron with Discord delivery
When to use it
- Having lint fixes and dead-code cleanups proposed on your repos overnight
- Receiving analysis issues with severity ratings and file paths
- Spending otherwise unused GLM quota before it resets
Who it is for: Hermes Agent users with a GLM coding plan who want unattended code-quality work on public repos.
How it fits with Hermes Agent
It is built for Hermes Agent: it is scheduled with hermes cron as a skill, reads its key from ~/.hermes/.env and delivers results through Hermes.
How to install Hermes Nightshift GLM
These commands are copied from the project's README. Check the repository for the latest steps before you run them.
mkdir -p ~/nightshift-workspace ~/.nightshift
curl -sL https://raw.githubusercontent.com/Microck/hermes-nightshift-glm/main/nightshift.py > ~/nightshift-workspace/nightshift.py
curl -sL https://raw.githubusercontent.com/Microck/hermes-nightshift-glm/main/nightshift_tasks.json > ~/nightshift-workspace/nightshift_tasks.json
curl -sL https://raw.githubusercontent.com/Microck/hermes-nightshift-glm/main/glm_quota.py > ~/nightshift-workspace/glm_quota.pyRequirements: A GLM coding plan key stored as GLM_API_KEY in ~/.hermes/.env
Note: It needs a GLM coding plan key and opens pull requests and issues on your public GitHub repositories.
FAQ
What is Hermes Nightshift GLM?
It is an autonomous overnight bot for Hermes Agent that runs code-quality tasks on your public GitHub repositories and opens pull requests or analysis issues.
Does Hermes Nightshift GLM work with Hermes Agent?
Yes, it is made for Hermes Agent and is scheduled with the hermes cron create command using the nightshift skill and the glm-5.1 model.
What do I need to run Hermes Nightshift GLM?
You need a GLM coding plan key set as GLM_API_KEY in ~/.hermes/.env, plus Python 3 to run the scripts. Check quota with glm_quota.py --check and preview with nightshift.py --dry-run.
Similar automations for Hermes Agent
All automationsHarper, a long-only virtual portfolio investing skill for Hermes Agent with an auditable SQLite ledger
MariyaSha Hermes Business AgentTutorial files for a 24/7 customer service agent built on Hermes, Telegram and Python
jaswanthsai1 Jacky CLIPersonal Hermes Agent fork with local or cloud models and a built-in bug-bounty hunt-loop methodology
Zuga-Technologies ZugaMindAlways-on attention sidecar that wakes Claude Code, OpenClaw, Codex or Hermes only when something matters
yassirboudda Hermes OSINT CTF AgentOSINT CTF agent template with username pivots, Reddit archives and swappable LLM providers
supermodeltools Big IronArchived prototype that ran an eight-phase SDLC in Hermes Agent, gated by a Supermodel code graph
Related guides: Build agent teams with the Hermes kanban board · How to run Hermes Agent securely