knowledge-base
Personal knowledge base with SQLite FTS5 full-text search.
Skill by malue-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/malue-ai-knowledge-base
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/knowledge-base
What's inside
- Skill name
knowledge-base- Description
- Personal knowledge base with SQLite FTS5 full-text search. Save, organize, and retrieve knowledge locally.
- License
- MIT
- Instructions
- 99 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 个人知识库
基于 SQLite + FTS5 的本地知识库,帮助用户保存、整理、检索知识片段。数据完全本地化。
## 使用场景
- 用户说「帮我记住这个」「把这个知识点存下来」
- 用户说「我之前保存过关于 XX 的内容吗」「搜索我的知识库」
- 用户说「整理一下我保存的关于 Python 的知识」
- 用户在调研/学习过程中想积累知识卡片
## 执行方式
### 数据库结构
知识库存储在 `~/Documents/xiaodazi/knowledge.db`:
```sql
CREATE TABLE knowledge (
id INTEGER PRIMARY KEY AUTOINCREMENT,
title TEXT NOT NULL,
content TEXT NOT NULL,
tags TEXT DEFAULT '', -- 逗号分隔的标签
source TEXT DEFAULT '', -- 来源 URL 或文件
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE VIRTUAL TABLE knowledge_fts USING fts5(
title, content, tags,
content='knowledge',
content_rowid='id'
);
```
### 核心操作
**保存知识**:
```python
import sqlite3
db = sqlite3.connect("~/Documents/xiaodazi/knowledge.db")
db.execute(
"INSERT INTO knowledge (title, content, tags, source) VALUES (?, ?, ?, ?)",
["Python 装饰器原理", "装饰器是一个接受函数并返回函数的高阶函数...", "python,编程", ""]
)
db.execute(
"INSERT INTO knowledge_fts (rowid, title, content, tags) VALUES (last_insert_rowid(), ?, ?, ?)",
["Python 装饰器原理", "装饰器是一个接受函数并返回函数的高阶函数...", "python,编程"]
)
db.commit()
```
**搜索知识**:
```python
results = db.execute("""
SELECT k.id, k.title, snippet(knowledge_fts, 1, '**', '**', '...', 30) as excerpt,
k.tags, k.created_at
FROM knowledge_fts
JOIN knowledge k ON knowledge_fts.rowid = k.id
WHERE knowledge_fts MATCH ?
ORDER BY rank
LIMIT 10
""", ["Python 装饰器"]).fetchall()
```
**按标签浏览**:
```python
results = db.execute("""
SELECT title, substr(content, 1, 100) as preview, created_at
FROM knowledge
WHERE tags LIKE '%python%'
ORDER BY updated_at DESC
""").fetchall()
```
### 交互流程
```
用户:帮我记住——Python 的 GIL 是全局解释器锁,同一时刻只有一个线程执行字节码
→ 保存到知识库,自动提取标签 [python, 并发]
→ 回复:已保存 ✅「Python GIL」— 标签:python, 并发
用户:我之前存过什么关于 Python 的知识?
→ 搜索知识库
→ 找到 3 条记录:
1. Python 装饰器原理(2/20)
2. Python GIL(2/26)
3. Python 异步编程(2/22)
```
## 输出规范
- 保存时确认标题和标签,让用户知道怎么找回
- 搜索结果按相关度排序,显示摘要预览
- 标签自动提取,用户也可手动指定
- 支持从其他 Skill 的输出直接存入(如深度调研的结论)From malue-ai/dazee-small, MIT.
More from malue-ai/dazee-small
- 0.496score
draw-io
malue-ai
Generate professional diagrams in draw.io XML format including flowcharts, org charts, UML diagrams, and network topology diagrams.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
excel-analyzer
malue-ai
Analyze and process Excel/CSV files using pandas and openpyxl.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
content-reformatter
malue-ai
Reformat content for different platforms (WeChat, Zhihu, Xiaohongshu, Twitter, email).
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
deep-research
malue-ai
Conduct multi-step autonomous research on any topic.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
app-scanner
malue-ai
Discover installed applications on macOS and recommend the best app for user tasks.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
elegant-reports
malue-ai
Generate beautifully designed PDF reports with Nordic-style typography, charts, tables, and multi-page layouts using reportlab or fpdf2.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
batch-file-converter
malue-ai
Batch convert files between formats - images (HEIC/PNG/JPG/WebP), documents (Markdown/HTML), and more using Python and system tools.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
competitive-intel
malue-ai
Monitor competitor websites, products, and social media for updates.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
cross-app-workflow
malue-ai
Chain multiple local apps and skills into complex multi-step workflows.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
deep-doc-reader
malue-ai
Deep analysis and Q&A for long documents (PDF reports, contracts, papers, manuals).
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
code-sandbox
malue-ai
Secure sandboxed code execution for AI-generated scripts.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
excel-fixer
malue-ai
Auto-detect and fix common Excel formatting issues like merged cells, inconsistent types, duplicate headers, and encoding problems.
SkillDFreshness: D★ 37Claude Code +9
Signals
- Stars
- 37
- Forks
- 2
- Open issues
- 3
- Last commit (this folder)
- Mar 6, 2026 (7 months ago)
- Last release
- Feb 26, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/malue-ai/dazee-small
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from malue-ai
- 0.496score
competitive-intel
malue-ai
Monitor competitor websites, products, and social media for updates.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
content-reformatter
malue-ai
Reformat content for different platforms (WeChat, Zhihu, Xiaohongshu, Twitter, email).
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
batch-file-converter
malue-ai
Batch convert files between formats - images (HEIC/PNG/JPG/WebP), documents (Markdown/HTML), and more using Python and system tools.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
code-sandbox
malue-ai
Secure sandboxed code execution for AI-generated scripts.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
app-scanner
malue-ai
Discover installed applications on macOS and recommend the best app for user tasks.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
cross-app-workflow
malue-ai
Chain multiple local apps and skills into complex multi-step workflows.
SkillDFreshness: D★ 37Claude Code +9
Cite this page
knowledge-base skill. Agent Mart. https://agentmart.dev/skills/malue-ai-knowledge-base (last updated 2026-10-24)