AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

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 → rg over local docs of record → decision-journal grep, stating hits or "no hits".
  • Hard-codes the fact that gh discussion does not exist — Discussions are GraphQL-only — and ships live-tested gh api graphql read 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/-F variables 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

  1. "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.
  2. Draft a TR-NNN tradeoff entry for choosing A over B, show it to the human, then append it to docs/tradeoffs.md — never editing or deleting prior entries.
  3. 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)
  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 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.

  1. Open a terminal and change into your working directory.
  2. Clone the repository: git clone https://github.com/athola/claude-night-market.git
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r claude-night-market/.claude/skills/night-market-collective-memory ~/.claude/skills/
  5. Install GitHub CLI (check with gh --version) and authenticate with gh auth login — the GraphQL queries require it.
  6. Install ripgrep (rg) for the local document searches.
  7. Edit ~/.claude/skills/night-market-collective-memory/SKILL.md: replace athola/claude-night-market with your own repo and adjust the docs/ and plugins/ paths to your project layout.
  8. Restart Claude Code and try: "Search our project memory before investigating this decision."