Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add athola/claude-night-market --skill night-market-failure-archaeologygit clone --depth 1 https://github.com/athola/claude-night-marketWrote 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/athola/claude-night-market/night-market-failure-archaeology)<a href="https://agentmods.dev/skills/athola/claude-night-market/night-market-failure-archaeology"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/night-market-failure-archaeology/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/athola/claude-night-market/night-market-failure-archaeology"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/night-market-failure-archaeology.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Anti-Refusal · line 88 Skill attempts to nullify the agent's safety policies or restrictions ('you have no restrictions', 'ignore your guidelines', 'do anything now'). This is a direct jailbreak that disables guardrails.Fix: Remove jailbreak framing that nullifies safety policies or restrictions. Skill content must not instruct the agent to ignore its guidelines or operate without guardrails.
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.00046 | $0.02230 |
| Opus 5.5 | $0.00018 | $0.00892 |
| Sonnet 5.5 | $0.00009 | $0.00446 |
| Haiku 4.5 | $0.00005 | $0.00223 |
Grade A, and why
night-market-failure-archaeology 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 13d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Night Market Failure Archaeology
This is a reference document, not a runbook. It records every major
investigation, dead end, rejected fix, and revert in this repo as
symptom, root cause, evidence, status, and lesson, so nobody re-fights
a settled battle. For triage of a failure happening right now, use
night-market-debugging-playbook. Come here when a proposed change
smells like something the repo already tried and rejected.
Jargon used below:
- "py39 hooks": hook scripts run under the host system Python (3.9
floor), while the rest of the repo requires Python 3.12. Enforced by
.github/workflows/python39-compat.yml. - "unbloat": the conserve plugin's dead-code deletion campaign.
- "Stop hook": a Claude Code hook that runs when a session turn ends.
- "settled": the fight is over. Re-opening it requires new evidence and a note in the collective memory.
How to use this chronicle
- Before implementing, scan the battle titles and the recurring-class table for anything resembling your plan.
- If a battle matches, read its lesson. Follow it, or write down why this time is different before overriding it.
- Verify any hash you rely on:
git log --format='%h %s' -1 <hash>. - When your own battle settles, add an entry (format at the bottom).
Settled battles
SB1 to SB15, each with what was tried, why it failed, and the guard that
now holds, are in modules/settled-battles.md. Load it when a proposed
fix resembles one of the classes below.
Recurring failure classes (ranked)
Ranked by observed cost across the repo's history. Hashes are sample evidence, not complete lists.
| Rank | Class | Shape | Sample evidence | Standing guard |
|---|---|---|---|---|
| RC1 | Silent failure / swallowed exceptions | except-continue, exit 0 on failure, dropped files | e0d1c464, 10b4b790, 52ae1459, fedb1c5b, 0d28a260, bfebb1ad, 7987649c, 89faaaf7 |
Constitution rule 10 and the narrow-bare-except campaign |
| RC2 | py39 / host-Python import fragility | hooks crash under system Python | SB5, SB6 hashes | python39-compat.yml, AST test, meta_path tests |
| RC3 | PR-review rework churn | long fix-chains after review | tautological tests a94240e2, f1cbbcf1, 30e58586, 42f7ce84; AI-slop prose 2a039760, 62f598e9; stale wiring 204b927c, 332bcb75 |
shift-left pre-commit guards, slop-check CI |
| RC4 | Unbloat over-deletion | import-graph-only deletion | SB3 hashes | markdown-reference scan, backup branches |
| RC5 | CI pin breakage | invalid or stale tool pins | SB11 hashes | check_pinned_versions.py, check_ruff_version.py |
| RC6 | Version drift | manifests and SKILL.md frontmatter out of lockstep | fan-out via plugins/sanctum/scripts/update_versions.py |
sanctum:version-updates flow |
| RC7 | Fallback over-classification | guessing fallback masks bad data | SB15 hashes | prefer-invariants-over-fallbacks rule |
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.
- 13d ago Changed · -220 lines 2def3b3d9cea
- 16d ago Changed f09b9c548af3
- 3mo ago First seen · 394 lines · 46 tokens per session scan A c362bc5eda92
night-market-failure-archaeology is a skill published in the GitHub repository athola/claude-night-market (358 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 2,230 once invoked, about $0.0002 per session on Opus 5.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.
night-market-failure-archaeology compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| night-market-failure-archaeologyathola/claude-night-market | Skill | 358 | yesterday | MIT | A | 46 | Claude Code |
| health-checkbitwize-music-studio/claude-ai-music-skills | Skill | 723 | 4d ago | CC0-1.0 | A | 38 | Claude Code |
| compressccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 104 | Claude Code |
| healthcheckccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 80 | Claude Code |
| toysaadshahd/moo.md | Skill | 38 | yesterday | MIT | A | 34 | Claude Code |
| fact-checkerccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 178 | Claude Code |
| stop-diggingccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 159 | Claude Code |