본문으로 건너뛰기
cccskills
무료GitHub에 공개

mem-search

Search rad-mem's persistent cross-session memory database. Use when user asks "did we already solve this?", "how did we do X last time?", or needs work from previous sessions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(17)

  • SKILL.md3.1 KB
  • operations/.gitkeep0 B
  • operations/by-concept.md3.8 KB
  • operations/by-file.md3.7 KB
  • operations/by-type.md3.1 KB
  • operations/common-workflows.md6.7 KB
  • operations/formatting.md9.2 KB
  • operations/help.md4.4 KB
  • operations/observations.md3.9 KB
  • operations/prompts.md3.6 KB
  • operations/recent-context.md3.8 KB
  • operations/sessions.md3.5 KB
  • operations/timeline-by-query.md5.5 KB
  • operations/timeline.md4.8 KB
  • principles/.gitkeep0 B
  • principles/anti-patterns.md5.4 KB
  • principles/progressive-disclosure.md3.7 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Memory Search

Search past work across all sessions. Simple workflow: search → get IDs → fetch details by ID.

When to Use

Use when users ask about PREVIOUS sessions (not current conversation):

  • "Did we already fix this?"
  • "How did we solve X last time?"
  • "What happened last week?"

The Workflow

ALWAYS follow this exact flow:

  1. Search - Get an index of results with IDs
  2. Review - Look at titles/dates, pick relevant IDs
  3. Fetch - Get full details ONLY for those IDs

Step 1: Search Everything

curl "http://localhost:38888/api/search?query=authentication&format=index&limit=5"

Required parameters:

  • query - Search term
  • format=index - ALWAYS start with index (lightweight)
  • limit=5 - Start small (3-5 results)

Returns:

1. [feature] Added JWT authentication
   Date: 11/17/2025, 3:48:45 PM
   ID: 11131

2. [bugfix] Fixed auth token expiration
   Date: 11/16/2025, 2:15:22 PM
   ID: 10942

Step 2: Pick IDs

Review the index results. Identify which IDs are actually relevant. Discard the rest.

Step 3: Fetch by ID

For each relevant ID, fetch full details:

# Fetch observation
curl "http://localhost:38888/api/observation/11131"

# Fetch session
curl "http://localhost:38888/api/session/2005"

# Fetch prompt
curl "http://localhost:38888/api/prompt/5421"

ID formats:

  • Observations: Just the number (11131)
  • Sessions: Just the number (2005) from "S2005"
  • Prompts: Just the number (5421)

Search Parameters

Basic:

  • query - What to search for (required)
  • format - "index" or "full" (always use "index" first)
  • limit - How many results (default 5, max 100)

Filters (optional):

  • type - Filter to "observations", "sessions", or "prompts"
  • project - Filter by project name
  • dateRange[start] - Start date (YYYY-MM-DD)
  • dateRange[end] - End date (YYYY-MM-DD)
  • obs_type - Filter observations by: bugfix, feature, decision, discovery, change

Examples

Find recent bug fixes:

curl "http://localhost:38888/api/search?query=bug&type=observations&obs_type=bugfix&format=index&limit=5"

Find what happened last week:

curl "http://localhost:38888/api/search?query=&type=observations&dateRange[start]=2025-11-11&format=index&limit=10"

Search everything:

curl "http://localhost:38888/api/search?query=database+migration&format=index&limit=5"

Why This Workflow?

Token efficiency:

  • Index format: ~50-100 tokens per result
  • Full format: ~500-1000 tokens per result
  • 10x difference - only fetch full when you know it's relevant

Clarity:

  • See everything first
  • Pick what matters
  • Get details only for what you need

Error Handling

If search fails, tell the user the worker isn't available and suggest:

pm2 list  # Check if worker is running

Remember: ALWAYS search with format=index first. ALWAYS fetch by ID for details. The IDs are there for a reason - USE THEM.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Diagnose and fix rad-mem installation issues. Checks PM2 worker status, database integrity, service health, dependencies, and provides automated fixes for common problems.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

thedotmack/rad-mem72026년 10월 6일 업데이트

Manage semantic version updates for rad-mem project. Handles patch, minor, and major version increments following semantic versioning. Updates package.json, marketplace.json, plugin.json, and CLAUDE.md version number (NOT version history). Creates git tags and GitHub releases. Auto-generates CHANGELOG.md from releases.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

thedotmack/rad-mem72026년 10월 6일 업데이트

thedotmack의 스킬 모두 보기

이 스킬의 문제 신고