From research-factory
Session recovery after context compression or new session start. Use at the beginning of every session to restore working state from _STATE.md and git log.
How this skill is triggered — by the user, by Claude, or both
Slash command
/research-factory:context-recovery Recover context for current sessionRecover context for current sessionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Start of every new session
Read docs/_STATE.md
Extract: current phase, checkpoint status, modified files, next steps.
git log --oneline -10
git diff --stat
git status
Understand what changed recently and what's uncommitted.
Check docs/plans/ for the most recent plan file. Understand current objectives.
If docs/_HANDOFF.md exists, read it for cross-conductor context. Rename to _HANDOFF_DONE.md after reading.
Report to user:
Resuming session. Context recovered:
- Phase: [current phase]
- Last completed: [step]
- Next: [next step]
- Uncommitted changes: [list]
npx claudepluginhub xuxiguo/research-factory-claude --plugin research-factorySearches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.