Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add orwa-mahmoud/nightshift/plugin install 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/orwa-mahmoud/nightshift/reset)<a href="https://agentmods.dev/skills/orwa-mahmoud/nightshift/reset"><img src="https://agentmods.dev/badge/skills/orwa-mahmoud/nightshift/reset.svg" alt="Measured on agentmods" 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.00017 | $0.00629 |
| Opus 5 | $0.00009 | $0.00315 |
| Sonnet 5 | $0.00003 | $0.00126 |
| Haiku 4.5 | $0.00002 | $0.00063 |
Grade A, and why
reset scanned grade A with 0 findings 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 yesterday.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Reset runtime mechanics for the host-opened project. This recovers from damaged or confusing
runtime state. It does not delete the punch list, rules, history, or .nightshift/ itself.
Bind once, then never search, guess, or re-resolve. $TASK_ROOT is the host-opened project
folder: ${CLAUDE_PROJECT_DIR} on Claude Code; on Codex the CODEX_PROJECT_DIR recovery override
when Nightshift set it, otherwise pwd -P captured before any other shell call.
$NIGHTSHIFT_WORKSPACE is the validated absolute target of $TASK_ROOT/.nightshift-link when that
link exists, otherwise $TASK_ROOT. Then NS="$NIGHTSHIFT_WORKSPACE/.nightshift" (native Windows:
$NS = Join-Path $NIGHTSHIFT_WORKSPACE '.nightshift'), and every Nightshift file is $NS/<name>
for the rest of the run; helpers taking --project or -Project receive
"$NIGHTSHIFT_WORKSPACE". The shell's working directory persists between calls, so a bare path is
never safe.
Resolve the installed plugin root to an absolute $NIGHTSHIFT_PLUGIN_ROOT: use
${CLAUDE_PLUGIN_ROOT} on Claude Code; on Codex use $PLUGIN_ROOT when available, otherwise derive
it from the absolute path attached to this skill (skills/reset/SKILL.md). Substitute that
absolute path below; never search for the plugin.
On native Windows, use the PowerShell tool and native paths throughout. Resolve the same values
from $env:CLAUDE_PROJECT_DIR, $env:CODEX_PROJECT_DIR, and $env:PLUGIN_ROOT, with
[Environment]::CurrentDirectory as the Codex cwd fallback. Do not route Reset through WSL or Git
Bash.
Run the trusted helper. Do not delete runtime files by hand:
"$NIGHTSHIFT_PLUGIN_ROOT/runtime/reset-shift.sh" --project "$NIGHTSHIFT_WORKSPACE"
On native Windows:
& "$NIGHTSHIFT_PLUGIN_ROOT\runtime\windows\reset-shift.ps1" -Project "$NIGHTSHIFT_WORKSPACE"
The helper first performs Stop (pause and disarm), then removes the current deadline, leftover
STOP, and temporary session, recovery, watchman, lease, and mutex markers. It preserves the punch
list and unfinished items, rules, parking lot, work orders, receipts, archives, research,
opportunities, snag log, shift log, and workspace configuration such as work-target and work-mode.
A second Reset is safe. It never deletes .nightshift/.
Report that the deadline was removed and that durable files remain. The plugin install is untouched. Start after Reset writes a new deadline only when Hunt, a work order, or the owner supplies one — it does not invent a time budget.
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.
- yesterday Changed · -4 lines 9f76f01ade1f
- 7d ago First seen · 54 lines · 17 tokens per session scan A 583fb41d6aef
reset is a skill published in the GitHub repository orwa-mahmoud/nightshift (52 stars, last pushed yesterday), licensed MIT. It adds 17 tokens to every session and 629 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
hive.chart-creation-foundations
Required reading whenever any chart tool is available. Teaches the one-tool embedding contract (call chartrender → live chart appears in chat AND a downloadable PNG lands in the queen session dir), the ECharts (data viz) vs Mermaid (structural diagrams) decision, the BI/financial-grade aesthetic baseline (no…
browser-edge-cases
SOP for debugging browser automation failures on complex websites. Use when browser tools fail on specific sites like LinkedIn, Twitter/X, SPAs, or sites with Shadow DOM.
article-writer
Multi-style article creation skill. Supports 5 writing styles (deep analysis, practical guide, story-driven, opinion, news brief), including complete workflow: material collection → outline → content → formatting. Activated when users mention "write article", "write post", "create", or "draft".
skin-creator
Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.
weather
Get current weather and forecasts (no API key required).
hive.note-taking
Maintain a free-form scratchpad of decisions, extracted values, and open questions so context pruning doesn't lose anything you still need.