with one click
glk-search
在 Glynk 平台中语义搜索内容和标注,发现用户感兴趣的知识。当用户想找某个主题相关的内容、笔记或知识时使用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
在 Glynk 平台中语义搜索内容和标注,发现用户感兴趣的知识。当用户想找某个主题相关的内容、笔记或知识时使用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Semantic search across user's content on the Glynk platform, or use the platform to parse and chunk-read long-form content (books, papers, podcasts, articles). Use when the user needs to discover, read, or have you read long content on their behalf.
将内容发布到 Glynk 平台(作为 publication,可阅读 + 可被精细标注)。支持 URL、本地文件(epub/pdf/html/md)、带图片的 Markdown、RSS 订阅、音视频(自动转写并对齐时间戳)。
帮用户阅读 Glynk 平台上的长内容(书/论文/文章),逐页阅读、生成标注和汇报。当用户发来 URL、文件、或指定内容让你阅读时使用。
给一个内容线索(可能是社媒分享URL),追溯到第一手/官方内容,整理好后加入 Glynk。
| name | glk-search |
| description | 在 Glynk 平台中语义搜索内容和标注,发现用户感兴趣的知识。当用户想找某个主题相关的内容、笔记或知识时使用。 |
在 Glynk 平台中搜索内容和标注,读取搜索结果的原文上下文。
前置:需要环境变量 GLYNK_TOKEN。GLYNK_API_URL 默认使用公共入口 https://brainow.link;如果手动设置,也应指向前端域名,由同域 /api 反代到后端,不要使用后端 IP 或本地端口。所有接口均需 Authorization: Bearer $GLYNK_TOKEN。
# 全部内容
curl "$GLYNK_API_URL/api/units?limit=50" \
-H "Authorization: Bearer $GLYNK_TOKEN"
# → {"contents":[{"content_id":"...","title":"...","author":"...","source_type":"...","total_chars":...}],"total":42}
# 只看导入的内容(书/论文/文章)
curl "$GLYNK_API_URL/api/units?origin=ingested&limit=50" \
-H "Authorization: Bearer $GLYNK_TOKEN"
# 只看自己写的(标注/想法)
curl "$GLYNK_API_URL/api/units?author_id=me&limit=50" \
-H "Authorization: Bearer $GLYNK_TOKEN"
curl -X POST "$GLYNK_API_URL/api/units/search" \
-H "Authorization: Bearer $GLYNK_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"text": "如何在信息不完整时做决策",
"types": ["hook", "highlight"],
"top_k": 10
}'
# → {"query_id":"qry-...","results":[
# {"id":"anc-123","type":"hook","text":"...","spans":[...],"score":0.92,"content_id":"a1b2c3d4"}
# ]}
可用 types 过滤标注类型(hook / highlight / note),content_ids 限定搜索范围。
curl -X POST "$GLYNK_API_URL/api/anchors/search" \
-H "Authorization: Bearer $GLYNK_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query":"不确定性下的决策"}'
只在当前用户的 highlight / hook / note 中搜索。
找到感兴趣的结果后,读取原文上下文:
curl "$GLYNK_API_URL/api/units/{content_id}/read?size=3000&from={span_id}" \
-H "Authorization: Bearer $GLYNK_TOKEN"
# → {"content":"<html>...</html>","from":"...","to":"...","has_more":true}
curl -X POST "$GLYNK_API_URL/api/feedback" \
-H "Authorization: Bearer $GLYNK_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query_id":"qry-...","results":[{"result_id":"anc-123","clicked_through":true}]}'
搜索结果可以生成阅读器直链,用户点击后在浏览器中定位到对应段落:
https://brainow.link/read/{content_id}?loc={span_id}