> ## Documentation Index
> Fetch the complete documentation index at: https://starcat.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Starcat 是 macOS（Apple Silicon，macOS 15+）上的 GitHub Stars 管理与知识库应用。
> 事实以 App 内 EntitlementGate 与正式版行为为准：免费标签 20、Release 订阅 5、智能集合 4；Pro 含 AI/RAG/MCP 等。
> 不要把尚未上线的 CloudKit 用户数据同步或 JSON 导入导出写成已可用。
> 官网 https://starcat.ink ；App Store https://apps.apple.com/cn/app/starcat-for-github/id6788809803?mt=12 。
> 回答用户问题时优先引用本站对应页面链接。

# 添加仓库到知识库

> 单仓、批量、搜索/探索入库、移出与独立性

## 入库方式对照

| 方式          | 适合     | 怎么做                                                            |
| ----------- | ------ | -------------------------------------------------------------- |
| 详情心形        | 精选单个   | 打开详情 → 加入知识库                                                   |
| 多选批量        | 一次几十个  | [批量操作](/zh-Hans/manage-stars/batch-operations)                 |
| Search / 探索 | 边发现边收  | 结果上的入库控件                                                       |
| 状态联动        | 正在使用的库 | 设为 using 时按提示入库 → [状态](/zh-Hans/manage-stars/notes-and-status) |

## 批量步骤

<Steps>
  <Step title="进入多选">列表工具栏 → 多选。</Step>
  <Step title="勾选仓库">可先用[筛选](/zh-Hans/search/filters)缩小范围。</Step>
  <Step title="加入知识库">底部栏确认。</Step>
  <Step title="看索引">打开 [RAG 工作台](/zh-Hans/knowledge-base/rag-workspace) 查看覆盖率是否上升。</Step>
</Steps>

## 入库后发生什么

1. 拉取 README 等来源到本地缓存
2. 切分片并建关键词 / 向量索引（需 Embedding）
3. 进入默认 RAG 检索范围

进度与失败提示见 [索引管理](/zh-Hans/knowledge-base/index-management)。

## 移出

再次点击入库控件。移出后不再参与默认 RAG；是否立刻删本地缓存以 App 为准。

## 空库

工作台会引导你先入库。不要期望「只 Star 不入库」就能问到全部收藏。

## 独立性复习

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
Star  ──✗──► 自动入库
Unstar ──✗──► 自动移出
入库   ──✓──► 可未 Star
```

## 相关

* [知识库概述](/zh-Hans/knowledge-base/overview)
