.cursor/skills/senso-search/SKILL.md
Search a Senso knowledge base for verified answers, context chunks, or content IDs. Use when the user asks a question that should be grounded in organizational knowledge, says "check Senso", or needs factual answers backed by verified documents.
npx skillsauth add kvn8888/MultiModalAgentsHackathon senso-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Search your organization's Senso knowledge base to ground responses in verified content. The Senso CLI provides three search variants — pick the right one for the task.
The senso CLI must be installed and authenticated:
npm install -g @senso-ai/cli
export SENSO_API_KEY=<your-key>
Verify with senso whoami --output json --quiet.
Every senso command must include --output json --quiet so output is machine-readable and free of banners.
Use this when the user asks a question and wants a direct answer grounded in their knowledge base.
senso search "<query>" --output json --quiet
Returns:
answer — AI-generated answer synthesized from matching chunksresults[] — array of source chunks, each with:
content_id — UUID of the source documenttitle — document titlechunk_text — the relevant excerptscore — relevance score (0–1, higher is better)version_id — specific version matchedchunk_index — position within the documentWhen to use: The user wants a ready-made answer. This is the default choice.
Use this when you need raw verified chunks to build your own response, or when feeding context into another LLM.
senso search context "<query>" --output json --quiet
Returns the same results[] array as full search, but without the answer field.
When to use: You want to assemble your own response from verified sources, or the user is building a RAG pipeline.
Use this to discover which documents are relevant before fetching their full content.
senso search content "<query>" --output json --quiet
Returns deduplicated content IDs and titles — no chunks, no answer.
When to use: The user wants to know which documents exist on a topic, or you need IDs to pass to other commands like senso content get <id>.
All three variants accept the same options:
| Flag | Description |
|------|-------------|
| --max-results <n> | Number of results to return (1–20, default: 5) |
| --content-ids <id1> <id2> ... | Restrict search to specific content item UUIDs |
| --require-scoped-ids | Only return results from the specified --content-ids (without this flag, the API may fall back to all content) |
If the user says "search only in document X" or you already know the relevant content IDs:
senso search "query" --content-ids abc-123 def-456 --require-scoped-ids --output json --quiet
When presenting search results to the user:
senso content get <content_id> --output json --quietAfter identifying relevant documents via search, you can fetch the full content:
senso content get <content_id> --output json --quiet
This returns the complete content item including all versions, metadata, and publish status.
| HTTP Status | Meaning | Action |
|-------------|---------|--------|
| 401 | Invalid or missing API key | Check SENSO_API_KEY is set correctly |
| 402 | Insufficient credits | Tell the user their credit balance is low — check with senso credits --output json --quiet |
| 403 | API key lacks search permission | The key may be scoped — ask the user to check key permissions |
There is also a full alias that behaves identically to the default search:
senso search full "<query>" --output json --quiet
documentation
Upload files or raw text into a Senso knowledge base. Handles file upload via presigned URLs, raw text/markdown creation, folder targeting, and processing status polling. Use when the user wants to add documents, files, or text content to their Senso KB.
development
the best framework to build agent for claude code.
development
PermitPulse project skill — the living source of truth for this repository. Read this skill at the start of every new session to understand the project, its architecture, tech stack, APIs, file layout, and current feature status. Update this skill whenever features are added, changed, or removed so future LLM sessions never need to re-learn the codebase from scratch.
tools
Add, configure, and integrate assistant-ui components in React apps. Use when developers ask to add a chat thread, set up a runtime, integrate with AI SDK, configure tools, or build AI chat interfaces with assistant-ui.