apple-news

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Apple News Skill

Apple News Skill

Access personalized news and premium content through Apple's native news aggregator.
通过苹果原生新闻聚合器访问个性化新闻与付费内容。

Quick Install

快速安装

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

Setup

配置

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

First, ensure canifi-env is installed:

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

canifi-env set APPLE_ID "your_apple_id" canifi-env set APPLE_PASSWORD "your_password"
undefined
canifi-env set APPLE_ID "your_apple_id" canifi-env set APPLE_PASSWORD "your_password"
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

功能特性

  1. Personalized Feed: Get news tailored to your interests and reading history
  2. Channel Following: Follow publishers, topics, and channels for curated content
  3. Apple News+ Access: Read premium magazine and newspaper content with subscription
  4. Offline Reading: Download articles for offline access
  5. Audio Stories: Listen to audio versions of top stories
  1. 个性化信息流:获取符合你兴趣和阅读历史的新闻
  2. 频道关注:关注出版商、话题和频道,获取精选内容
  3. Apple News+ 访问权限:通过订阅阅读付费杂志和报纸内容
  4. 离线阅读:下载文章以便离线访问
  5. 音频故事:收听热门新闻的音频版本

Usage Examples

使用示例

Get Top Stories

获取头条新闻

User: "Show me today's top stories from Apple News"
Assistant: Returns top headlines and trending stories
用户:“给我展示Apple News的今日头条”
助手:返回头条新闻和热门报道

Follow Channel

关注频道

User: "Follow The Verge on Apple News"
Assistant: Adds The Verge to your followed channels
用户:“在Apple News上关注The Verge”
助手:将The Verge添加到你的关注频道列表

Search Articles

搜索文章

User: "Search Apple News for articles about electric vehicles"
Assistant: Returns relevant articles from subscribed and suggested sources
用户:“在Apple News上搜索关于电动汽车的文章”
助手:返回来自订阅源和推荐源的相关文章

Browse Magazine

浏览杂志

User: "Show me the latest issue of Wired magazine"
Assistant: Opens current Wired issue (requires News+ subscription)
用户:“给我展示《Wired》杂志的最新一期”
助手:打开《Wired》当前期内容(需要News+订阅)

Authentication Flow

认证流程

  1. Apple News requires Apple ID authentication
  2. Uses macOS/iOS native authentication
  3. News+ requires active subscription
  4. Family Sharing supported for subscriptions
  1. Apple News需要Apple ID认证
  2. 使用macOS/iOS原生认证方式
  3. News+需要有效订阅
  4. 支持家庭共享订阅

Error Handling

错误处理

ErrorCauseSolution
Auth FailedInvalid Apple IDVerify Apple ID credentials
Subscription RequiredNews+ content accessedSubscribe to Apple News+
Region UnavailableService not availableUse supported region
Content Not FoundArticle removedCheck source website
错误原因解决方案
认证失败Apple ID无效验证Apple ID凭据
需要订阅访问了News+付费内容订阅Apple News+
区域不可用服务在当前区域未提供使用支持该服务的区域
内容未找到文章已被移除查看源网站

Notes

注意事项

  • Only available on Apple platforms (macOS, iOS, iPadOS)
  • News+ includes magazines and newspapers
  • No third-party API available
  • Uses system-level Apple ID authentication
  • Local Spotlight integration for search
  • Privacy-focused with on-device personalization
  • 仅适用于苹果平台(macOS、iOS、iPadOS)
  • News+包含杂志和报纸内容
  • 无第三方API可用
  • 使用系统级Apple ID认证
  • 集成本地Spotlight搜索
  • 注重隐私,在设备端完成个性化处理