Agent skill

recall

Search agentmemory for past observations, sessions, and learnings about a topic. Use when the user says "recall", "remember", "what did we do", or needs context from past sessions.

Stars 755
Forks 78

Install this agent skill to your Project

npx add-skill https://github.com/rohitg00/agentmemory/tree/main/plugin/skills/recall

SKILL.md

Search agentmemory for observations matching: $ARGUMENTS

!QUERY=$(echo "$ARGUMENTS" | sed 's/\\/\\\\/g; s/"/\\"/g') && curl -s -H "Content-Type: application/json" -H "Authorization: Bearer ${AGENTMEMORY_SECRET:-}" -X POST http://${AGENTMEMORY_URL:-localhost:3111}/agentmemory/search -d "{\"query\": \"${QUERY}\", \"limit\": 10}" 2>/dev/null || echo '{"results":[]}'

Present the search results to the user in a readable format:

  • Group by session
  • Show observation type, title, and narrative
  • Highlight the most important observations (importance >= 7)
  • If no results found, suggest alternative search terms

Do NOT make up or hallucinate results. Only present what was returned from the search.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results