Night Market Collective Memory
Turns GitHub Discussions, ADRs and an append-only decision journal into one searchable project memory you must query before re-investigating anything.
AutomationAdvanced★ 358⑂ 44AI score 7/10Last updated: Dec 5, 2026
What it does
- Defines four memory layers (GitHub Discussions, decision journal
docs/tradeoffs.md/docs/lessons-learned.md, numbered ADRs, and dated local research syntheses) with a routing table telling you exactly where each kind of knowledge is read and written. - Enforces a search-before-you-re-investigate discipline: GraphQL Discussions search →
rgover local docs of record → decision-journal grep, stating hits or "no hits". - Hard-codes the fact that
gh discussiondoes not exist — Discussions are GraphQL-only — and ships live-testedgh api graphqlread queries plus verified mutation shapes. - Documents the daily
[Learning]digest pipeline (execution logger → log aggregation → Stop hook post → promotion to an Issue at 3 fire reactions) and treats a digest older than ~2 days as a starvation incident. - Writing rules: ask the user
[Y/n]before any create/comment, cap bodies at 2000 words, and always pass values as-f/-Fvariables instead of interpolating strings.
Who it's for
- Team leads who want long-term project memory for otherwise amnesiac AI sessions.
- Open-source maintainers already running GitHub Discussions as a design/retro archive.
- Engineers establishing an ADR + tradeoff/lessons-learned culture inside the repo.
Examples
- "Why is the hook wired this way?" → run the Discussions GraphQL search and
rg docs/adr/first, surfacing the accepted decision instead of re-deriving it. - Draft a
TR-NNNtradeoff entry for choosing A over B, show it to the human, then append it todocs/tradeoffs.md— never editing or deleting prior entries. - The newest
[Learning]digest is three days old → raise a starvation alert and walk the chain: LEARNINGS.md freshness, Stop hook registration in hooks.json, logger stdin payload.
Caveat: repo name, plugin paths and discussion numbers are tied to athola/claude-night-market, so expect to rewrite them for your own project.
· · · 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 AI 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 change into your working directory.
- Clone the repository:
git clone https://github.com/athola/claude-night-market.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r claude-night-market/.claude/skills/night-market-collective-memory ~/.claude/skills/ - Install GitHub CLI (check with
gh --version) and authenticate withgh auth login— the GraphQL queries require it. - Install
ripgrep(rg) for the local document searches. - Edit
~/.claude/skills/night-market-collective-memory/SKILL.md: replaceathola/claude-night-marketwith your own repo and adjust thedocs/andplugins/paths to your project layout. - Restart Claude Code and try: "Search our project memory before investigating this decision."
View source on GitHub ↗License: MIT