src/simba/skills/remember/SKILL.md
Save the current work session to persistent memory for future context. Summarizes accomplishments, tracks files modified, and stores learnings for cross-session continuity.
npx skillsauth add mahmoudimus/simba rememberInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Summarize the current work session and save it to persistent memory for future context.
When the user invokes /remember, you should:
First, check if there's an activity log from this session:
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || echo "$PWD")
ACTIVITY_FILE="$REPO_ROOT/.simba/search/activity.log"
if [ -f "$ACTIVITY_FILE" ]; then
cat "$ACTIVITY_FILE"
fi
Review what was accomplished in this conversation:
Create a concise summary (2-3 sentences) that captures:
Identify:
Use the simba.search CLI to save:
# Initialize if needed
uv run python -m simba.search init
# Save session
uv run python -m simba.search add-session \
"YOUR_SUMMARY_HERE" \
'["file1.ts", "file2.ts"]' \
'["Read", "Edit", "Bash"]' \
"topic1, topic2, topic3"
If during the session you learned something important about the codebase that should be remembered:
For code area knowledge:
uv run python -m simba.search add-knowledge \
"src/auth" \
"Authentication module using JWT tokens with refresh token rotation" \
"Tokens expire in 15min, refresh tokens in 7 days"
For project facts:
uv run python -m simba.search add-fact \
"Uses PostgreSQL with Prisma ORM" "architecture"
uv run python -m simba.search add-fact \
"All API routes require authentication except /health" "convention"
After saving, clear the activity log:
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null || echo "$PWD")
ACTIVITY_FILE="$REPO_ROOT/.simba/search/activity.log"
[ -f "$ACTIVITY_FILE" ] && rm "$ACTIVITY_FILE"
Report what was saved:
Saved to memory:
- Summary: [your summary]
- Topics: [topics]
- Files: [count] files tracked
Memory now contains [X] sessions. Use /memory-stats to see details.
Saved to memory:
- Summary: Implemented JWT authentication with refresh token rotation. Added middleware for protected routes and updated user model with token fields.
- Topics: auth, jwt, middleware, tokens, security
- Files: 4 files tracked
Memory now contains 12 sessions.
If the user wants to add specific knowledge or facts, they can say:
Ask clarifying questions if the summary scope is unclear.
development
Index the current project for optimized search with QMD semantic search and fast file suggestions. Run this when entering a new codebase or after significant changes. Saves 60-80% tokens on exploration tasks.
tools
Show token economics comparing usage with turbo-search vs without. Demonstrates actual savings from search-first approach.
development
Enforce Simba's Codex lifecycle routine for coding tasks. Use when starting or finishing implementation work in a Simba-enabled repo to run `simba codex-status` at start, `simba codex-extract` when extraction is pending, and `simba codex-finalize` before final handoff.
documentation
Local hybrid search for markdown notes and docs. Use BEFORE reading files to save tokens - search first, read only what's relevant. Provides 90% token savings on exploration tasks.