lov-ataru-indexing

Solid

检查并构建本地 Ataru 会话记忆索引,让无界面调用方在检索前拿到 searchable 状态。 Use when asked to build, rebuild, repair, or check the Ataru memory index.

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-indexing — 让本地记忆索引可被检索 把本机 AI 会话历史的 Ataru 索引带到 searchable 状态,并把结果作为一份可判断 的 JSON 报告交回:现在能不能检索、还差多少、这次做了什么。检索本身属于 `lov-ataru-search`。 ## Triggers ### Activate when - “Ataru 索引好像没更新,帮我重建一下。” - “先确认本地记忆索引是不是可用的。” - Help me build or repair the local Ataru memory index before searching. ### Do not activate when - 用户要的是「找出上次怎么解决某个问题」这类检索结果 —— 交给 `lov-ataru-search`, 它会自己确认索引状态并在未就绪时指回本 Skill。 - 用户在讨论 Ataru 的界面、发布或代码改动 —— 那是产品开发任务,不是索引运维。 ## User Profile (cross-session) `skill.yaml` 声明 `user-profile/v1`。每次运行开始时读取共享的 user、brand、 workspace、preferences 以及本 Skill 的 `skills.lov-ataru-indexing` 命名空间。 本 Skill 唯一值得长期保存的记录是 `records.ataru_bin`:用户机器上那个可用的 Ataru 可执行文件路径。首次解析成功、或用户直接说出该路径时,用 `scripts/profile_store.py record` 写回并报告保存路径;之后把它作为 `--bin` 传入, 省掉每次的候选探测。不要把它硬编码进本源码。完整契约见 [`references/user-profile.md`](references/user-profile.md)。 ## Skill Group Composition 见 [`references/skill-composition.md`](references/skill-composition.md)。本源码是 独立 Single Skill,与 `lov-ataru-search` 之间只有制品级交接(索引状态),没有 隐藏的 sibling 依赖。 ## Workflow (MANDATORY) **You MUST follow these steps in order.** ### Step 0: Resolve the binary before anything else ```bash export SKILL_DIR="$HOME/.claude/skills/lov-ataru-indexing" python3 "$SKILL_DIR/scripts/ataru_index.py" resolve-bin ``` 脚本按「`--bin` 显式参数 → `ATARU_BIN` 环境变量 → PATH → 已安装 App bundle → 从当前目录向上查找的本地 dev build」顺序解析,并对每个候选先跑一次 `--version`。低于 0.41.3 的二进制��认识 `index status`,会把它当成桌面启动参数 **打开一个窗口**并永不返回,所以版本门必须先过。 失败时脚本返回 `ATARU_BIN_NOT_FOUND` 或 ...

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