microsoft-copilot

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Microsoft Copilot Skill

Microsoft Copilot Skill

Overview

概述

Claude can interact with Microsoft Copilot at copilot.microsoft.com for AI-powered assistance, web search, content generation, and getting alternative perspectives. Copilot combines GPT-4 with Bing search for up-to-date information.
Claude可以通过copilot.microsoft.com与Microsoft Copilot交互,获取基于AI的辅助、网页搜索、内容生成服务,以及不同的观点视角。Copilot结合了GPT-4与Bing搜索功能,可提供实时资讯。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/microsoft-copilot/install.sh | bash
Or manually:
bash
cp -r skills/microsoft-copilot ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/microsoft-copilot/install.sh | bash
或者手动安装:
bash
cp -r skills/microsoft-copilot ~/.canifi/skills/

Setup

设置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set MICROSOFT_EMAIL "your-email@outlook.com"
undefined
canifi-env set MICROSOFT_EMAIL "your-email@outlook.com"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭证,由你掌控。 Canifi LifeOS尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭证:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,且全程不会获取到你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭证,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭证仅能在你的本地设备访问,绝不会被传输至外部。

Capabilities

功能特性

  • Ask questions with real-time web search
  • Generate creative content
  • Analyze images
  • Create images (DALL-E)
  • Summarize web pages
  • Code assistance
  • Get research help
  • Compare information
  • Translate content
  • Brainstorm ideas
  • Explain complex topics
  • Cross-reference with Claude's responses
  • 结合实时网页搜索提问
  • 生成创意内容
  • 图片分析
  • 生成图片(DALL-E)
  • 网页内容摘要
  • 代码辅助
  • 研究协助
  • 信息对比
  • 内容翻译
  • 头脑风暴
  • 复杂主题讲解
  • 与Claude的回复进行交叉参考

Usage Examples

使用示例

Example 1: Real-Time Search

示例1:实时搜索

User: "Ask Copilot about today's tech news"
Claude: Opens Copilot, asks about current tech news.
        Returns: "Copilot reports: Major announcements include
        [AI developments], [product launches]..."
用户:“让Copilot查询今日科技新闻”
Claude:打开Copilot,询问当前科技新闻。
        返回结果:“Copilot报道:重大公告包括
        [AI技术进展]、[产品发布]...”

Example 2: Generate Content

示例2:内容生成

User: "Have Copilot write a marketing tagline for our product"
Claude: Requests creative tagline from Copilot.
        Returns: "Copilot suggests: [several tagline options]"
用户:“让Copilot为我们的产品撰写营销标语”
Claude:向Copilot请求创意标语。
        返回结果:“Copilot建议:[多个标语选项]”

Example 3: Create Image

示例3:图片生成

User: "Ask Copilot to generate a hero image for our landing page"
Claude: Requests image generation with description.
        Returns generated image or link to it.
用户:“让Copilot为我们的着陆页生成一张主视觉图”
Claude:提交带描述的图片生成请求。
        返回生成的图片或图片链接。

Example 4: Research Comparison

示例4:研究对比

User: "Get Copilot's perspective on this technical approach"
Claude: Asks Copilot about the approach.
        Returns: "Copilot's analysis differs in [areas],
        agrees on [other areas]..."
用户:“获取Copilot对该技术方案的看法”
Claude:向Copilot询问该方案相关问题。
        返回结果:“Copilot的分析在[某些方面]与Claude不同,
        在[其他方面]达成共识...”

Authentication Flow

认证流程

  1. Claude navigates to copilot.microsoft.com via Playwright MCP
  2. Authenticates with MICROSOFT_EMAIL if needed
  3. Handles 2FA if prompted (notifies user via iMessage)
  4. Maintains session for Copilot operations
  1. Claude通过Playwright MCP导航至copilot.microsoft.com
  2. 若需要,使用MICROSOFT_EMAIL进行认证
  3. 若触发双因素认证(2FA),将通过iMessage通知用户
  4. 维持会话以进行Copilot操作

Copilot Workflow

Copilot工作流程

