night-market-failure-archaeology

night-market-failure-archaeology is a skill for Claude Code from athola/claude-night-market. It costs 46 tokens per session (2,230 once invoked), scanned A, original, MIT.

A historical reference for Night Market, documenting past bugs, failed fixes, reversions, and decisions. It explains the evidence and lessons behind issues that the project considers settled.

In plain words
What is it for?
Use it during planning when a proposed fix resembles a previously investigated problem; use the debugging playbook instead for an active failure.
Why use it?
It helps prevent repeating approaches that already failed. It also shows what new evidence is needed before reopening an old decision.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

Good fit Use it during planning when a proposed fix resembles a previously investigated problem; use the debugging playbook instead for an active failure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/athola/claude-night-market/night-market-failure-archaeology
Install

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.

Any agent
npx skills add athola/claude-night-market --skill night-market-failure-archaeology
Clone the repo
git clone --depth 1 https://github.com/athola/claude-night-market

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 night-market-failure-archaeology

README.md
[![agentmods](https://agentmods.dev/badge/skills/athola/claude-night-market/night-market-failure-archaeology/github.svg)](https://agentmods.dev/skills/athola/claude-night-market/night-market-failure-archaeology)
Your own site
<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.

agentmods 80×15 button for night-market-failure-archaeology

Your own site · 80×15
<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>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,230 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
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.00046 $0.02230
Opus 5.5 $0.00018 $0.00892
Sonnet 5.5 $0.00009 $0.00446
Haiku 4.5 $0.00005 $0.00223

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

Security

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.

.claude/skills/night-market-failure-archaeology/SKILL.md · 174 lines

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

  1. Before implementing, scan the battle titles and the recurring-class table for anything resembling your plan.
  2. If a battle matches, read its lesson. Follow it, or write down why this time is different before overriding it.
  3. Verify any hash you rely on: git log --format='%h %s' -1 <hash>.
  4. 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

Read the full file on GitHub · 174 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. 13d ago Changed · -220 lines 2def3b3d9cea
  2. 16d ago Changed f09b9c548af3
  3. 3mo ago First seen · 394 lines · 46 tokens per session scan A c362bc5eda92

Subscribe to this mod's changes

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.

Related

night-market-failure-archaeology compared with skills from other repositories

night-market-failure-archaeology next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
night-market-failure-archaeologyathola/claude-night-marketSkill358yesterdayMITA46Claude Code
health-checkbitwize-music-studio/claude-ai-music-skillsSkill7234d agoCC0-1.0A38Claude Code
compressccplugins/awesome-claude-code-pluginsSkill1.0k3mo agoApache-2.0A104Claude Code
healthcheckccplugins/awesome-claude-code-pluginsSkill1.0k3mo agoApache-2.0A80Claude Code
toysaadshahd/moo.mdSkill38yesterdayMITA34Claude Code
fact-checkerccplugins/awesome-claude-code-pluginsSkill1.0k3mo agoApache-2.0A178Claude Code
stop-diggingccplugins/awesome-claude-code-pluginsSkill1.0k3mo agoApache-2.0A159Claude Code