Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/athola/claude-night-marketnpx agentmods add skills/athola/claude-night-market/night-market-collective-memoryWrote 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-collective-memory)<a href="https://agentmods.dev/skills/athola/claude-night-market/night-market-collective-memory"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/night-market-collective-memory/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-collective-memory"><img src="https://agentmods.dev/badge/skills/athola/claude-night-market/night-market-collective-memory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
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 →
- medium Rogue Agent · line 138 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
- medium Agent Snooping · line 182 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00043 | $0.03108 |
| Opus 5.5 | $0.00017 | $0.01243 |
| Sonnet 5.5 | $0.00009 | $0.00622 |
| Haiku 4.5 | $0.00004 | $0.00311 |
Grade A, and why
night-market-collective-memory 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 16d 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 — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Night Market Collective Memory
This repo treats GitHub Discussions as agent collective memory
(ADR-0007, docs/adr/0007-github-discussions-integration.md,
accepted 2026-02-19). Sessions are amnesiac by default. The memory
system fixes that with four layers: Discussions (cross-session,
searchable), the decision journal (append-only tradeoff and lesson
logs), numbered ADRs (architecture decisions), and dated research
syntheses in docs/research/. One caveat on the fourth layer:
docs/research/ is gitignored and machine-local, so it exists only
on the authoring machine and is empty on fresh clones. A synthesis
counts as collective memory only after promotion to a Discussion,
ADR, or rule. This skill tells you where each kind of knowledge
lives, how to read it, and how to write to it.
One hard fact first: there is NO gh discussion subcommand.
Discussions are GraphQL-only. Minister playbooks once referenced a
CLI that does not exist, and ADR-0007 replaced every reference with
gh api graphql calls. Never guess a gh discussion command.
Routing table: which memory layer
| You have | Record or read it via |
|---|---|
| Settled battle, revert, dead end | night-market-failure-archaeology skill (read only, do not relitigate) |
| Tradeoff (chose A, sacrificed B) | Decision journal docs/tradeoffs.md, TR-NNN entry |
| Lesson, failed approach, rework | Decision journal docs/lessons-learned.md, LL-NNN entry |
| Architecture decision | Numbered ADR in docs/adr/ (0001-0017 exist today) |
| Session insight, skill stats | [Learning] Discussion (auto-posted daily, see below) |
| Strategy debate, big design | [War Room] Discussion (Decisions category) |
| Durable synthesis, audit result | [Knowledge] Discussion (Knowledge category) |
| PR review finding worth keeping | [PR Finding] Discussion (Learnings category) |
| Multi-source research output | Dated file in docs/research/ (LOCAL ONLY: gitignored, absent on fresh clones). Promote durable syntheses to a [Knowledge] Discussion, ADR, or rule to make them collective memory |
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.
- 16d ago Changed b8658cf37aab
- 3mo ago First seen · 283 lines · 43 tokens per session scan A 64d6aa838dec
night-market-collective-memory is a skill published in the GitHub repository athola/claude-night-market (358 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 3,108 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-collective-memory compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| night-market-collective-memoryathola/claude-night-market | Skill | 358 | yesterday | MIT | A | 43 | Claude Code |
| preserveccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 118 | Claude Code |
| setupccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 90 | Claude Code |
| syncccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 138 | Claude Code |
| askccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 141 | Claude Code |
| compressccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 104 | Claude Code |
| gdoc-to-markdownccplugins/awesome-claude-code-plugins | Skill | 1.0k | 3mo ago | Apache-2.0 | A | 76 | Claude Code |