1. Navigate to copilot.microsoft.com
2. Select conversation style if needed (Creative, Balanced, Precise)
3. Enter prompt in chat input
4. Wait for response
5. Extract and return relevant information
6. Continue conversation if needed
1. 导航至copilot.microsoft.com
2. 如有需要,选择对话风格(创意、平衡、精确)
3. 在聊天输入框中输入提示词
4. 等待回复
5. 提取并返回相关信息
6. 如有需要,继续对话

Selectors Reference

选择器参考

javascript
// Chat input
'#searchbox' or '[aria-label="Ask me anything"]'

// Submit button
'[aria-label="Submit"]'

// Response container
'.response-message'

// Conversation style
'.tone-selector'

// Creative mode
'[aria-label="More Creative"]'

// Precise mode
'[aria-label="More Precise"]'

// New chat
'[aria-label="New topic"]'

// Image generation
'.generated-image'

// Sources
'.source-links'
javascript
// 聊天输入框
'#searchbox' or '[aria-label="Ask me anything"]'

// 提交按钮
'[aria-label="Submit"]'

// 回复容器
'.response-message'

// 对话风格选择器
'.tone-selector'

// 创意模式
'[aria-label="More Creative"]'

// 精确模式
'[aria-label="More Precise"]'

// 新话题
'[aria-label="New topic"]'

// 图片生成结果
'.generated-image'

// 来源链接
'.source-links'

Conversation Styles

对话风格

Creative: More imaginative, less constrained
Balanced: Mix of creativity and accuracy
Precise: More factual, focused on accuracy
创意:更具想象力,限制较少
平衡:创意与准确性兼具
精确:更注重事实,聚焦准确性

Error Handling

错误处理

  • Login Failed: Retry 3 times, notify user via iMessage
  • Session Expired: Re-authenticate automatically
  • Query Failed: Retry, rephrase if content policy issue
  • Response Timeout: Wait longer, retry
  • Image Generation Failed: Retry with modified prompt
  • Rate Limited: Wait and retry with backoff
  • 登录失败:重试3次,通过iMessage通知用户
  • 会话过期:自动重新认证
  • 查询失败:重试,若涉及内容政策问题则重新表述提示词
  • 回复超时:延长等待时间后重试
  • 图片生成失败:修改提示词后重试
  • 速率限制:等待后重试,并使用退避策略

When to Use Copilot vs Claude

何时使用Copilot vs Claude

Use Copilot for:
- Real-time web search and news
- Image generation (DALL-E)
- Microsoft ecosystem integration
- Alternative AI perspective
- Bing search results

Stay with Claude for:
- Complex reasoning tasks
- Long-form content
- Code development
- LifeOS integrations
- Most general tasks
使用Copilot的场景:
- 实时网页搜索与新闻资讯
- 图片生成(DALL-E)
- Microsoft生态系统集成
- 其他AI助手的不同视角
- Bing搜索结果

优先使用Claude的场景:
- 复杂推理任务
- 长篇内容创作
- 代码开发
- LifeOS集成
- 大多数通用任务

Self-Improvement Instructions

自我优化说明

When you learn a better way to use Microsoft Copilot:
  1. Document the improvement in your response
  2. Suggest updating this skill file with the new approach
  3. Include specific prompt formulations that work better
  4. Note feature differences from other AI assistants
当你掌握了使用Microsoft Copilot的更佳方法时:
  1. 在回复中记录该优化点
  2. 建议使用新方法更新本Skill文件
  3. 附上效果更好的具体提示词表述方式
  4. 记录与其他AI助手的功能差异

Notes

注意事项

  • Copilot powered by GPT-4 and Bing
  • Responses include source citations
  • Image generation via DALL-E 3
  • Conversation history maintained in session
  • Plugins available for extended functionality
  • Pro version offers more features
  • Edge browser has integrated Copilot
  • Works with Microsoft 365 apps (M365 Copilot)
  • Copilot由GPT-4和Bing提供支持
  • 回复内容包含来源引用
  • 图片生成基于DALL-E 3
  • 会话中会保留对话历史
  • 可通过插件扩展功能
  • 专业版提供更多特性
  • Edge浏览器内置Copilot功能
  • 可与Microsoft 365应用配合使用(M365 Copilot)