getnote-search
Semantic search across notes in Get笔记 via the getnote CLI
How do I install this agent skill?
npx skills add https://github.com/iswalle/getnote-cli --skill getnote-searchIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides semantic search capabilities for personal notes via the getnote CLI. It is a legitimate tool for the Get笔记 platform, though it inherently handles untrusted data (note content) which constitutes a surface for indirect prompt injection.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- ZeroLeakspass
Score: 93/100 · 2 sections analyzed
What does this agent skill do?
getnote-search Skill
Semantic search across all notes or within a specific knowledge base.
Prerequisites
getnoteCLI installed and authenticated (getnote auth statusshould show "Authenticated")
Commands
Search notes
getnote search <query> [--kb <topic_id>] [--limit <n>]
| Flag | Default | Description |
|---|---|---|
--kb | — | Limit search to a knowledge base (topic_id) |
--limit | 10 | Max results (max 10) |
Results are ranked by semantic relevance (high → low). Each result includes: note_id, title, content (excerpt), score, created_at, note_type.
Note:
note_typeis one ofNOTE,FILE,BLOGGER,LIVE,URL,DEDAO.note_idis only populated forNOTEtype results; other types return an emptynote_id.
# Search across all notes
getnote search "大模型 API"
# Search within a knowledge base
getnote search "RAG" --kb qnNX75j0
# Limit results + JSON output
getnote search "机器学习" --limit 5 -o json
Agent Usage Notes
- Use
-o jsonwhen parsing results programmatically. - JSON response:
{"success":true,"results":[{"note_id":"...","title":"...","content":"...","score":0.95,"created_at":"...","note_type":"..."}]} - Note:
resultsis at the top level, not nested underdata. - Get
topic_idfor--kbfromgetnote kbs -o json→data.topics[].topic_id. - For
NOTEtype results, usegetnote note <note_id>to get the full content. - Max
--limitis 10; usegetnote notesfor browsing without a query. - Exit code
0= success; non-zero = error. Error details go to stderr.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/iswalle/getnote-cli/getnote-search">View getnote-search on skillZs</a>