360 Secure SkillHub
360 安全技能中心

Yiliu

面向个人笔记与知识管理,提供快速记录、语义搜索、列表与编辑、历史版本、统计和 Markdown 导出;可选调用 OpenAI 增强摘要和标签,无密钥时回退本地嵌入与关键词搜索,数据保存在本地。

damingdong
damingdong
热度 53.89
最近更新 2026-05-11 17:34:20
分类:知识依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:笔记整理 / 摘要总结 / 研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add yiliu
Metadata
name
yiliu
description
Yiliu - AI-powered note-taking knowledge base with semantic search, auto-summarization, and version management
version
1.2.0
author
Daming Dong
license
MIT
tags
["note","knowledge","memory","search","AI","semantic-search","rag"]
security
{"network":true,"notes":"This skill makes optional network requests to OpenAI API for AI features.\n- External API: OpenAI (optional, requires user's own API key)\n- Local embeddings: HuggingFace Transformers (no network required)\n- No eval() or arbitrary code execution\n- No hardcoded credentials\n- Data stored locally in SQLite/LibSQL\n"}

Yiliu - AI Note-Taking Knowledge Base

Capture anytime, auto-organize, surface on demand.

✨ What's New (v1.2.0)

  • LibSQL Storage: Replaced sql.js with LibSQL for better performance
  • Semantic Search: Vector similarity search with hybrid ranking
  • AI Enhancement: Auto-generated summaries and tags
  • Local Embeddings: Support for HuggingFace Transformers (no API key needed)
  • Version Management: Auto-save + manual marking for important versions

Features

Feature Description Command
Record Quick capture with AI enhancement /记 or type directly
Semantic Search Find content by intent /搜 <keyword>
List View recent notes /列表
Edit Modify existing notes /编辑 <id> <content>
History View version history /历史 <id>
Export Export to Markdown /导出
Stats View statistics /统计

Quick Start

Install

git clone https://github.com/DamingDong/yiliu.git
cd yiliu
npm install
npm run build

Configure AI (Optional)

export OPENAI_API_KEY="your-api-key"
# Optional: Custom API endpoint
export OPENAI_BASE_URL="https://api.openai.com/v1"

Without API Key: Falls back to local embeddings via @huggingface/transformers. Core features still work.

Usage

# Record a note (AI auto-summarizes + tags)
/记 Today I learned about CRDT sync with Last-Write-Wins strategy

# Semantic search (understands intent)
搜 distributed sync methods

# List notes
/列表

# View stats
/统计

# Export backup
/导出

AI Features

Feature Model Description
Embeddings text-embedding-3-small / all-MiniLM-L6-v2 Semantic search
Summaries gpt-4o-mini Auto summaries
Tags gpt-4o-mini Auto tags

No API Key: Falls back to keyword search, core features remain functional.

Data Storage

  • LibSQL: Notes, version history
  • Vector Index: Semantic search
  • Path: data/yiliu.db, data/vectors.json

Architecture

yiliu/
├── src/
│   ├── index.ts       # Entry
│   ├── commands/      # Command handlers
│   ├── storage/       # Storage (LibSQL + Vector)
│   ├── ai/            # AI capabilities
│   └── types/         # Type definitions
├── data/              # Data directory
└── SKILL.md

Version History

  • v1.2.0 (2026-03-20) - LibSQL, semantic search, AI enhancement, local embeddings
  • v1.0.0 (2026-03-19) - MVP release

License

MIT License