outlook-search-via-composio
How to search the user's Outlook mailbox effectively using Composio's OUTLOOK_* tools, including query planning and result ranking
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
How to search the user's Outlook mailbox effectively using Composio's OUTLOOK_* tools, including query planning and result ranking
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when the user wants to build a Google ADK agent — scaffolding a new agent, adding tools/skills/prompts to one, or asking how to structure an ADK project. Triggers on phrases like "create an ADK agent", "build a Google agent", "scaffold an agent", "make an agent that does X", "I need an ADK skeleton", or any task involving generated-agents/, LlmAgent, SkillToolset, or the ADK framework. Also use whenever the user mentions `nuvel`, the `nuvel` CLI, or asks about agent architecture patterns / callbacks / HITL / streaming / ADK prompt engineering — nuvel ships the canonical knowledge skills for those topics. Lean toward triggering — if the task touches Google ADK at all, this skill is in scope.
Delegate work to sub-agents with the ADK 2.0 Task API — `mode='task'`, `mode='single_turn'`, `mode='chat'` on `LlmAgent`, the auto-attached `finish_task` tool, and typed contracts via `input_schema` / `output_schema`. Load this skill when one agent needs to hand a bounded unit of work to another and get a validated result back, or when migrating off SequentialAgent / ParallelAgent / LoopAgent.
Creating valid SKILL.md files following the agentskills.io specification — frontmatter, instructions, references directory, progressive disclosure (L1/L2/L3), and SkillToolset wiring in agent.py. Load this skill when generating domain skills for an agent.
Build graph-based agents with ADK 2.0 `Workflow` — declare nodes and edges, route conditionally, fan-out/fan-in in parallel, run dynamic nodes at runtime, and add human-in-the-loop revision cycles. Load this skill whenever the agent needs anything beyond a strictly linear or trivially parallel pipeline.
Agent architecture patterns for Google ADK 2.0 — when to reach for a single LlmAgent, a Workflow graph (new default for multi-step orchestration), or the shortcut classes SequentialAgent / LoopAgent / ParallelAgent. Load this skill when deciding the agent's top-level shape.
Pattern for turning a brief into a coherent deck outline — intent detection, section ratios, draft headings, expansion
| name | outlook-search-via-composio |
| description | How to search the user's Outlook mailbox effectively using Composio's OUTLOOK_* tools, including query planning and result ranking |
| when_to_use | The user asks to find, look up, retrieve, or summarize a past email, attachment, or thread. Anything that isn't the currently-open compose or selected message. |
The agent does not call Microsoft Graph directly. The full mailbox is reachable through Composio's hosted MCP server, which exposes Outlook as a family of tools prefixed OUTLOOK_* (exact names vary by Composio version — discover them in the toolset, don't hardcode).
Every search request follows the same shape:
plan_email_search("<user's phrase>"). Returns structured filters: from_addresses, keywords, has_attachments, after_iso, before_iso.OUTLOOK_LIST_MESSAGES (or whichever the toolset names it).$search parameter where available.OUTLOOK_GET_CONVERSATION / OUTLOOK_GET_MESSAGE.isDraft eq true.rank_search_hits. Recent + frequent-sender hits float to the top.after_iso), then drop keywords one at a time, then try $search instead of exact filters. Tell the user what you widened.plan_email_search returns from_addresses=[] but the user named someone ("emails from Anna"), search by display name in $search instead of as a from-filter.When you reply to the user with results, return:
[date] sender — subject (one-line snippet)Do not paste full email bodies unless the user asked to read one specifically.