Token导航 LogoToken导航

Agent Skill · 待分类

axiom-eventkit-ref(Axiom 事件包参考)

axiom-eventkit-ref 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

axiom-eventkit-ref 是待分类类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在待分类类的 11,209 个 Skill 里排第 5,000。

总安装 635周安装 27GitHub Stars 873下载 222核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:axiom-eventkit-ref(Axiom 事件包参考)
来源仓库:https://github.com/charleswiltgen/axiom
仓库路径:skills/axiom-eventkit-ref
安装命令:
npx skills add https://github.com/charleswiltgen/axiom --skill axiom-eventkit-ref
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/charleswiltgen/axiom --skill axiom-eventkit-ref

这个 Skill 是做什么的

这个 Skill 的分类还没最终确定,用法以来源仓库的说明为准。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。

提供 EventKit 和 EventKitUI 的完整 API 参考,覆盖 EKEventStore、EKCalendar、EKReminder 等核心类的使用方法。通过 GitHub 仓库安装,使用 npx skills add 命令添加指定技能,需结合原始 README 进一步确认具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。axiom-eventkit-ref 属于待分类类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/axiom-eventkit-ref

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/charleswiltgen/axiom --skill axiom-eventkit-re…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

axiom-eventkit-ref 怎么安装?

在终端执行 npx skills add https://github.com/charleswiltgen/axiom --skill axiom-eventkit-ref。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

axiom-eventkit-ref 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

axiom-eventkit-ref 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

axiom-eventkit-ref 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

axiom-eventkit-ref 用的人多吗?

公开数据是累计安装 635 次,近一周安装 27 次,下载 222 次,GitHub 873 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

axiom-eventkit-ref 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理待分类类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

待分类类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
infsh-cli

infsh CLI · Codex、Claude

4,374,576382权限未标注未明确未收录
ai-video-generation

AI 视频生成 · Codex、Claude

4,313,376382调用外部服务未明确有提醒
lark-openapi-explorer

云雀 OpenAPI 浏览器 · Codex、Claude

2,064,1209,011需要联网未明确有提醒
lark-workflow-standup-report

Lark 工作流程站立报告 · Codex、Claude

2,041,6328,978需要联网未明确通过
use-my-browser

使用我的浏览器 · Codex、Claude

1,848,49140操作浏览器未明确未通过
axiom-eventkit-ref

Axiom 事件包参考 · 本页

635873需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

EventKit API Reference

Overview

EventKit provides programmatic access to the Calendar and Reminders databases. EventKitUI provides system view controllers for calendar UI. This reference covers the complete API surface for both frameworks.

For access tier decision tree and best practices, see the eventkit discipline skill.

Platform: iOS 4.0+, iPadOS 4.0+, macOS 10.8+, Mac Catalyst 13.1+, watchOS 2.0+, visionOS 1.0+


Part 1: EKEventStore

The central hub for all calendar and reminder operations. Create one per app and reuse it.

Initialization

let store = EKEventStore()           // Standard
let store = EKEventStore(sources: [source])  // Scoped to specific sources

Authorization (iOS 17+)

// Events
try await store.requestWriteOnlyAccessToEvents()  // Returns Bool
try await store.requestFullAccessToEvents()         // Returns Bool

// Reminders (full access only)
try await store.requestFullAccessToReminders()      // Returns Bool

// Check status
let status = EKEventStore.authorizationStatus(for: .event)  // Static method
// Returns: .notDetermined, .restricted, .denied, .fullAccess, .writeOnly
// Deprecated: .authorized (maps to .fullAccess conceptually)

Info.plist Keys

KeyWhen Required
NSCalendarsWriteOnlyAccessUsageDescriptionWrite-only access, iOS 17+
NSCalendarsFullAccessUsageDescriptionFull event access, iOS 17+
NSRemindersFullAccessUsageDescriptionReminder access, iOS 17+
NSCalendarsUsageDescriptionCalendar access, iOS 10-16 (keep for backward compat)
NSRemindersUsageDescriptionReminder access, iOS 10-16 (keep for backward compat)
NSContactsUsageDescriptionRequired if using EventKitUI on iOS <17

