From pact
Searches PACT vector memory using semantic similarity for relevant bugs, solutions, research synthesis, and task feedback. Useful for recalling indexed project knowledge.
npx claudepluginhub jonathanmr22/pact --plugin pactThis skill uses the workspace's default tool permissions.
Search the PACT vector memory for knowledge relevant to the user's query. This uses semantic similarity to find matching bugs, graduated solutions, research synthesis, and task feedback across all indexed projects.
Manages persistent memory for PACT agents: stores context, goals, lessons learned, decisions, entities; provides semantic search and graph-enhanced retrieval across sessions.
Searches Claude Code memory for errors, solutions, decisions, patterns, and project context. Invoke via /mem-search with queries like 'database schema decisions' or auto-activates on relevant topics.
Retrieves project memory for user queries via three-step fallback: ROOT.md topics triage, frontmatter manifest LLM selection from weekly/monthly notes, qmd search. Use when past knowledge may apply.
Share bugs, ideas, or general feedback.
Search the PACT vector memory for knowledge relevant to the user's query. This uses semantic similarity to find matching bugs, graduated solutions, research synthesis, and task feedback across all indexed projects.
How to use: The user provides a description of what they're looking for — a symptom, a question, a topic. You run the query and present the results.
Run this command to search:
python ~/.claude/hooks/pact-memory.py query "{user's query}" --top 5 --json
If pact-memory.py isn't at that path, check:
.claude/hooks/pact-memory.py (project-local)Present the results to the user as:
## PACT Recall: "{query}"
Found {N} relevant results:
1. **[{score}%] [{type}] {id}**
{text preview}
→ {file path}
2. ...
If the score is above 40%, the result is likely relevant. Below 30% is weak — mention it's a loose match.
If no results are found, suggest the user run python pact-migrate.py /path/to/project to index their knowledge files, or note that the vector index may not have been built yet.