Nightshift is a command-line tool that uses available Claude or Codex usage to inspect repositories and propose pull requests for maintenance issues such as dead code, outdated documentation, missing tests, and security problems. It is for developers who want automated background checks across multiple projects, with every change delivered as a branch or pull request.
Borrowing it
Nothing to install: this file belongs to marcus/nightshift. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/marcus/nightshift/main/.claude/skills/nightshift-release/SKILL.mdgit clone --depth 1 https://github.com/marcus/nightshiftWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/marcus/nightshift/nightshift-release)<a href="https://agentmods.dev/skills/marcus/nightshift/nightshift-release"><img src="https://agentmods.dev/badge/skills/marcus/nightshift/nightshift-release/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/marcus/nightshift/nightshift-release"><img src="https://agentmods.dev/badge/skills/marcus/nightshift/nightshift-release.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.00766 |
| Opus 5.5 | $0.00031 | $0.00306 |
| Sonnet 5.5 | $0.00015 | $0.00153 |
| Haiku 4.5 | $0.00008 | $0.00077 |
Grade C, and why
nightshift-release scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
Clean up after: `rm -rf dist/`. How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Release Nightshift
Cut, publish, and verify releases for the nightshift Go project using goreleaser.
Pre-flight
- Ensure working tree is clean (
git status). - Determine the next version by checking
git tag --sort=-v:refname | head -1and asking the user what kind of bump (major/minor/patch) if not specified. - Confirm goreleaser is installed locally:
goreleaser --version. If missing, prompt user tobrew install goreleaser.
Release Workflow
1. Bump version in source
Edit cmd/nightshift/commands/root.go — update the Version variable to the new version (without the v prefix):
Version = "X.Y.Z"
2. Validate goreleaser config
Run a local dry-run to catch config errors before pushing:
goreleaser check
goreleaser release --snapshot --clean
checkvalidates.goreleaser.ymlsyntax.--snapshot --cleanbuilds all artifacts locally without publishing. Inspect thedist/directory to confirm binaries were produced for all expected OS/arch combos (darwin/amd64, darwin/arm64, linux/amd64, linux/arm64).
Clean up after: rm -rf dist/.
3. Commit, tag, and push
git add cmd/nightshift/commands/root.go
git commit -m "Bump version to vX.Y.Z"
git tag vX.Y.Z
git push origin main
git push origin vX.Y.Z
The v-prefixed tag triggers the GitHub Actions release workflow (.github/workflows/release.yml).
4. Verify release
After pushing the tag, verify the release pipeline succeeded:
# Watch the Actions run (blocks until complete)
gh run list --workflow=release.yml --limit 1
gh run watch # watch the most recent run
# Once complete, confirm the release exists
gh release view vX.Y.Z
Check that:
- The GitHub Actions run completed successfully.
- The release on GitHub lists all expected artifacts (tar.gz for each OS/arch + checksums.txt).
- The changelog was auto-generated and excludes docs/test/ci/chore commits.
If the homebrew cask was configured, also verify gh api repos/marcus/homebrew-tap/contents/Casks/nightshift.rb returns the updated cask.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 80 lines · 77 tokens per session scan C d670b0119313
nightshift-release is a skill published in the GitHub repository marcus/nightshift (1,075 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 766 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
nightshift-release compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nightshift-releasemarcus/nightshift | Skill | 1.1k | 1mo ago | MIT | C | 77 | Claude Code |
| pi-syncsky-valley/pi | Skill | 86 | yesterday | MIT | A | 66 | Claude Code |
| crawlkitvincentkoc/dotskills | Skill | 111 | yesterday | MIT | A | 30 | Codex |
| python-formatGoldziher/ai-rulez | Skill | 167 | yesterday | MIT | A | 16 | Claude Code |
| go-releasebitwise-media-group/skills | Skill | 3 | yesterday | MIT | A | 154 | Claude Code |
| update-v8-versionopeninterpreter/openinterpreter | Skill | 69k | 3d ago | Apache-2.0 | A | 86 | Codex |
| releaseyologdev/yoyo-evolve | Skill | 1.9k | yesterday | MIT | A | 9 | Claude Code, Codex |