Missing key on iOS 17+: Silent denial (no prompt, no error, no crash). Missing key on iOS 10-16: Crash.

Calendar & Source Access

store.calendars(for: .event)              // [EKCalendar] — all event calendars
store.calendars(for: .reminder)           // [EKCalendar] — all reminder calendars
store.calendar(withIdentifier: id)        // EKCalendar?
store.defaultCalendarForNewEvents         // EKCalendar? — user's default
store.defaultCalendarForNewReminders()    // EKCalendar?
store.sources                             // [EKSource] — all accounts
store.delegateSources                     // [EKSource] — delegate accounts

Calendar Management

try store.saveCalendar(calendar, commit: true)
try store.removeCalendar(calendar, commit: true)

Event Operations

// Fetch by identifier
store.event(withIdentifier: id)           // EKEvent? — first occurrence for recurring
store.calendarItem(withIdentifier: id)    // EKCalendarItem? — event or reminder
store.calendarItems(withExternalIdentifier: extId)  // [EKCalendarItem]

// Save and remove
try store.save(event, span: .thisEvent, commit: true)
try store.remove(event, span: .thisEvent, commit: true)
// span: .thisEvent | .futureEvents (controls recurring event behavior)

Event Fetching (Synchronous — run on background thread)

let predicate = store.predicateForEvents(
    withStart: startDate, end: endDate, calendars: nil  // nil = all calendars
)
let events = store.events(matching: predicate)
// Results are NOT sorted — sort manually:
let sorted = events.sorted { $0.compareStartDate(with: $1) == .orderedAscending }

Only Apple-provided predicates work. Custom NSPredicate instances are rejected.

Reminder Fetching (Asynchronous)

// Predicates
store.predicateForReminders(in: calendars)  // nil = all
store.predicateForIncompleteReminders(
    withDueDateStarting: start, ending: end, calendars: nil
)
store.predicateForCompletedReminders(
    withCompletionDateStarting: start, ending: end, calendars: nil
)

// Fetch (async callback)
let fetchId = store.fetchReminders(matching: predicate) { reminders in
    // reminders: [EKReminder]?
}
store.cancelFetchRequest(fetchId)  // Cancel if needed

Batch Operations

try store.save(event1, span: .thisEvent, commit: false)
try store.save(event2, span: .thisEvent, commit: false)
try store.commit()    // Atomic commit
store.reset()         // Rollback on failure

Change Notifications

NotificationCenter.default.addObserver(
    self, selector: #selector(storeChanged),
    name: .EKEventStoreChanged, object: store
)
// Posted when external processes modify the calendar database
// Call event.refresh() on cached objects — returns false if deleted

Part 2: EKEvent

Represents a calendar event. Inherits from EKCalendarItem.

Creation

let event = EKEvent(eventStore: store)

Key Properties

PropertyTypeNotes
titleStringRequired for save
startDateDateRequired for save
endDateDateRequired for save
calendarEKCalendarRequired for direct save (not EventKitUI)
isAllDayBool
timeZoneTimeZone?Defaults to system time zone
locationString?Full address enables Maps features
structuredLocationEKStructuredLocation?Geo-precise location
notesString?
urlURL?
eventIdentifierStringStable across fetches
statusEKEventStatus.none, .confirmed, .tentative, .canceled
availabilityEKEventAvailability.notSupported (default), .busy, .free, .tentative, .unavailable
occurrenceDateDateFor recurring event instances
isDetachedBoolTrue if modified from recurring series
organizerEKParticipant?Read-only
birthdayContactIdentifierString?For birthday calendar events

Inherited from EKCalendarItem

PropertyTypeNotes
calendarItemIdentifierStringUnique identifier
calendarItemExternalIdentifierStringExternal (sync) identifier
creationDateDate?
lastModifiedDateDate?
alarms[EKAlarm]?
recurrenceRules[EKRecurrenceRule]?
hasAlarmsBool
hasRecurrenceRulesBool
attendees[EKParticipant]?Read-only

