airweave

A search layer for retrieving information from connected applications. Airweave indexes and syncs that information so an AI agent can search it by meaning, keywords, or a guided search process.

In plain words
What is it for?
Use it when answering questions about connected app data, such as finding workspace policies, conversations, documents, records, or recent issues.
Why use it?
It lets the agent find relevant documents, messages, issues, and records without relying only on the conversation or manually checking each application.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/craftos-dev/craftbot/airweave
Any agent
npx skills add CraftOS-dev/CraftBot --skill airweave
Clone the repo
git clone --depth 1 https://github.com/CraftOS-dev/CraftBot

Made for: Claude Code, Codex.

Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00125 $0.01012
Opus 5 $0.00063 $0.00506
Sonnet 5 $0.00025 $0.00202
Haiku 4.5 $0.00013 $0.00101

Measured 3d ago against content hash e253d815d779, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

airweave scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/airweave/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Search when the user:

  • Asks about data in their connected apps ("What did we discuss in Slack about...")
  • Needs to find documents, messages, issues, or records
  • Asks factual questions about their workspace ("Who is responsible for...", "What's our policy on...")
  • References specific tools by name ("in Notion", "on GitHub", "in Jira")
  • Needs recent information you don't have in your training
  • Needs you to check app data for context ("check our Notion docs", "look at the Jira ticket")

Don't search when:

  • User asks general knowledge questions (use your training)
  • User already provided all needed context in the conversation
  • The question is about Airweave itself, not data within it

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:

  • Use natural language — Airweave uses semantic search
  • Include context — "pricing feedback" beats just "pricing"
  • Be specific but not too narrow
  • Skip filler words like "please find", "can you search for"

Execute the search script:

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

Optional parameters:

  • --limit N — Max results (default: 20)
  • --temporal N — Temporal relevance 0-1 (default: 0, use 0.7+ for "recent", "latest")
  • --strategy TYPE — Retrieval strategy: hybrid, semantic, keyword (default: hybrid)
  • --raw — Return raw results instead of AI-generated answer
  • --expand — Enable query expansion for broader results
  • --rerank / --no-rerank — Toggle LLM reranking (default: on)

Examples:

Read the full file on GitHub · 107 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 107 lines · 125 tokens per session scan A e253d815d779

Subscribe to this mod's changes

airweave is a skill published in the GitHub repository CraftOS-dev/CraftBot (376 stars, last pushed 3d ago), licensed MIT. It adds 125 tokens to every session and 1,012 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories