Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
 
← Back to list

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★ 341⑂ 37AI score 8/10Last updated: Oct 9, 2026

What it does

  • Treats GitHub Discussions as cross-session agent memory, backed by an append-only decision journal (docs/tradeoffs.md TR-NNN, docs/lessons-learned.md LL-NNN), numbered ADRs in docs/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 rg over 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 discussion subcommand exists — Discussions are GraphQL-only.
  • Encodes write safety: [Y/n] confirmation before publishing, 2000-word body cap, and variables via -f/-F instead 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-market repo (paths, plugin names, discussion numbers), so expect to rewrite those before it's useful elsewhere.

Example uses

  1. 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).
  2. 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.
  3. At session start the newest [Learning] digest is three days old — the skill raises a starvation alert and walks the chain: is LEARNINGS.md fresh, is the Stop hook registered in hooks.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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Open a terminal and confirm GitHub CLI is authenticated: gh auth status (run gh auth login if not).
  2. Confirm ripgrep is available for the local doc searches: rg --version.
  3. Clone the repository: git clone https://github.com/athola/claude-night-market.git
  4. Create your skills directory: mkdir -p ~/.claude/skills
  5. Copy the skill in: cp -r claude-night-market/.claude/skills/night-market-collective-memory ~/.claude/skills/
  6. Optionally copy the sibling skills it references, such as night-market-failure-archaeology and night-market-change-control.
  7. Edit ~/.claude/skills/night-market-collective-memory/SKILL.md and replace repo:athola/claude-night-market and the plugins/... paths with your own repo and paths — otherwise the queries will search the author's repository.
  8. Restart Claude Code and try a prompt like "search project memory before we investigate this" to confirm the skill loads.