Edith Senso Knowledge
/install edith-senso-knowledge
Senso Knowledge Search
Search your knowledge base through Senso.ai when users ask document or knowledge questions via Edith smart glasses.
When to use
Activate this skill when the user asks questions that imply searching documents, policies, knowledge bases, or stored information. Examples:
- "What does the policy say about..."
- "Search my docs for..."
- "Find information about..."
- "What's in my knowledge base about..."
- "Look up..." (when referring to documents, not web search)
- "What did that document say about..."
- "Summarize the section on..."
Do NOT use this skill for general knowledge questions, web searches, weather, math, or anything that doesn't involve the user's own ingested documents.
Setup
The user must have a Senso.ai API key. If they haven't configured one yet, tell them:
- Sign up at https://senso.ai and create a project
- Go to Settings > API Keys and generate a new key
- Tell OpenClaw: "My Senso API key is sk-..." and store it for future use
The API key should be stored in OpenClaw's memory/config as SENSO_API_KEY.
How to search
Use the exec tool to call the Senso.ai search endpoint:
curl -s -X POST "https://sdk.senso.ai/api/v1/search" \
-H "Content-Type: application/json" \
-H "X-API-Key: ${SENSO_API_KEY}" \
-d '{"query": "\x3Cuser's question>", "top_k": 5}'
The response is JSON with an array of results, each containing relevant text passages and metadata.
Formatting results for Edith voice output
Edith speaks responses through smart glasses speakers. Follow these rules strictly:
- Be concise. Glasses users cannot read long text. Summarize the top 1-2 results into 1-3 short sentences.
- Lead with the answer. Start with the most relevant finding, not "I found 5 results..."
- No markdown, no bullet points, no URLs. The response is spoken aloud.
- Use natural speech patterns. Say "According to your documents..." or "Your policy states that..." rather than listing metadata.
- If no results match, say "I didn't find anything about that in your documents." Don't speculate or hallucinate content.
- If the API call fails, say "I couldn't reach your knowledge base right now. Please check your Senso API key."
Example
User: "Hey Edith, what does the return policy say about electronics?"
Good response: "Your return policy says electronics can be returned within 30 days with the original receipt. After 30 days, only store credit is offered."
Bad response: "I found 3 results in your knowledge base. Result 1: Section 4.2 of return-policy.pdf states that electronic items purchased from authorized retailers may be returned within a period of thirty calendar days from the date of purchase, provided that..."
Generating answers from search results
If the search results contain relevant passages but need synthesis, you can optionally use the generate endpoint to produce a grounded answer:
curl -s -X POST "https://sdk.senso.ai/api/v1/generate" \
-H "Content-Type: application/json" \
-H "X-API-Key: ${SENSO_API_KEY}" \
-d '{"query": "\x3Cuser question>", "context": "\x3Cconcatenated search result passages>"}'
Only use this when search results need summarization across multiple passages. For simple lookups where a single passage answers the question, just summarize the passage directly.
Error handling
- Missing API key: "You haven't set up your Senso knowledge base yet. You'll need a Senso API key. Visit senso.ai to get one, then tell me the key."
- 401 Unauthorized: "Your Senso API key seems invalid. Please check it and try again."
- Empty results: "I didn't find anything about that in your documents."
- Network/timeout error: "I couldn't reach your knowledge base right now. Try again in a moment."
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install edith-senso-knowledge - 安装完成后,直接呼叫该 Skill 的名称或使用
/edith-senso-knowledge触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Edith Senso Knowledge 是什么?
Search your Senso.ai knowledge base hands-free through Edith smart glasses. Triggers on knowledge/document queries. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 103 次。
如何安装 Edith Senso Knowledge?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install edith-senso-knowledge」即可一键安装,无需额外配置。
Edith Senso Knowledge 是免费的吗?
是的,Edith Senso Knowledge 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Edith Senso Knowledge 支持哪些平台?
Edith Senso Knowledge 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Edith Senso Knowledge?
由 samdickson22(@samdickson22)开发并维护,当前版本 v1.0.0。