Methods

event.compareStartDate(with: otherEvent)  // ComparisonResult
event.refresh()                            // Bool — false if deleted

Part 3: EKReminder

Represents a reminder. Inherits from EKCalendarItem.

Creation

let reminder = EKReminder(eventStore: store)
reminder.title = "Review PR"
reminder.calendar = store.defaultCalendarForNewReminders()  // Required

Key Properties

PropertyTypeNotes
startDateComponentsDateComponents?Task start
dueDateComponentsDateComponents?Due date — use DateComponents, NOT Date
isCompletedBoolSetting true auto-populates completionDate
completionDateDate?Auto-set when isCompleted = true
priorityIntUse EKReminderPriority raw values

EKReminderPriority

CaseRaw Value
.none0
.high1
.medium5
.low9

Save/Remove

try store.save(reminder, commit: true)
try store.remove(reminder, commit: true)
// No span parameter — reminders don't have recurring instances like events

Part 4: EKAlarm

Notification alarm for events or reminders.

// Time-based
let absoluteAlarm = EKAlarm(absoluteDate: date)       // Specific date/time
let relativeAlarm = EKAlarm(relativeOffset: -3600)    // 1 hour before (seconds)

// Location-based (EKAlarm.proximity available since iOS 6.0+)
let location = EKStructuredLocation(title: "Office")
location.geoLocation = CLLocation(latitude: 37.33, longitude: -122.03)
location.radius = 500  // meters

let locationAlarm = EKAlarm()
locationAlarm.structuredLocation = location
locationAlarm.proximity = .enter  // .enter or .leave

reminder.addAlarm(locationAlarm)

Part 5: EKRecurrenceRule

let rule = EKRecurrenceRule(
    recurrenceWith: .weekly,                    // .daily, .weekly, .monthly, .yearly
    interval: 1,                                 // Every 1 week
    daysOfTheWeek: [EKRecurrenceDayOfWeek(.monday), EKRecurrenceDayOfWeek(.wednesday)],
    daysOfTheMonth: nil,
    monthsOfTheYear: nil,
    weeksOfTheYear: nil,
    daysOfTheYear: nil,
    setPositions: nil,
    end: EKRecurrenceEnd(occurrenceCount: 10)   // or EKRecurrenceEnd(end: Date)
)
event.addRecurrenceRule(rule)

Part 6: EKCalendar and EKSource

EKCalendar Properties

PropertyTypeNotes
titleString
colorUIColor / cgColor: CGColor
typeEKCalendarType.local, .calDAV, .exchange, .subscription, .birthday
allowsContentModificationsBoolCan write to this calendar?
isImmutableBoolSystem calendar (birthday, holidays)
sourceEKSourceParent account

EKSource Properties

PropertyType
titleString
sourceTypeEKSourceType — .local, .exchange, .calDAV, .mobileMe, .subscribed, .birthdays
sourceIdentifierString

Part 7: EventKitUI View Controllers

EKEventEditViewController

Create/edit events. No permission required on iOS 17+ (renders out-of-process).

Inherits from: UINavigationController (NOT UIViewController)

let editVC = EKEventEditViewController()
editVC.event = event          // nil = new event
editVC.eventStore = store     // Required
editVC.editViewDelegate = self
present(editVC, animated: true)

EKEventEditViewDelegate

func eventEditViewController(
    _ controller: EKEventEditViewController,
    didCompleteWith action: EKEventEditViewAction
) {
    // action: .canceled, .saved, .deleted
    dismiss(animated: true)
}

func eventEditViewControllerDefaultCalendar(
    forNewEvents controller: EKEventEditViewController
) -> EKCalendar {
    return store.defaultCalendarForNewEvents!
}

EKEventViewController

Display event details. Requires full access.

Inherits from: UIViewController (can push onto nav stack)

let viewVC = EKEventViewController()
viewVC.event = event               // Required
viewVC.allowsEditing = true
viewVC.allowsCalendarPreview = true
viewVC.delegate = self
navigationController?.pushViewController(viewVC, animated: true)

EKEventViewDelegate

