lov-ataru-search

Solid

从本机 Ataru 记忆索引里召回过去的 AI 会话上下文,返回可定位的命中与原文片段。 Use when asked what was discussed, decided, or fixed in an earlier session.

Data & Documents 64 stars 16 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# lov-ataru-search — 从本地记忆里召回上下文 在本机已有的 AI 会话历史里找出与当前问题相关的过去记录,交回两样能直接用的 东西:带稳定标识(Project / Session / Message)的排序命中,以及围绕某个命中的一段 原文。索引的构建与修复属于 `lov-ataru-indexing`。 ## Triggers ### Activate when - “我上次是怎么解决这个报错的?” - “找出讨论过会话恢复方案的那次记录。” - Help me recall what was decided about this module in an earlier session. ### Do not activate when - 用户要的是「把索引重建一下」「索引是不是坏了」 —— 交给 `lov-ataru-indexing`。 - 用户要在当前代码库里找某个符号或文件 —— 用普通的 grep 与文件搜索,那是代码检索 而不是会话记忆检索。 ## User Profile (cross-session) `skill.yaml` 声明 `user-profile/v1`。每次运行开始时读取共享的 user、brand、 workspace、preferences 以及本 Skill 的 `skills.lov-ataru-search` 命名空间。 值得长期保存的记录有两项:`records.ataru_bin`(本机可用的 Ataru 可执行文件路径)与 `records.default_level`(用户偏好的检索粒度)。用户直接说出这类值时,用 `scripts/profile_store.py record` 写回并报告保存路径。检索词、项目 ID 这类一次性 输入不写入 Profile。完整契约见 [`references/user-profile.md`](references/user-profile.md)。 ## Skill Group Composition 见 [`references/skill-composition.md`](references/skill-composition.md)。本源码是 独立 Single Skill,与 `lov-ataru-indexing` 之间只有制品级交接(索引状态)。 ## Workflow (MANDATORY) **You MUST follow these steps in order.** ### Step 0: Resolve the binary, then confirm the index ```bash export SKILL_DIR="$HOME/.claude/skills/lov-ataru-search" python3 "$SKILL_DIR/scripts/ataru_recall.py" index-status ``` 解析顺序是 `--bin` → `ATARU_BIN` → PATH → 已安装 App bundle → 从当前目录向上查找的 本地 dev build,每个候选先跑一次 `--version`。低于 0.41.3 的旧版不认识 index 子命令, 会把它当成桌面启动参数**打开一个窗口**并永不返回。 `search` 自己会先确认索引。索引未就绪时它以 `ATARU_INDEX_NOT_READY` 或 `ATARU_INDEX_BUILDI...

Details

Author
lovstudio
Repository
lovstudio/skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category