Airweave

From lxyeternal/MalSkillBench · View interactive version

Airweave is an AI agent skill from the GitHub repository lxyeternal/MalSkillBench. Context retrieval layer for AI agents across users' applications. Search and retrieve context from Airweave collections. Airweave indexes and syncs data from user applications to enable optimal context retrieval by AI agents. Supports semantic, keyword, and agentic search. Use when users ask about t

How to use this skill

Skill file

Airweave Search

Search and retrieve context from Airweave collections using the search script at {baseDir}/scripts/search.py.

When to Search

Search when the user:

Don't search when:

Query Formulation

Turn user intent into effective search queries:

| User Says | Search Query |

|-----------|--------------|

| "What did Sarah say about the launch?" | "Sarah product launch" |

| "Find the API documentation" | "API documentation" |

| "Any bugs reported this week?" | "bug report issues" |

| "What's our refund policy?" | "refund policy customer" |

Tips:

Running a Search

Execute the search script:

python3 {baseDir}/scripts/search.py "your search query"

Optional parameters:

Examples:

# Basic search
python3 {baseDir}/scripts/search.py "customer feedback pricing"

# Recent conversations
python3 {baseDir}/scripts/search.py "product launch updates" --temporal 0.8

# Find specific document
python3 {baseDir}/scripts/search.py "API authentication docs" --strategy keyword

# Get raw results for exploration
python3 {baseDir}/scripts/search.py "project status" --limit 30 --raw

# Broad search with query expansion
python3 {baseDir}/scripts/search.py "onboarding" --expand

Handling Results

Interpreting scores:

Presenting to users:

  1. Lead with the answer — don't start with "I found 5 results"
  2. Cite sources — mention where info came from ("According to your Slack conversation...")
  3. Synthesize — combine relevant parts into a coherent response
  4. Acknowledge gaps — if results don't fully answer, say so

Handling No Results

If search returns nothing useful:

  1. Broaden the query — remove specific terms
  2. Try different phrasing — use synonyms
  3. Increase limit — fetch more results
  4. Ask for clarification — user might have more context

Parameter Reference

See PARAMETERS.md for detailed parameter guidance.

Examples

See EXAMPLES.md for complete search scenarios.

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.