func eventViewController(
    _ controller: EKEventViewController,
    didCompleteWith action: EKEventViewAction
) {
    // action: .done, .responded, .deleted
}

Note: EKEventViewController automatically handles EKEventStoreChanged notifications — no manual refresh needed.

EKCalendarChooser

Calendar selection UI. Requires write-only or full access.

let chooser = EKCalendarChooser(
    selectionStyle: .single,        // .single or .multiple
    displayStyle: .writableCalendarsOnly,  // .allCalendars or .writableCalendarsOnly
    entityType: .event,              // .event or .reminder
    eventStore: store
)
chooser.selectedCalendars = [store.defaultCalendarForNewEvents!]
chooser.showsDoneButton = true
chooser.delegate = self
present(UINavigationController(rootViewController: chooser), animated: true)

Gotcha: Under write-only access, displayStyle is ignored — always shows writable only.


Part 8: Virtual Conference Extension

For apps supporting voice/video calls — integrates directly into Calendar's location picker.

Extension Setup

  1. Add Virtual Conference Extension target in Xcode
  2. Extension point: com.apple.calendar.virtualconference
  3. Template generates EKVirtualConferenceProvider subclass

EKVirtualConferenceProvider

Platform: iOS 15.0+, macOS 12.0+, watchOS 8.0+, visionOS 1.0+

class MyConferenceProvider: EKVirtualConferenceProvider {
    override func fetchAvailableRoomTypes() async throws
        -> [EKVirtualConferenceRoomTypeDescriptor] {
        return [
            EKVirtualConferenceRoomTypeDescriptor(
                title: "Personal Room",
                identifier: "personal_room"
            )
        ]
    }

    override func fetchVirtualConference(
        identifier: EKVirtualConferenceRoomTypeIdentifier
    ) async throws -> EKVirtualConferenceDescriptor {
        let url = EKVirtualConferenceURLDescriptor(
            title: nil,  // Optional — useful when multiple join URLs
            url: URL(string: "https://myapp.com/join/\(roomId)")!
        )
        return EKVirtualConferenceDescriptor(
            title: nil,  // Optional — distinguishes multiple room types
            urlDescriptors: [url],
            conferenceDetails: "Enter code 12345 to join"
        )
    }
}

Use Universal Links for join URLs so your app opens directly.

Syncing: Events with virtual conference info sync to devices where your app may not be installed.


Part 9: Siri Event Suggestions

Add reservation-style events to Calendar without requesting any permission. Events appear in the Calendar inbox like invitations.

Supported types: restaurant, hotel, flight, train, bus, boat, rental car, ticketed events

// 1. Create reservation reference
let reference = INSpeakableString(
    vocabularyIdentifier: "booking-\(reservationId)",
    spokenPhrase: "Dinner at Caffè Macs",
    pronunciationHint: nil
)

// 2. Create reservation
let duration = INDateComponentsRange(start: startComponents, end: endComponents)
let location = MKPlacemark(coordinate: clLocation.coordinate, postalAddress: address)

let reservation = INRestaurantReservation(
    itemReference: reference,
    reservationStatus: .confirmed,
    reservationHolderName: "Jane Appleseed",
    reservationDuration: duration,
    restaurantLocation: location
)

// 3. Create intent + response
let intent = INGetReservationDetailsIntent(
    reservationContainerReference: reference
)
let response = INGetReservationDetailsIntentResponse(code: .success, userActivity: nil)
response.reservations = [reservation]

// 4. Donate interaction
let interaction = INInteraction(intent: intent, response: response)
interaction.donate()

Reservation Types

TypeClass
RestaurantINRestaurantReservation
HotelINLodgingReservation
FlightINFlightReservation
TrainINTrainReservation
BusINBusReservation (iOS 14+)
BoatINBoatReservation (iOS 14+)
Rental CarINRentalCarReservation
Ticketed EventINTicketedEventReservation

Update/Cancel

Use the same reservationId across donations:

  • Update: Donate with updated details, same reservationId
  • Cancel: Set reservationStatus =.canceled and re-donate

Web Markup (iOS 14+)

