Collection of agent skills for SLICC and Tessl-compatible runtimes — productivity, creative, document, and integration skills.
73
92%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Risky
Do not use without reviewing
iCloud web APIs use cookie-based authentication. The browser session at
icloud.com carries the necessary cookies (X-APPLE-WEBAUTH-VALIDATE,
X-APPLE-WEB-ID, etc.). All requests must include credentials: "include".
POST https://setup.icloud.com/setup/ws/1/validate
?clientBuildNumber=2618Build21
&clientMasteringNumber=2618Build21
&clientId=<any-uuid>Returns:
dsInfo.dsid — the user's Directory Services ID (e.g., 17099314)webservices.calendar.url — e.g., https://p27-calendarws.icloud.com:443webservices.ckdatabasews.url — e.g., https://p27-ckdatabasews.icloud.com:443webservices.notes.url — e.g., https://p49-notesws.icloud.com:443The pXX prefix varies per user (server partition).
GET https://p27-calendarws.icloud.com/ca/events
?startDate=2026-05-27
&endDate=2026-06-03
&lang=en-us
&usertz=Europe%2FBerlin
&clientBuildNumber=2618Build21
&clientMasteringNumber=2618Build21
&clientId=<uuid>
&dsid=<dsid>Response: { Event: [...], Recurrence: [...] }
{
"title": "Meeting",
"guid": "UUID",
"pGuid": "calendar-collection-guid",
"allDay": false,
"duration": 60,
"tz": "Europe/Berlin",
"localStartDate": [20260530, 2026, 5, 30, 20, 0, 1200],
"localEndDate": [20260530, 2026, 5, 30, 21, 0, 180],
"startDate": [20260530, 2026, 5, 30, 20, 0, 1200],
"endDate": [20260530, 2026, 5, 30, 21, 0, 180],
"location": "Room 42",
"description": "HTML or plain text",
"recurrenceMaster": false,
"recurrence": "GUID*MME-RID"
}Date array format: [YYYYMMDD, year, month, day, hour, minute, minuteOfDay]
GET /ca/alarmtriggers — upcoming alarmsGET /ca/state — calendar sync stateGET /ca/startup — full startup payload (may return 400 without proper headers)Notes uses CloudKit Database Service (ckdatabasews).
POST https://p27-ckdatabasews.icloud.com/database/1/com.apple.notes/production/private/zones/list
?clientBuildNumber=2618Build21&clientId=<uuid>&dsid=<dsid>
Body: {}Returns zones including Notes zone with ownerRecordName.
The query endpoint doesn't work for Notes (type not marked indexable).
Use changes/zone instead:
POST https://p27-ckdatabasews.icloud.com/database/1/com.apple.notes/production/private/changes/zone
?clientBuildNumber=2618Build21&clientId=<uuid>&dsid=<dsid>
Body: {
"zones": [{
"zoneID": { "zoneName": "Notes", "ownerRecordName": "<owner>" }
}]
}Response includes syncToken and moreComing for pagination.
Pass syncToken in subsequent requests to get next page.
Note — the note recordFolder_UserSpecific — folder metadataNote_UserSpecific — per-user note stateAttachment — file attachmentsInlineAttachment — inline images/filesMedia — media records| Field | Type | Description |
|---|---|---|
| TitleEncrypted | ENCRYPTED_BYTES | Base64-encoded UTF-8 title |
| SnippetEncrypted | ENCRYPTED_BYTES | Base64-encoded UTF-8 snippet |
| TextDataEncrypted | ENCRYPTED_BYTES | Gzip-compressed protobuf (full content) |
| ModificationDate | TIMESTAMP | Unix timestamp in milliseconds |
| CreationDate | TIMESTAMP | Unix timestamp in milliseconds |
| Deleted | INT64 | 0 = active, 1 = deleted |
| Folder | REFERENCE | Parent folder reference |
| PaperStyleType | INT64 | Note paper style |
Title/Snippet: Simple base64 → UTF-8 decode
const binary = atob(b64Value);
const bytes = new Uint8Array(binary.length);
for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i);
const text = new TextDecoder("utf-8").decode(bytes);Full Content (TextDataEncrypted):
// Decompress using DecompressionStream API
const ds = new DecompressionStream("gzip");
// ... write bytes, read chunks ...
const text = new TextDecoder("utf-8", { fatal: false }).decode(result);
const readable = text.replace(/[^\x20-\x7E\u00A0-\uFFFF\n\r\t]/g, "").trim();All requests use:
Content-Type: text/plain (avoids CORS preflight)Origin: https://www.icloud.comcredentials: "include" (sends cookies)Using application/json as Content-Type triggers CORS preflight which may fail.
All endpoints require:
clientBuildNumber=2618Build21 (may change with iCloud updates)clientMasteringNumber=2618Build21clientId=<any-string> (can be any identifier)dsid=<user-dsid> (from validate response)skills
aem
ai-writing-detector
references
apple-music
references
bluebubbles
concur
fluffyjaws
github
gmail
icloud
references
mixtape
references
monday
oryx
outlook
pm-prd
pptx
pptx2pdf
presentations
review
save-the-cat
servicenow
references
strudel-music
swarm
references
teams
references
wavespeed
xai-grok