[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QQBWC1WYVQ1A0D0AKQCASX":3,"skill-same:01M6QQBWC1WYVQ1A0D0AKQCASX":98},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M6QQBWC1WYVQ1A0D0AKQCASX","service-incoming-email",null,"Give the App an email address it RECEIVES mail at, attachments included. Use when the user wants to email data into their App, asks \"what's my App's email address?\", or wants the address changed. Inbound only — sending email is not supported (see the send-email skill).","SimaDevelopment\u002Fopsiforce","SimaDevelopment","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153810655?v=4","01M6QQ054MKBDSS43AND3FNHDK","Opsima","01M6QQ058VFT6EY7HCBVN49G8Z",43,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"email","service","service incoming email","data","attachments","user","use","only","mail","app","it","my","at","send","email skill","2026-11-10 10:12:30",false,"---\nname: service-incoming-email\ndescription: Give the App an email address it RECEIVES mail at, attachments included. Use when the user wants to email data into their App, asks \"what's my App's email address?\", or wants the address changed. Inbound only — sending email is not supported (see the send-email skill).\n---\n\n# Incoming email\n\nEach environment of a Project can have its own random receiving address, such as `k3p9x2mq7fd41abv@mail.example.com`. Mail sent to it is stored in this environment's `\u002Fworkspace\u002Fdata\u002Fexternal-services.db` as an `email.received` Event, attachments as files, and the App is rung so it can react. Storage does not depend on the App: mail lands while the pod is asleep or the handler is missing, and the App catches up by reading what it has not processed.\n\n**Inbound only.** For anything outbound, see `send-email`.\n\n## The address\n\nRead it from the service, never hard-code it:\n\n```bash\ncurl -s \"https:\u002F\u002Fincoming-email.$EXTERNAL_SERVICES_HOST\u002Faddress\" -H \"Authorization: Bearer $SERVICE_GATEWAY_API_KEY\"\n```\n\n- The answer is `{\"address\": \"…\"}`. Development and each published environment have different addresses, so an address written into code or content is wrong the moment the App is published.\n- `403` with `Opsiforce-Outcome: not connected`: this environment has no address yet. Tell the user to open **Incoming email** under External services, below the chat, and save; the address appears then. The answer's message carries the link to that dialog.\n- `404`: incoming email is not set up on this deployment. Say so plainly; never invent an address.\n- Tell the user the address in chat. If the App should show its own address, have the App's backend ask for it at request time (`EXTERNAL_SERVICES_HOST` and `SERVICE_GATEWAY_API_KEY` are in its environment) and serve it to the frontend; never expose the key to the frontend.\n- Only the user changes the address, with **Rotate** in the same dialog. The old address stops receiving at once and stored mail is untouched. Suggest it when the address leaked or draws spam, and give the user the new one afterwards.\n\n## What an email looks like\n\nOne `events` row per email and recipient, `service = 'incoming-email'`, `type = 'email.received'`, `key` = the message id (a redelivered email is not stored twice). `data` (JSON) holds:\n\n| Property                | Notes                                                                           |\n| ----------------------- | ------------------------------------------------------------------------------- |\n| `address`               | the local part it was sent to                                                   |\n| `recipient`             | the full address, lowercased                                                    |\n| `from`                  | the envelope sender's address                                                   |\n| `fromHeader`            | the `From` header as written, display name included (optional)                  |\n| `subject`               | `''` when there is none                                                         |\n| `text`                  | the body without quoted replies and signatures — usually the part to parse      |\n| `bodyPlain`, `bodyHtml` | the whole bodies (optional)                                                     |\n| `messageId`             | the `Message-Id` (optional)                                                     |\n| `headers`               | every header as `[{name, value}]`                                               |\n| `attachments`           | `[{filename, mimeType, size}]`, in the order of this Event's `event_files` rows |\n| `omittedAttachments`    | attachments over the deployment's size limit, not stored                        |\n\n```typescript\nimport { DatabaseSync } from 'node:sqlite';\n\nconst inbound = new DatabaseSync('\u002Fworkspace\u002Fdata\u002Fexternal-services.db', { readOnly: true });\n\nconst emails = inbound\n  .prepare(\n    `SELECT id, occurred_at,\n            json_extract(data, '$.from') AS sender,\n            json_extract(data, '$.subject') AS subject,\n            json_extract(data, '$.text') AS text\n       FROM events\n      WHERE service = 'incoming-email' AND type = 'email.received'\n        AND id IN (${eventIds.map(() => '?').join(', ')})`\n  )\n  .all(...eventIds);\n\nconst files = inbound\n  .prepare('SELECT name, mime_type, size_bytes, path FROM event_files WHERE event_id = ?')\n  .all(emailId);\n```\n\nAttachment bytes are files on disk at `event_files.path`; read them with `fs`. Key the App's own records on the Event `id` (a `UNIQUE` column in `app.db`), because a ring can repeat.\n\n## Debugging\n\n```bash\nsqlite3 -readonly -header -column \u002Fworkspace\u002Fdata\u002Fexternal-services.db \\\n  \"SELECT id, received_at, json_extract(data, '\\$.from') AS sender, json_extract(data, '\\$.subject') AS subject, app_delivered_at\n     FROM events WHERE service = 'incoming-email' ORDER BY id DESC LIMIT 10;\"\n```\n\n- **No rows** → the mail never reached this environment. Check the sender used the address the service gives _now_ (it may have been rotated).\n- **Rows with `app_delivered_at` NULL** → stored, but the App was not rung successfully: the handler is missing (the template answers 501), it failed, or it is still being retried. Process them with the catch-up read.\n","# Incoming email\n\nEach environment of a Project can have its own random receiving address, such as `k3p9x2mq7fd41abv@mail.example.com`. Mail sent to it is stored in this environment's `\u002Fworkspace\u002Fdata\u002Fexternal-services.db` as an `email.received` Event, attachments as files, and the App is rung so it can react. Storage does not depend on the App: mail lands while the pod is asleep or the handler is missing, and the App catches up by reading what it has not processed.\n\n**Inbound only.** For anything outbound, see `send-email`.\n\n## The address\n\nRead it from the service, never hard-code it:\n\n```bash\ncurl -s \"https:\u002F\u002Fincoming-email.$EXTERNAL_SERVICES_HOST\u002Faddress\" -H \"Authorization: Bearer $SERVICE_GATEWAY_API_KEY\"\n```\n\n- The answer is `{\"address\": \"…\"}`. Development and each published environment have different addresses, so an address written into code or content is wrong the moment the App is published.\n- `403` with `Opsiforce-Outcome: not connected`: this environment has no address yet. Tell the user to open **Incoming email** under External services, below the chat, and save; the address appears then. The answer's message carries the link to that dialog.\n- `404`: incoming email is not set up on this deployment. Say so plainly; never invent an address.\n- Tell the user the address in chat. If the App should show its own address, have the App's backend ask for it at request time (`EXTERNAL_SERVICES_HOST` and `SERVICE_GATEWAY_API_KEY` are in its environment) and serve it to the frontend; never expose the key to the frontend.\n- Only the user changes the address, with **Rotate** in the same dialog. The old address stops receiving at once and stored mail is untouched. Suggest it when the address leaked or draws spam, and give the user the new one afterwards.\n\n## What an email looks like\n\nOne `events` row per email and recipient, `service = 'incoming-email'`, `type = 'email.received'`, `key` = the message id (a redelivered email is not stored twice). `data` (JSON) holds:\n\n| Property                | Notes                                                                           |\n| ----------------------- | ------------------------------------------------------------------------------- |\n| `address`               | the local part it was sent to                                                   |\n| `recipient`             | the full address, lowercased                                                    |\n| `from`                  | the envelope sender's address                                                   |\n| `fromHeader`            | the `From` header as written, display name included (optional)                  |\n| `subject`               | `''` when there is none                                                         |\n| `text`                  | the body without quoted replies and signatures — usually the part to parse      |\n| `bodyPlain`, `bodyHtml` | the whole bodies (optional)                                                     |\n| `messageId`             | the `Message-Id` (optional)                                                     |\n| `headers`               | every header as `[{name, value}]`                                               |\n| `attachments`           | `[{filename, mimeType, size}]`, in the order of this Event's `event_files` rows |\n| `omittedAttachments`    | attachments over the deployment's size limit, not stored                        |\n\n```typescript\nimport { DatabaseSync } from 'node:sqlite';\n\nconst inbound = new DatabaseSync('\u002Fworkspace\u002Fdata\u002Fexternal-services.db', { readOnly: true });\n\nconst emails = inbound\n  .prepare(\n    `SELECT id, occurred_at,\n            json_extract(data, '$.from') AS sender,\n            json_extract(data, '$.subject') AS subject,\n            json_extract(data, '$.text') AS text\n       FROM events\n      WHERE service = 'incoming-email' AND type = 'email.received'\n        AND id IN (${eventIds.map(() => '?').join(', ')})`\n  )\n  .all(...eventIds);\n\nconst files = inbound\n  .prepare('SELECT name, mime_type, size_bytes, path FROM event_files WHERE event_id = ?')\n  .all(emailId);\n```\n\nAttachment bytes are files on disk at `event_files.path`; read them with `fs`. Key the App's own records on the Event `id` (a `UNIQUE` column in `app.db`), because a ring can repeat.\n\n## Debugging\n\n```bash\nsqlite3 -readonly -header -column \u002Fworkspace\u002Fdata\u002Fexternal-services.db \\\n  \"SELECT id, received_at, json_extract(data, '\\$.from') AS sender, json_extract(data, '\\$.subject') AS subject, app_delivered_at\n     FROM events WHERE service = 'incoming-email' ORDER BY id DESC LIMIT 10;\"\n```\n\n- **No rows** → the mail never reached this environment. Check the sender used the address the service gives _now_ (it may have been rotated).\n- **Rows with `app_delivered_at` NULL** → stored, but the App was not rung successfully: the handler is missing (the template answers 501), it failed, or it is still being retried. Process them with the catch-up read.\n",{"name":5,"description":7},"main","c54d8e35f50ac35b3b2c7ba8d4fca2205a740cb9","external-services\u002Fincoming-email",9,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce","https:\u002F\u002Fgithub.com\u002FSimaDevelopment","2026-11-05 06:13:10",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add SimaDevelopment\u002Fopsiforce --skill service-incoming-email",{"tool":52,"command":53},"bunx","bunx skills add SimaDevelopment\u002Fopsiforce --skill service-incoming-email",{"tool":55,"command":56},"pnpm","pnpm dlx skills add SimaDevelopment\u002Fopsiforce --skill service-incoming-email","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002FSKILL.md",true,[60,66,72,78,82,86,90,94],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"icon.svg","ASSET","资产文件",262,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002Ficon.svg",{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"service.json","REFERENCE","参考文档",1547,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002Fservice.json",{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"service.ts","SCRIPT","脚本",546,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002Fservice.ts",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"service.types.ts",790,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002Fservice.types.ts",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"src\u002Faddress.ts",457,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002Fsrc\u002Faddress.ts",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"src\u002Fwebhook.ts",6174,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002Fsrc\u002Fwebhook.ts",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"test\u002Ffixtures\u002Fmailgun.ts",674,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002Ftest\u002Ffixtures\u002Fmailgun.ts",{"path":95,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":96,"sourceHtmlUrl":97},"test\u002Finbound.test.ts",10767,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fincoming-email\u002Ftest\u002Finbound.test.ts",[99,125,140,159,167,191],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":34},"01M6QQKHZFGFB6A111RW2A9WC0","figma-use","**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create\u002Fedit\u002Fdelete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use\u002FSKILL.md",[],[106,107,25,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124],"figma use","figma","components","create","delete","tool","read","write","edit","context","auto","structure","tokens","bind","Variables","you","inspect","variants","invoke",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":34},"01M6QQK1AMA90K6DFAVANYQ9X3","figma-use-slides","This skill helps agents use Figma's use_figma MCP tool in the Slides context. Can be used alongside figma-use which has foundational context for using the use_figma tool.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-slides\u002FSKILL.md",[],[106,107,132,133,25,134,111,115,135,136,137,138,139],"figma use slides","slides","MCP","false","which","can","for","figma mcp",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":34},"01M6QQJTR9QYK297WQ1X792D63","figma-use-motion","Motion \u002F animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-motion\u002FSKILL.md",[],[106,107,147,25,148,134,149,111,150,151,115,152,153,154,135,155,156,157,158,138],"figma use motion","motion","Animation","node","editing","Nodes","task","keyframes","via","styles","manual","load",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":34},"01M6QQJNZ067ZRXZ6A0QB9M6SB","figma-use-figjam","This skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_figma tool.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-use-figjam\u002FSKILL.md",[],[106,107,166,25,134,111,115,135,136,137,138,139],"figma use figjam",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":173,"publishedAt":34},"01M6QQJ7NEHXPE33VRVHYYM7YE","figma-swiftui","SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views \u002F screens \u002F tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files \u002F an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-swiftui\u002FSKILL.md",[],[107,174,175,176,177,178,179,180,181,182,183,184,185,186,135,187,188,189,30,190],"figma swiftui","swiftui","design","swift","code","push","doc","files","translation","back","either","iphone","ipad","screen","direction","URL","path",{"skillNo":192,"name":193,"nameZh":6,"description":194,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":195,"categories":196,"keywords":197,"publishedAt":34},"01M6QQJ3WZ3M90BZQ5TD305PKN","figma-shaders","**MANDATORY prerequisite** — load this skill before calling `create_shader` or `update_shader`. Use when the user asks to create, author, change, fix, or iterate on a shader effect, shader fill, custom effect, custom fill, or procedural shader in Figma.","https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Ffrontend\u002Fopencode\u002Fpackages\u002Fplugins\u002Ffigma\u002Fskills\u002Ffigma-shaders\u002FSKILL.md",[],[198,107,199,200,109,201,202,24,203,25,204,205,135,206,158,207,208,209,210],"shaders","figma shaders","change","update","effect","fix","shader","calling","procedural","fill","iterate","custom","author"]