Embed schema.org JSON-LD or Microdata in HTML for Safari and Mail:

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FoodEstablishmentReservation",
  "reservationId": "abc123",
  "reservationStatus": "https://schema.org/ReservationConfirmed",
  "startTime": "2024-06-15T19:30:00-07:00",
  "underName": { "@type": "Person", "name": "Jane" },
  "reservationFor": {
    "@type": "FoodEstablishment",
    "name": "Caffè Macs",
    "address": "1 Apple Park Way, Cupertino, CA"
  }
}
</script>

Requires: Domain registration with Apple, HTTPS, valid DKIM for emails.

Show in App / Show in Safari

  • When app is installed: Calendar shows "Show in App" button — launches app with INGetReservationDetailsIntent
  • When app is not installed: If url property is set on INReservation, Calendar shows "Show in Safari"

Part 10: Location-Based Reminders

Platform: iOS 6.0+ (EKAlarm.proximity, EKStructuredLocation)

Required permissions: Location When In Use + Full Reminders Access

// Create location-triggered reminder
let reminder = EKReminder(eventStore: store)
reminder.title = "Pick up dry cleaning"
reminder.calendar = store.defaultCalendarForNewReminders()

let location = EKStructuredLocation(title: "Dry Cleaners")
location.geoLocation = CLLocation(latitude: 37.33, longitude: -122.03)
location.radius = 200  // meters

let alarm = EKAlarm()
alarm.structuredLocation = location
alarm.proximity = .enter  // .enter or .leave
reminder.addAlarm(alarm)

try store.save(reminder, commit: true)

Fetching Location Reminders

let predicate = store.predicateForReminders(in: nil)
let allReminders = try await fetchReminders(matching: predicate)
let locationReminders = allReminders.filter { reminder in
    reminder.alarms?.contains { alarm in
        alarm.structuredLocation != nil && alarm.proximity != .none
    } ?? false
}

Part 11: Error Reference

EKErrorDomain Codes

CodeNameMeaning
0eventNotMutableEvent is read-only
1noCalendarCalendar property not set
2noStartDateMissing start date
3noEndDateMissing end date
4datesInvertedEnd date before start date
12calendarReadOnlyCalendar doesn't allow modifications
13calendarIsImmutableSystem calendar (birthday, etc.)
15sourceDoesNotAllowCalendarAddDeleteCan't create/delete calendars on this source
18recurringReminderRequiresDueDateRecurring reminders need due date
19structuredLocationsNotSupportedLocation alarms not supported
21alarmProximityNotSupportedProximity alarms not supported
22eventStoreNotAuthorizedNo permission
24objectBelongsToDifferentStoreCross-store object usage
25invitesCannotBeMovedCan't move events with attendees
26invalidSpanInvalid span value

Part 12: Platform Availability Matrix

APIiOSmacOSwatchOSvisionOS
EKEventStore4.0+10.8+2.0+1.0+
Write-only access17.0+14.0+10.0+1.0+
Full access (new API)17.0+14.0+10.0+1.0+
EKEventEditViewController4.0+(Catalyst 13.1+)—1.0+
EKEventViewController4.0+(Catalyst 13.1+)—1.0+
EKCalendarChooser4.0+(Catalyst 13.0+)—1.0+
EKVirtualConferenceProvider15.0+12.0+8.0+1.0+
Location-based reminders6.0+10.8+——
Siri Event Suggestions12.0+11.0+ (Catalyst)——
Schema.org markup14.0+11.0+ (Safari/Mail)——

Resources

WWDC: 2023-10052, 2020-10197

Docs: /eventkit, /eventkitui, /eventkit/ekeventstore, /eventkit/ekevent, /eventkit/ekreminder, /eventkit/ekvirtualconferenceprovider, /technotes/tn3152, /technotes/tn3153

Skills: eventkit, contacts-ref, extensions-widgets-ref

平台分布

Codex

37.67%
按下载量换算84

Claude

31.5%
按下载量换算70

Cursor

17.79%
按下载量换算39

Gemini CLI

9.2%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills