Night Market Collective Memory
A four-layer project-memory playbook: search GitHub Discussions, the decision journal, and ADRs via verified GraphQL/ripgrep commands before re-investigating anything.
Dev & CodingAdvanced★ 335⑂ 34AI score 8/10Last updated: Sep 6, 2026
What it does
- Treats GitHub Discussions as cross-session agent memory, backed by an append-only decision journal (
docs/tradeoffs.mdTR-NNN,docs/lessons-learned.mdLL-NNN), numbered ADRs indocs/adr/, and dated local research syntheses. - Ships a routing table telling you exactly which layer each kind of knowledge belongs in — tradeoffs, lessons, architecture decisions,
[War Room]strategy debates,[Knowledge]syntheses,[PR Finding]review notes. - Enforces retrieval discipline: before investigating any historical or design question, run a Discussions GraphQL search plus
rgover local docs and state the hits (or "no hits"). - Provides live-tested GraphQL read queries and verified mutation shapes for creating comments/discussions, plus the hard fact that no
gh discussionsubcommand exists — Discussions are GraphQL-only. - Encodes write safety:
[Y/n]confirmation before publishing, 2000-word body cap, and variables via-f/-Finstead of string interpolation. - Adds monitoring: a
[Learning]digest older than ~2 days is treated as a starvation incident, with an ordered hook-chain triage path.
Who it's for
- Developers and tech leads tired of re-deriving answers that were already settled in a previous session.
- Teams that want GitHub Discussions to serve as a searchable knowledge base for humans and agents alike.
- Anyone running ADRs plus an append-only decision journal co-located with the code.
- Caveat: the content is tightly bound to the
athola/claude-night-marketrepo (paths, plugin names, discussion numbers), so expect to rewrite those before it's useful elsewhere.
Example uses
- Someone asks "why is the architecture like this?" — instead of digging through code, the skill searches Discussions by keyword and greps
docs/adr/, surfacing the already-accepted decision (e.g. ADR-0007). - You just made a big tradeoff — it drafts a TR-NNN entry ("chose A, sacrificed B"), shows it to you, and appends it only after confirmation, never editing prior entries.
- At session start the newest
[Learning]digest is three days old — the skill raises a starvation alert and walks the chain: isLEARNINGS.mdfresh, is the Stop hook registered inhooks.json, does the logger get a stdin payload.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/athola/claude-night-market/HEAD/.claude/skills/night-market-collective-memory/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .claude/skills/night-market-collective-memory folder from the GitHub repo athola/claude-night-market into my ~/.claude/skills/night-market-collective-memory/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/athola/claude-night-market.git && mkdir -p ~/.claude/skills && cp -r claude-night-market/.claude/skills/night-market-collective-memory ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and confirm GitHub CLI is authenticated:
gh auth status(rungh auth loginif not). - Confirm
ripgrepis available for the local doc searches:rg --version. - Clone the repository:
git clone https://github.com/athola/claude-night-market.git - Create your skills directory:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r claude-night-market/.claude/skills/night-market-collective-memory ~/.claude/skills/ - Optionally copy the sibling skills it references, such as
night-market-failure-archaeologyandnight-market-change-control. - Edit
~/.claude/skills/night-market-collective-memory/SKILL.mdand replacerepo:athola/claude-night-marketand theplugins/...paths with your own repo and paths — otherwise the queries will search the author's repository. - Restart Claude Code and try a prompt like "search project memory before we investigate this" to confirm the skill loads.
View source on GitHub ↗License: MIT