api-integration
Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needsโฆ
Use when the user references past sessions, asks 'what did we do', 'do you remember', 'last session', 'recall', or 'continue from'.
Claude Code
$ npx -y skills add cwinvestments/memstack --skill echo --agent claude-code
Codex
$ npx skills add cwinvestments/memstack --skill echo -a codex -y
Cursor
$ npx skills add cwinvestments/memstack --skill echo -a cursor -y
Gemini CLI
$ npx skills add cwinvestments/memstack --skill echo -a gemini-cli -y
GitHub Copilot
$ npx skills add cwinvestments/memstack --skill echo -a github-copilot -y
OpenCode
$ npx skills add cwinvestments/memstack --skill echo -a opencode -y
Windsurf
$ npx skills add cwinvestments/memstack --skill echo -a windsurf -y
name: echo description: "Use when the user references past sessions, asks 'what did we do', 'do you remember', 'last session', 'recall', or 'continue from'." version: 1.0.0
*Recall information from past CC sessions using semantic vector search.*
When this skill activates, output:
`๐ Echo: Searching the archives...`
Then execute the protocol below.
| Context | Status | Priority | |---------|--------|----------| | **User says "recall", "remember", "last session", "what did we"** | ACTIVE: search memory | P1 | | **User asks about past work explicitly ("did we build X?")** | ACTIVE: search memory | P1 | | **User says "continue from" or "resume" a past topic** | ACTIVE: search memory | P2 | | **User is describing NEW work to do ("build X", "add Y")** | DORMANT, this is new work, not recall | none | | **User mentions "memory" in code context (RAM, variables)** | DORMANT, technical term, not MemStack recall | none | | **User mentions a project name in present tense ("work on X")** | DORMANT, forward-looking, not recall | none | | **User says "save" or "log" (Diary/Project territory)** | DORMANT, Diary or Project skill handles writing | none |
If you're thinking any of these, STOP, you're about to skip the protocol:
| You're thinking... | Reality | |---|---| | "I remember this from earlier in the conversation" | You don't persist. Earlier context may be compacted. Run the search. | | "I can just summarize from what I know" | You know nothing from prior sessions. The database does. Search it. | | "The user probably doesn't need exact details" | Users ask Echo for specifics: dates, decisions, file paths. Run all steps. | | "Vector search seems slow, I'll skip to SQLite" | Vector search returns the best results. Always try it first. | | "I found one result, that's probably enough" | Run ALL steps (vector + SQLite + insights). One source misses context another catches. | | "The keywords are too vague to search" | Search anyway. Vague queries still return useful semantic matches. |
Try LanceDB vector search first for best-quality results:
python "$MEMSTACK_PATH/skills/echo/search.py" "<keywords>" --top-k 5
If this returns results, present them with scores, dates, and source files.
Always run SQLite search to supplement vector results or as fallback if Step 1 fails:
python "${CLAUDE_PLUGIN_ROOT}/db/memstack-db.py" search "<keywords>" --project <project>For additional context:
python "${CLAUDE_PLUGIN_ROOT}/db/memstack-db.py" get-sessions <project> --limit 5
python "${CLAUDE_PLUGIN_ROOT}/db/memstack-db.py" get-insights <project>If both vector and SQLite return nothing, check `memory/sessions/` and `memory/projects/` for markdown files.
Combine and deduplicate results from all sources:
If nothing found across all sources, say clearly: "No session logs found for [topic]. Use Diary to save future sessions."
To re-index sessions after new diary entries (normally done automatically):
python "$MEMSTACK_PATH/skills/echo/index-sessions.py"
Use `--force` to re-embed all content (e.g., after changing embedding model):
python "$MEMSTACK_PATH/skills/echo/index-sessions.py" --force
Echo uses LOCAL embeddings by default: sentence-transformers (`all-MiniLM-L6-v2`, 384-dim). No API key is needed and nothing leaves the machine.
OpenAI embeddings (`text-embedding-3-small`, 1536-dim) are strictly OPT-IN. Enable them either way:
A bare `OPENAI_API_KEY` in the environment does NOT switch Echo to OpenAI on its own; the opt-in above is required. An explicit OpenAI opt-in with no key present is a hard error, not a silent downgrade to local, so an index is never built with a provider you did not choose.
Switching providers requires a `--force` re-index, because the vector dimensions differ (local 384 vs OpenAI 1536) and the two cannot be mixed in one index. Search automatically matches whatever provider the current index was built with (recorded in `metadata.json`).
**User:** "Do you remember what we did on AdminStack last session?"
๐ Echo: Searching the archives...
Vector search (top 3):
[1] AdminStack: 2026-02-18 (session)
Section: Accomplished
Score: 0.912
Built CC Monitor page with session cards, auto-refresh, notifications.
Created /api/cc-sessions CRUD + public report endpoint.
[2] AdminStack, 2026-02-17 (session)
Section: Decisions
Score: 0.847
Used SWR for auto-refresh instead of polling. API key via HMAC-SHA256.
[3] AdminStack: 2026-02-18 (session)
Section: Next Steps
Score: 0.791
Deploy dashboard, add notification preferences, test mobile view.
SQLiteThe structured skill framework for Claude Code: 131 professional skills for deployment, security, databases, content, marketing, and more. Skills activate automatically when you need them. Say "deploy this to Railway" and the right skill loads on demand.
Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needsโฆ
Use this skill when the user says 'content pipeline', 'content automation', 'auto-publish', 'repurpose content', 'multi-platformโฆ
Use this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needsโฆ
Use when the user says 'what MCP servers', 'find an MCP for', 'hosted MCP', 'list MCP servers', 'MCP catalog', 'available MCPโฆ
Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visualโฆ
Use this skill when the user says 'webhook', 'webhook handler', 'webhook endpoint', 'receive events', 'HMAC verification',โฆ
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoidโฆ
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agentโฆ
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,โฆ