Skip to main content
prompt GP ChatGPT

task_memory_search — Claude Code prompt: search past tasks

The task_memory_search prompt for Claude Code finds summaries of earlier tasks across conversations. Search by task wording, then narrow results by app package or start date.

Apache-2.0 ★ 9,488 updated 2026-11-16

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/task_memory_search.md
Open on GitHub

What task_memory_search does

The prompt searches earlier tasks using words from their titles, conclusions, or steps. It returns up to 10 brief records with a title, run time, apps or sites involved, a one-line conclusion, and the step count. Full step details are excluded.

Add an app package or a start date to narrow the search. For a relevant result, open its timeline with task_memory_timeline, then inspect a particular step with task_memory_step. In Claude Code, save the prompt as .claude/commands/task_memory_search.md.

What it helps with

  • find an earlier task from words in its title
  • reuse the conclusion from a previous run
  • filter task summaries by app package and date
  • open a matching task’s timeline and a specific step

Example prompts for the agent

  • Find earlier tasks mentioning “profile screen update”.
  • Search for tasks whose conclusion mentions authentication setup and filter by app package.
  • Find a run after the given start date, then open its timeline and a specific step.

How to install task_memory_search

Manually: put the files in place

.claude/commands/task_memory_search.md

Questions about task_memory_search

How do I install task_memory_search in Claude Code?

Save the prompt to .claude/commands/task_memory_search.md.

What does task_memory_search do?

It searches summaries of earlier tasks and returns up to 10 brief records with their title, run time, apps or sites, conclusion, and step count.

What details appear in a search result?

Results show compact task summaries, not full steps. Use task_memory_timeline to inspect a timeline, then task_memory_step for a particular step.

Source text

task_memory_search.md · Apache-2.0
Look up summaries of past tasks (across conversations) so you can reuse what worked and avoid repeating what failed. Returns up to 10 compact entries — only the title, when it ran, which apps/sites it touched, its one-line conclusion and step count, never the full steps. Query with words from the task title, its conclusion or its steps; filter by app package and/or a start date when you know them. When a returned entry looks relevant, read its timeline with task_memory_timeline and then a specific step with task_memory_step.

© wangzan101 · Apache-2.0 · wangzan101/Mika

Similar prompts

All prompts for Agent setup: memory, context, orchestration →

From the same set132

The whole set →
find_visually find_visually — a prompt for Claude Code and ChatGPT that locates a button, icon, or input by sight. It kicks in when the element list misses the target or an app draws its own interface. GP ChatGPT ★ 9,488repo stars web_keep_open The web_keep_open Claude Code prompt keeps the current tab open after a task ends. Use it when a video, course, or audio should keep playing after the agent replies. GP ChatGPT ★ 9,488repo stars web_run_site_command The web_run_site_command Claude Code prompt runs a named command for the current site to extract structured data from an open page. Open the target page first. GP ChatGPT ★ 9,488repo stars press_key press_key — a prompt for Claude Code presses navigation and editing keys on the current screen. Its result describes the interface change and reports a new location when the screen changes. GP ChatGPT ★ 9,488repo stars spawn_agent The spawn_agent Claude Code prompt sends a child agent to investigate a bounded question. It returns a short observation; that result alone does not finish the main task. GP ChatGPT ★ 9,488repo stars phone_wait The phone_wait Claude Code prompt waits for text, an activity screen, or a settled phone display. Its Android port responds to accessibility events. GP ChatGPT ★ 9,488repo stars phone_scroll The phone_scroll Claude Code prompt scrolls an Android app screen. Set a direction, gesture amount, or scroll region. GP ChatGPT ★ 9,488repo stars phone_open_link The phone_open_link Claude Code prompt opens an Android page on the virtual display from a settings action or URI. Request a target page directly instead of navigating through the app. GP ChatGPT ★ 9,488repo stars

Project sponsors

Companies that keep this analytics open