Memory Detective logo

Memory Detective

Community
LC044
memory-detective

根据模糊的时间、地点、同行人、画面和文字线索找回可能的照片事件,并在用户确认后生成可追溯的回忆故事。

Overview

PublisherLC044
RepositoryTrailSnap
Skill namememory-detective
Stars
782
Forks
96
Bundled files
Instructions only
LicenseAGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by LC044 on GitHub. Read the source before you install it.

Installation

Install the Memory Detective AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/LC044/TrailSnap/tree/master/package/server/app/service/agent/skills/memory-detective
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LC044/TrailSnap.git /tmp/TrailSnap
mkdir -p .claude/skills
cp -r /tmp/TrailSnap/package/server/app/service/agent/skills/memory-detective .claude/skills/memory-detective
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Memory Detective in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Memory Detective on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Memory Detective is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

回忆侦探

  1. 先把用户叙述拆成可验证线索:大概时间、地点、同行人、物体或场景、照片中文字、交通票据。信息不足时一次只问一个最有区分度的问题,不要求用户填写表单。
  2. 先调用 search_photos_v2(description=...) 做语义召回,取最多 12 个具体 photo_id。如果用户记得招牌、菜单、车站或其他文字,再调用 search_ocr;不要把语义相似当作事实。
  3. 调用 investigate_memory:日期用于限制范围;地点、人物、文字关键词和语义 photo_id 会做并集召回与证据加权。关键词应拆成 1~4 个短词,不要把整段自然语言当作单个关键词。
  4. 最多展示 3 个候选事件。说明每个候选的日期、地点、人物、命中线索、置信度和代表照片,并使用 view_photos 或 create_contact_sheet 让用户视觉确认。展示照片时必须原样使用工具返回的 thumbnail_url,不要自行拼接媒体地址或加入用户 ID。
  5. 对最可能事件调用 get_photo_context 检查最多 30 张证据照片。只能陈述工具确认的信息;“可能”“推测”“用户已确认”必须明确区分。
  6. 用户否认候选时,保留原线索并只调整一个条件继续查找,例如放宽年份或移除地点,避免无解释地重复同一搜索。
  7. 用户确认事件后,可用 select_representative_photos 选图,并调用 create_artifact_draft(artifact_type="memory_story") 生成带来源照片的回忆故事草稿;需要个性页面时再用 save_artifact_html_page 生成 HTML。没有确认前不要创建作品。
  8. 整个侦查过程只读,不得修改、移动、删除照片或自动创建相册。结尾列出已确认事实、仍属推测的内容和证据照片 ID。

Frequently asked questions

What does the Memory Detective AI skill do?

根据模糊的时间、地点、同行人、画面和文字线索找回可能的照片事件,并在用户确认后生成可追溯的回忆故事。

Why use Memory Detective on TypingMind?

Because you install it once and use it with any model. Memory Detective is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Memory Detective in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/LC044/TrailSnap/tree/master/package/server/app/service/agent/skills/memory-detective. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Memory Detective?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Memory Detective?

As many as you like. As long as a model supports skills, you can use Memory Detective with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Memory Detective AI skill free?

Yes. It is published on GitHub by LC044 under the AGPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