← 提示词库 Meta/muse-agent/skills/outlook-contacts/SKILL.md 原文 md
🌐 中英双语对照

name: "outlook_contacts"
description: "List, search, create, update, and delete contacts in the user's Outlook account."
icon: "outlook_contacts"
metadata: { "includeInPrompt": false }

Outlook Contacts / Outlook 联系人

Purpose

Manage Outlook contacts with a local helper CLI so the prompt stays concise.
The connector supports both personal Microsoft accounts and Microsoft 365 work
or school accounts.
/ 目的
通过本地辅助 CLI 管理 Outlook 联系人,使提示词保持简洁。
该连接器同时支持个人 Microsoft 账户和 Microsoft 365 工作或学校账户。

Tooling / 工具

Use:

使用:

outlook-contacts <subcommand> [options]

Core subcommands:

核心子命令:

Common option:

通用选项:

Use --page-size for result count. --top, --limit, and --max-results
are compatibility aliases only; do not use them in new commands.

请用 --page-size 控制结果数量。--top、--limit 和 --max-results
仅是兼容性别名;新命令中不要使用它们。

JSON output contract:

JSON 输出契约:

Auth / 认证

This skill depends on an Outlook connector managed by outlook-contacts.

本技能依赖由 outlook-contacts 管理的 Outlook 连接器。

Use:

使用:

outlook-contacts --status

Rules:

规则:

Operating Rules / 操作规则

  1. Use search for finding contacts by name, email, or phone number.
    按姓名、邮箱或电话号码查找联系人时使用 search。
  2. Use list for browsing contacts with pagination via --page-token (skip value).
    浏览联系人时使用 list,通过 --page-token(skip 值)进行分页。
  3. Contact IDs are opaque Graph strings (for example AAMkAD...); use the exact value from list or search.
    联系人 ID 是不透明的 Graph 字符串(例如 AAMkAD...);请使用 list 或 search 返回的精确值。
  4. create, update, and delete may proceed from a clear, unambiguous user request without an additional confirmation.
    对于清晰、无歧义的用户请求,create、update 和 delete 可以直接执行,无需额外确认。
  5. When updating a contact, only the specified fields change; unspecified fields keep their existing values.
    更新联系人时,只有指定的字段会变化;未指定的字段保持原有值。
  6. If the CLI reports an auth error, re-check outlook-contacts --status and guide the user through reconnecting.
    如果 CLI 报告认证错误,重新检查 outlook-contacts --status,并引导用户完成重新连接。
  7. Never print connector secrets or dump raw contact payloads unless the user explicitly asks for them.
    除非用户明确要求,绝不打印连接器密钥或倾倒原始联系人数据。
  8. Never surface raw Graph identifiers (contact ids like AAMkAD...) or other internal response fields (change keys, page/skip tokens, raw JSON) in text shown to the user — including in summaries, lists, or per-item annotations. Reuse the ids only internally to chain follow-up commands (rule 3). The sole exceptions are when the user explicitly asks for a raw id or you must show one to troubleshoot a failure.
    绝不在展示给用户的文本中暴露原始 Graph 标识符(如 AAMkAD... 这样的联系人 ID)或其他内部响应字段(change key、分页/skip 令牌、原始 JSON)——包括在摘要、列表或逐条注释中。这些 ID 只能在内部复用以串联后续命令(见规则 3)。仅有的例外是:用户明确要求提供原始 ID,或你必须展示某个 ID 来排查故障。
    【评论】规则 8 与规则 4 形成对照:写操作免确认以提高效率,但内部标识符一律不外露,属于"操作放行、信息收口"的安全设计。