Search

From hvkshetry/StewardOS · View interactive version

Search is an AI agent skill from the GitHub repository hvkshetry/StewardOS. Search across all connected household sources in one query. Use when the user asks to search, find, or locate information across multiple sources (email, documents, budget, inventory, estate records, recipes, pantry). Decomposes queries, runs parallel searches, ranks and deduplicates results.

How to use this skill

Skill file

Search Command

Search across all connected MCP sources in a single query. Decompose the user's question, run parallel searches, and synthesize results.

Instructions

1. Check Available Sources

Before searching, determine which MCP sources are available from the tool list. Household sources:

If no MCP sources are connected:

To search across your tools, you'll need to connect at least one source.
Check your MCP settings to add google-workspace, paperless, actual-budget, or other tools.

2. Parse the User's Query

Analyze the search query to understand:

3. Decompose into Sub-Queries

For each available source, create a targeted sub-query:

Google Workspace (email):

Paperless (documents):

Memos (notes):

Actual Budget (finances):

Homebox (inventory):

Estate Planning (entities/assets):

Mealie (recipes):

Grocy (pantry):

4. Execute Searches in Parallel

Run all sub-queries simultaneously across available sources. Do not wait for one source before searching another.

For each source:

5. Rank and Deduplicate Results

Deduplication:

Ranking factors:

6. Present Unified Results

Format the response as a synthesized answer, not a raw list of results:

For factual/document queries:

[Direct answer to the question]

Sources:
- [Source 1: brief description] (paperless, document type, date)
- [Source 2: brief description] (google-workspace, email from person, date)
- [Source 3: brief description] (estate-planning, entity/asset record)

For exploratory queries ("what do we know about X"):

[Synthesized summary combining information from all sources]

Found across:
- Paperless: X relevant documents
- Google Workspace: X relevant emails
- Estate Planning: X related entities/assets
- [Other sources as applicable]

Key sources:
- [Most important source with reference]
- [Second most important source]

For "find" queries (looking for a specific thing):

[The thing they're looking for, with direct reference]

Also found:
- [Related items from other sources]

7. Handle Edge Cases

Ambiguous queries:

If the query could mean multiple things, ask one clarifying question before searching:

"the renovation" could refer to a few things. Are you looking for:
1. The Maple Street property renovation (active project)
2. The bathroom renovation completed last year
3. Something else?

No results:

I couldn't find anything matching "[query]" across [list of sources searched].

Try:
- Broader terms (e.g., "property" instead of "123 Maple St")
- Different time range (currently searching [time range])
- Checking if the relevant source is connected (currently searching: [sources])

Partial results (some sources failed):

[Results from successful sources]

Note: I couldn't reach [failed source(s)] during this search.
Results above are from [successful sources] only.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.