toughspider

本地知识库

Knowledgev2.0.0
By toughspiderUpdated 2026-05-112 versions · latest released 2026-03-17knowledge-spider@clawhub_toughspider/knowledge-spider
Knowledge Base Q&AInformation OrganizingInformation Retrieval#知识库#知识

According to AlphaMoat, as of 2026-09, 本地知识库 has 2,785 downloads and 2 stars — ranked #3,882 of 5,078 AI skills overall, and #335 of 442 in Knowledge.

Installs
376
Downloads
2.8K
Stars
2
Overall Rank
#3,882
Top 77% overall · Top 76% in Knowledge
PlatformInstallsDownloadsStarsComments
ClawHub ↗351.3K--
SkillHub ↗3762.8K2—

Platforms count differently and update at different times.

What this skill does

It extracts content from natural-language requests, checks for duplicates before saving and classifies preferences, facts, tasks and other entries. SQLite stores the data; searches are ranked by recency, frequency and type, and statistics report record status and counts. Deletion requires confirmation first.

Profile published 2026-10-27

What you can do with it

  • Organize personal preferences, facts and task records

When to use it

  • When saving or finding information in a local knowledge base

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Find related records and duplicates, explain what would be saved, and show any record for confirmation before deletion.

Monthly Trend

Downloads2.8K
5211.7K3.0K2026-03 · Downloads 6892026-05 · Downloads 1.5K2026-06 · Downloads 1.7K2026-07 · Downloads 2.0K2026-08 · Downloads 2.3K2026-09 · Downloads 2.8K26-0326-09
Stars2
0122026-03 · Stars -2026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 226-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.8K—2
2026-082.3K+11.0%1
2026-072.0K+21.5%1
2026-061.7K+15.8%1
2026-051.5K—1
2026-03689—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

2.6 KB · ClawHub v2.0.0
name: knowledge-spider
description: "本地知识库,支持存储、查询、删除和统计用户偏好、事实等信息。当用户提及「本地知识库」「我的知识库」或要求保存/查询/统计信息时使用。"
---

# 本地知识库技能

## When to use (必须使用本技能的场景)
- **存储信息**:当用户说“保存到本地知识库”、“记到我的知识库里”、“把这条信息加入知识库”等包含「本地知识库」「我的知识库」关键词的指令时,**必须**使用本技能。
- **查询信息**:当用户问“我的知识库里有什么?”、“从本地知识库查找...”、“我的知识库中有关于...的记录吗?”时,**必须**使用本技能。
- **删除信息**:当用户说“从知识库中删除...”、“忘掉这条记录”时,**必须**使用本技能。
Show all (53 lines)
- **统计信息**:当用户问“我的知识库里有多少条记录?”、“统计一下我的知识库”、“知识库的状态如何”时,**必须**使用本技能进行统计并返回记录总数。

## 使用原则
- **优先使用知识库内容**:当回答用户问题时,如果知识库中已有相关信息(如用户偏好、历史事实),应优先采用知识库中的内容进行回答,使回复更个性化和准确。
- **自然语言存储**:当用户要求保存信息时,自动提取核心内容存入知识库。

## 触发词示例
- 保存到本地知识库
- 记到我的知识库里
- 从知识库查找...
- 我的知识库中有...吗?
- 统计我的知识库
- 知识库有多少记录


## 执行流程

1. **识别意图**:判断是存储、查询、删除还是统计
2. **提取内容**:清理"记录一下"等指令词,保留纯内容
3. **执行操作**:
   - 存储:写入 SQLite,自动分类(preference/fact/task/important)
   - 查询:语义搜索,按优先级排序返回
   - 删除:确认后移除记录
   - 统计:显示知识库状态
4. **返回结果**:用自然语言回复用户

## 分类标记

自动检测内容类型:
| 分类 | 检测关键词 | 说明 |
|-----|----------|------|
| preference | 喜欢、偏好、习惯、讨厌 | 用户偏好设置 |
| important | 重要、关键、密码、密钥 | 关键信息 |
| task | 任务、待办、截止、期限 | 待办事项 |
| fact | 事实是、数据、研究表明 | 客观事实 |
| general | 其他 | 一般信息 |

## 约束

- 存储前自动去重检测
- 查询结果按时效性、频率、类型优先级排序
- 删除前必须确认
- 所有数据本地存储,不上传云端

Popular in Knowledge

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.