From great-minds
Query and manage the Great Minds agency vector store — semantic search over memories stored in SQLite with embeddings. Subcommands - search, add, list, import, export, stats. Filters by type (learning, decision, board-review), agent, project. Use to recall prior decisions, learnings, or critiques across multiple agency projects.
How this skill is triggered — by the user, by Claude, or both
Slash command
/great-minds:agency-memory <subcommand> [options]<subcommand> [options]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Query and manage the Great Minds agency vector store. Memories are stored in SQLite with embeddings for semantic search.
Query and manage the Great Minds agency vector store. Memories are stored in SQLite with embeddings for semantic search.
/agency-memory search "query text"
/agency-memory add --type learning "content here"
/agency-memory add --type decision --agent "Steve Jobs" --project "Dash" "content"
/agency-memory list --type board-review
/agency-memory list --agent "Jensen Huang"
/agency-memory import
/agency-memory export
/agency-memory stats
When this skill is invoked, run the memory CLI from the memory-store directory.
Find relevant memories by semantic similarity:
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory search "$QUERY" --limit ${LIMIT:-5}
Store a new memory. Valid types: learning, decision, qa-finding, board-review, retrospective, architecture.
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory add \
--type "$TYPE" \
--agent "$AGENT" \
--project "$PROJECT" \
--content "$CONTENT"
List memories filtered by type, agent, or project:
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory list --type "$TYPE"
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory list --agent "$AGENT"
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory list --project "$PROJECT"
Import existing markdown memories from the Great Minds project:
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory import
This parses:
MEMORY.md index (key learnings)memory/*.md files (operational learnings, architecture decisions, research)rounds/*/decisions.md (locked project decisions)rounds/*/board-review-*.md (Jensen Huang board reviews)rounds/*/qa-report-*.md (Margaret Hamilton QA findings)Export all memories back to markdown for compatibility:
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory export
Show memory store statistics:
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory stats
Remove duplicate memories (cosine similarity > 0.92) and low-value entries (e.g., "all green" board reviews, "PASS" QA findings):
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory prune
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory prune --threshold 0.85
Find clusters of similar memories (similarity > 0.75) and merge them into single stronger entries:
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory consolidate
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory consolidate --threshold 0.80
Score all memories by recency, uniqueness, and richness. Remove the bottom 10% by score:
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory optimize
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory optimize --percentile 20
Run the full maintenance cycle (prune + consolidate + optimize) in sequence. This is what the dream cron calls automatically:
cd "${PIPELINE_REPO:-$(git rev-parse --show-toplevel)}/memory-store" && ./bin/memory maintain
OPENAI_API_KEY — enables neural embeddings (text-embedding-3-small). Falls back to TF-IDF when absent.MEMORY_DB — custom path to SQLite database. Defaults to memory-store/memory.db.The memory store also ships with this plugin at memory-store/. Any installation gets a fresh copy. Install dependencies before first use:
cd "/path/to/great-minds-plugin/memory-store" && npm install
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub sethshoultes/great-minds-plugin --plugin great-minds