Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add malue-ai/dazee-small --skill knowledge-basegit clone --depth 1 https://github.com/malue-ai/dazee-smallWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/malue-ai/dazee-small/knowledge-base)<a href="https://agentmods.dev/skills/malue-ai/dazee-small/knowledge-base"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/knowledge-base/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/knowledge-base"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/knowledge-base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.00844 |
| Opus 5.5 | $0.00010 | $0.00338 |
| Sonnet 5.5 | $0.00005 | $0.00169 |
| Haiku 4.5 | $0.00002 | $0.00084 |
Grade A, and why
knowledge-base scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
个人知识库
基于 SQLite + FTS5 的本地知识库,帮助用户保存、整理、检索知识片段。数据完全本地化。
使用场景
- 用户说「帮我记住这个」「把这个知识点存下来」
- 用户说「我之前保存过关于 XX 的内容吗」「搜索我的知识库」
- 用户说「整理一下我保存的关于 Python 的知识」
- 用户在调研/学习过程中想积累知识卡片
执行方式
数据库结构
知识库存储在 ~/Documents/xiaodazi/knowledge.db:
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'
);
核心操作
保存知识:
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()
搜索知识:
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()
按标签浏览:
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 的输出直接存入(如深度调研的结论)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 110 lines · 24 tokens per session scan A 7a287bc7ed12
knowledge-base is a skill published in the GitHub repository malue-ai/dazee-small (36 stars, last pushed 7mo ago), licensed MIT. It adds 24 tokens to every session and 844 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
mem0-oss-to-platform
Plan, then execute, a migration of a project from the mem0 open-source / self-hosted SDK (local Memory class) to the mem0 Platform / hosted SDK (MemoryClient). TRIGGER when: the developer wants to move, switch, or migrate mem0 off OSS/self-hosted to the hosted API, e.g. "migrate my mem0 setup to the platform", "switch…
forget
Remove a personal fact, preference, relationship detail, topic, or prior event from Muse's active memory and stop existing copies or automations from bringing it back. Use for explicit requests such as 'forget that', 'don't remember this about me', or 'remove that from your memory'. Do not use when 'forget it' merely…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
memory
Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.
ha-data-stores
Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…
establishing-project-context
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.