nightshift: Skill for Claude Code

.claude/skills/nightshift-release/SKILL.md

nightshift-release is a skill for Claude Code from marcus/nightshift. It costs 77 tokens per session (766 once invoked), scanned C, original, MIT.

A release workflow for the Nightshift project, a Go software project. GoReleaser is a tool that builds and packages software releases for different operating systems and processor types.

In plain words
What is it for?
It helps choose a version, update the source version, run release checks and local builds, inspect generated binaries, create a Git tag, push it, and verify the release.
Why use it?
It checks the project and release configuration before publishing, reducing the chance of tagging or pushing a broken release.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is marcus/nightshift's own configuration. It tells Claude Code how to work on nightshift itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nightshift configures →

About the project

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.

marcus/nightshift · 1,075 stars · on GitHub

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/marcus/nightshift/main/.claude/skills/nightshift-release/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/marcus/nightshift

Made for: Claude Code.

Wrote 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.

agentmods badge for nightshift-release

README.md
[![agentmods](https://agentmods.dev/badge/skills/marcus/nightshift/nightshift-release/github.svg)](https://agentmods.dev/skills/marcus/nightshift/nightshift-release)
Your own site
<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.

agentmods 80×15 button for nightshift-release

Your own site · 80×15
<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>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 766 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash d670b0119313, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/verify_release.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/`.
.claude/skills/nightshift-release/SKILL.md · 80 lines

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

  1. Ensure working tree is clean (git status).
  2. Determine the next version by checking git tag --sort=-v:refname | head -1 and asking the user what kind of bump (major/minor/patch) if not specified.
  3. Confirm goreleaser is installed locally: goreleaser --version. If missing, prompt user to brew 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
  • check validates .goreleaser.yml syntax.
  • --snapshot --clean builds all artifacts locally without publishing. Inspect the dist/ 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.

Read the full file on GitHub · 80 lines

Files

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.

Changes

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.

  1. 2mo ago First seen · 80 lines · 77 tokens per session scan C d670b0119313

Subscribe to this mod's changes

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.

Related

nightshift-release compared with skills from other repositories

nightshift-release next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nightshift-releasemarcus/nightshiftSkill1.1k1mo agoMITC77Claude Code
pi-syncsky-valley/piSkill86yesterdayMITA66Claude Code
crawlkitvincentkoc/dotskillsSkill111yesterdayMITA30Codex
python-formatGoldziher/ai-rulezSkill167yesterdayMITA16Claude Code
go-releasebitwise-media-group/skillsSkill3yesterdayMITA154Claude Code
update-v8-versionopeninterpreter/openinterpreterSkill69k3d agoApache-2.0A86Codex
releaseyologdev/yoyo-evolveSkill1.9kyesterdayMITA9Claude Code, Codex