Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Bootstrap and maintain a Foam-style project memory graph (ADR, PRD, plans) at repo-root foam/, wired to GitHub Kanban. Use when starting project memory, recording architecture decisions, drafting PRDs/plans, importing kanban issues into foam, or before product/architecture changes so the agent can challenge against accepted ADRs.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | -20% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 7% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -47% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -1% | 0% |
Announce at start: "Using foam-project-memory skill."
A versioned knowledge graph in Markdown (wikilinks [[note]]) so agents and humans share the same memory:
| Layer | Path | Role | | ----- | ---- | ---- | | Foam graph | foam/ | MOC, ADRs, product notes, feature catalog | | PRD | prd/ | What / why per feature | | Plan | plans/ | How / when (checklist derived from PRD) | | Kanban | GitHub Projects | Execution status (use github-kanban-orchestrator) |
foam/ is agent decision memory. User-facing docs may live elsewhere (doc/, README.md) — do not duplicate; link from foam/ when needed.
From the target repo root:
bash# preview bash "$(dirname "$0")/scripts/init.sh" --dry-run # scaffold (never commits — you git add/commit when ready) bash "$(dirname "$0")/scripts/init.sh" # import closed/open issues from GitHub into foam/features/ bash "$(dirname "$0")/scripts/import-kanban.sh"
init.sh copies templates only. It does not run git commit — you decide when to commit the scaffold.
foam/index.md (Map of Content).foam/decisions/ for related ADRs (grep tags or keywords).prd/ for this work, follow it.plans/, use it as the implementation checklist.ADR and ask whether to supersede it (new ADR required).
github-kanban-orchestrator).prd/template.md → prd/PRD-NNN-slug.md; link ADRs + foam notes.plans/template.md → plans/PLAN-NNN-slug.md.Closes #NNN.shipped; add row to foam/features/shipped.md; newtechnical choice → new ADR.
foam/decisions/ADR-template.md → foam/decisions/ADR-NNN-slug.md.foam/decisions/index.md and foam/index.md.foam/architecture/*.md notes.bashbash scripts/import-kanban.sh # refresh shipped + backlog indexes bash scripts/import-kanban.sh --dry-run
Regenerates foam/features/shipped.md and foam/features/backlog.md from gh issue list. Re-run after milestones or when onboarding a repo.
For mature repos: read closed issues + CHANGELOG + AGENTS.md gotchas → distill into ADRs and PRDs (do not dump every issue as an ADR).
| Kanban | Foam | | ------ | ---- | | Issue #N title/body | PRD source material | | Status Done | Row in foam/features/shipped.md | | Epic / backlog | foam/features/backlog.md + prd/PRD-NNN-*.md | | Claim + branch | plans/PLAN-NNN-*.md checklist |
foam/
index.md # start here
README.md
decisions/ # ADRs
product/ # vision, rules
features/ # shipped / backlog catalog
architecture/ # topic guides (optional)
prd/
plans/
.foam/templates/ # Foam editor templates
.cursor/rules/
product-memory.mdc # project rule (copied on init)init.shOther measured skills in the registry, with their headline benchmark lift.