[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6QQCBQ798VBHKADQ3QA0EQ8":3,"skill-same:01M6QQCBQ798VBHKADQ3QA0EQ8":80},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6QQCBQ798VBHKADQ3QA0EQ8","service-public-api",null,"How to act on this Organization's Agents, Skills and Projects through the Opsiforce Public API (`public-api`), as the human who created this Project.","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\u002Fpublic-api\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"api","public","service","public api","service public api","how","projects","organization","human","project","act","as","how to","2026-11-10 10:12:30",false,"---\nname: service-public-api\ndescription: How to act on this Organization's Agents, Skills and Projects through the Opsiforce Public API (`public-api`), as the human who created this Project.\n---\n\n# Opsiforce Public API\n\n`public-api` is the platform's own API: **Opsiforce Public API v1**, documented at `\u002Fapi\u002Fv1\u002Fdocs` on\nthe main host. Call its real paths on its Service host with this Project's key in a header:\n\n```bash\ncurl -s \"https:\u002F\u002Fpublic-api.$EXTERNAL_SERVICES_HOST\u002Fapi\u002Fv1\u002Fme\" -H \"Authorization: Bearer $SERVICE_GATEWAY_API_KEY\"\n```\n\n## How it differs from calling the API as a person\n\n- Every call acts as the human who created this Project, with that human's permissions as they stand\n  at the call, in this Project's Organization only. `GET \u002Fme` says who that is.\n- Projects, Skills and Agents you create are stamped as made by this Project. You see and reach\n  those Projects and the ones this Project's configuration lists under *Other Projects*, and no\n  others. You change only the Skills and Agents you created, besides the one a Builder chat is\n  about; every other Skill and Agent is read-only to you.\n- *Other Projects* are not yours: you may read, open (`connect`) and restart them, but never delete\n  them.\n- Reads are open to every connected Project. Each write is one setting of this Project's Opsiforce\n  Public API configuration, all off until someone turns them on: *Edit Skills and Agents*, *Create\n  Agents* (with *Agent limit*), *Create Projects* (with *Project limit*, and possibly *Allowed\n  Agents*, which lists the only Agents you may create Projects of, and *Workspace for new Projects*,\n  where they all go), *Open and restart Projects* (`connect`, `restart`, and a Test Project's `update`\n  and `reset`), and *Delete Projects*.\n- `GET \u002F.well-known\u002Fopsiforce` on the Service host lists its routes, the setting each write needs and\n  this Project's settings. Any other path answers `404` with `Opsiforce-Outcome: not supported`.\n\n## Answers and refusals\n\n- An answer is the API's own JSON, a refusal its `application\u002Fproblem+json`: a `type` ending in the\n  reason (`project-not-found`, `permission-denied`, `validation-error`, `name-unavailable`, …) and a\n  `detail` that says what to change. Read the `detail`.\n- `403` with `Opsiforce-Outcome: not allowed`: the setting named in `Opsiforce-Setting` is off. The\n  `detail` names it, links to it and says who can change it. Tell the user that in plain words, with\n  the link; do not retry or look for another way round.\n- `403` `not allowed` with `Opsiforce-Setting: createdProjectAgents` on `POST \u002Fprojects`: this Project may\n  create Projects only of the Agents listed there. Use one of those, or tell the user who can add\n  the Agent. With `createdProjectsWorkspace`, leave `workspaceId` out: your Projects go to the\n  chosen Workspace.\n- `409` `max-created-agents`: this Project already has as many Agents as *Agent limit*\n  allows. Tell the user who can raise it.\n- `409` `max-created-projects`: this Project already has as many Projects as *Project limit*\n  allows. Delete one you created, or tell the user who can raise it.\n- `409` `chain-too-deep` on `POST \u002Fprojects`: this Project was itself made by a chain of Projects as\n  deep as the platform allows. Do not retry; do the work in this Project or ask the user.\n- `404` `project-not-found` for a Project the user named: this Project neither created it nor lists\n  it under *Other Projects*, or its creator cannot see it. Tell the user what the `detail` says; do\n  not look for another way in.\n- `permission-denied` without that header: the creator lacks the `permission` it names, or the Skill\n  or Agent was not made by this Project. Tell the user which permission their account needs, or that\n  this Project may only read that one.\n\n## Talking to a Project you can open\n\n`POST \u002Fprojects\u002F\u003Cid>\u002Fenvironments\u002F\u003CenvironmentId>\u002Fconnect` answers `baseUrl`, `openapiUrl`,\n`sessionId` and `build`. For this Project, `baseUrl` is a full URL on the runtime proxy, not on this\nService host: call it exactly as returned, with the same key. Behind it is opencode's own API, and\n`openapiUrl` documents it.\n\n```bash\ncurl -s -X POST \"$BASE_URL\u002Fapi\u002Fsession\u002F$SESSION_ID\u002Fprompt\" -H \"Authorization: Bearer $SERVICE_GATEWAY_API_KEY\" \\\n  -H 'Content-Type: application\u002Fjson' -d '{\"id\":\"msg_…\",\"text\":\"Research example-org\"}'\ncurl -s \"$BASE_URL\u002Fapi\u002Fsession\u002F$SESSION_ID\u002Fmessage?limit=50&order=desc\" -H \"Authorization: Bearer $SERVICE_GATEWAY_API_KEY\"\n```\n\n- Give every prompt your own `id`: sending the same `id` and text again is harmless.\n- `GET $BASE_URL\u002Fapi\u002Fevent` streams events. A prompt is done at `session.execution.succeeded`,\n  `session.execution.failed` or `session.execution.interrupted` for your Session.\n- It needs *Open and restart Projects*, as Connect does; with it off the runtime proxy answers `403`.\n  A Project you neither created nor list under *Other Projects* answers `404`.\n- `\u002Fapi\u002Fproxy\u002F...` on this Service host answers `404` *not supported*: that is the wrong host, not\n  a missing feature. Use `baseUrl`.\n\n## Habits\n\n- List before you create: `GET \u002Fskills`, `GET \u002Fagents`, `GET \u002Fprojects`; page with `cursor` until\n  `nextCursor` is null.\n- After `POST \u002Fprojects`, poll `GET \u002Fprojects\u002F\u003Cid>` until the Development environment is active, or\n  call `POST \u002Fprojects\u002F\u003Cid>\u002Fenvironments\u002F\u003CenvironmentId>\u002Fconnect`, which waits for it.\n- Delete the Projects you made for a test once you have what you needed from them.\n","# Opsiforce Public API\n\n`public-api` is the platform's own API: **Opsiforce Public API v1**, documented at `\u002Fapi\u002Fv1\u002Fdocs` on\nthe main host. Call its real paths on its Service host with this Project's key in a header:\n\n```bash\ncurl -s \"https:\u002F\u002Fpublic-api.$EXTERNAL_SERVICES_HOST\u002Fapi\u002Fv1\u002Fme\" -H \"Authorization: Bearer $SERVICE_GATEWAY_API_KEY\"\n```\n\n## How it differs from calling the API as a person\n\n- Every call acts as the human who created this Project, with that human's permissions as they stand\n  at the call, in this Project's Organization only. `GET \u002Fme` says who that is.\n- Projects, Skills and Agents you create are stamped as made by this Project. You see and reach\n  those Projects and the ones this Project's configuration lists under *Other Projects*, and no\n  others. You change only the Skills and Agents you created, besides the one a Builder chat is\n  about; every other Skill and Agent is read-only to you.\n- *Other Projects* are not yours: you may read, open (`connect`) and restart them, but never delete\n  them.\n- Reads are open to every connected Project. Each write is one setting of this Project's Opsiforce\n  Public API configuration, all off until someone turns them on: *Edit Skills and Agents*, *Create\n  Agents* (with *Agent limit*), *Create Projects* (with *Project limit*, and possibly *Allowed\n  Agents*, which lists the only Agents you may create Projects of, and *Workspace for new Projects*,\n  where they all go), *Open and restart Projects* (`connect`, `restart`, and a Test Project's `update`\n  and `reset`), and *Delete Projects*.\n- `GET \u002F.well-known\u002Fopsiforce` on the Service host lists its routes, the setting each write needs and\n  this Project's settings. Any other path answers `404` with `Opsiforce-Outcome: not supported`.\n\n## Answers and refusals\n\n- An answer is the API's own JSON, a refusal its `application\u002Fproblem+json`: a `type` ending in the\n  reason (`project-not-found`, `permission-denied`, `validation-error`, `name-unavailable`, …) and a\n  `detail` that says what to change. Read the `detail`.\n- `403` with `Opsiforce-Outcome: not allowed`: the setting named in `Opsiforce-Setting` is off. The\n  `detail` names it, links to it and says who can change it. Tell the user that in plain words, with\n  the link; do not retry or look for another way round.\n- `403` `not allowed` with `Opsiforce-Setting: createdProjectAgents` on `POST \u002Fprojects`: this Project may\n  create Projects only of the Agents listed there. Use one of those, or tell the user who can add\n  the Agent. With `createdProjectsWorkspace`, leave `workspaceId` out: your Projects go to the\n  chosen Workspace.\n- `409` `max-created-agents`: this Project already has as many Agents as *Agent limit*\n  allows. Tell the user who can raise it.\n- `409` `max-created-projects`: this Project already has as many Projects as *Project limit*\n  allows. Delete one you created, or tell the user who can raise it.\n- `409` `chain-too-deep` on `POST \u002Fprojects`: this Project was itself made by a chain of Projects as\n  deep as the platform allows. Do not retry; do the work in this Project or ask the user.\n- `404` `project-not-found` for a Project the user named: this Project neither created it nor lists\n  it under *Other Projects*, or its creator cannot see it. Tell the user what the `detail` says; do\n  not look for another way in.\n- `permission-denied` without that header: the creator lacks the `permission` it names, or the Skill\n  or Agent was not made by this Project. Tell the user which permission their account needs, or that\n  this Project may only read that one.\n\n## Talking to a Project you can open\n\n`POST \u002Fprojects\u002F\u003Cid>\u002Fenvironments\u002F\u003CenvironmentId>\u002Fconnect` answers `baseUrl`, `openapiUrl`,\n`sessionId` and `build`. For this Project, `baseUrl` is a full URL on the runtime proxy, not on this\nService host: call it exactly as returned, with the same key. Behind it is opencode's own API, and\n`openapiUrl` documents it.\n\n```bash\ncurl -s -X POST \"$BASE_URL\u002Fapi\u002Fsession\u002F$SESSION_ID\u002Fprompt\" -H \"Authorization: Bearer $SERVICE_GATEWAY_API_KEY\" \\\n  -H 'Content-Type: application\u002Fjson' -d '{\"id\":\"msg_…\",\"text\":\"Research example-org\"}'\ncurl -s \"$BASE_URL\u002Fapi\u002Fsession\u002F$SESSION_ID\u002Fmessage?limit=50&order=desc\" -H \"Authorization: Bearer $SERVICE_GATEWAY_API_KEY\"\n```\n\n- Give every prompt your own `id`: sending the same `id` and text again is harmless.\n- `GET $BASE_URL\u002Fapi\u002Fevent` streams events. A prompt is done at `session.execution.succeeded`,\n  `session.execution.failed` or `session.execution.interrupted` for your Session.\n- It needs *Open and restart Projects*, as Connect does; with it off the runtime proxy answers `403`.\n  A Project you neither created nor list under *Other Projects* answers `404`.\n- `\u002Fapi\u002Fproxy\u002F...` on this Service host answers `404` *not supported*: that is the wrong host, not\n  a missing feature. Use `baseUrl`.\n\n## Habits\n\n- List before you create: `GET \u002Fskills`, `GET \u002Fagents`, `GET \u002Fprojects`; page with `cursor` until\n  `nextCursor` is null.\n- After `POST \u002Fprojects`, poll `GET \u002Fprojects\u002F\u003Cid>` until the Development environment is active, or\n  call `POST \u002Fprojects\u002F\u003Cid>\u002Fenvironments\u002F\u003CenvironmentId>\u002Fconnect`, which waits for it.\n- Delete the Projects you made for a test once you have what you needed from them.\n",{"name":5,"description":7},"main","c54d8e35f50ac35b3b2c7ba8d4fca2205a740cb9","external-services\u002Fpublic-api",9,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce","https:\u002F\u002Fgithub.com\u002FSimaDevelopment","2026-11-05 06:13:10",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add SimaDevelopment\u002Fopsiforce --skill service-public-api",{"tool":50,"command":51},"bunx","bunx skills add SimaDevelopment\u002Fopsiforce --skill service-public-api",{"tool":53,"command":54},"pnpm","pnpm dlx skills add SimaDevelopment\u002Fopsiforce --skill service-public-api","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fpublic-api\u002FSKILL.md",true,[58,64,70,76],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"icon.svg","ASSET","资产文件",234,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fpublic-api\u002Ficon.svg",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"service.json","REFERENCE","参考文档",3591,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fpublic-api\u002Fservice.json",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"service.ts","SCRIPT","脚本",246,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fpublic-api\u002Fservice.ts",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"service.types.ts",1249,"https:\u002F\u002Fgithub.com\u002FSimaDevelopment\u002Fopsiforce\u002Fblob\u002Fmain\u002Fexternal-services\u002Fpublic-api\u002Fservice.types.ts",[81,108,123,142,150,175],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":32},"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",[],[88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107],"figma use","figma","use","components","create","delete","tool","read","write","edit","context","auto","structure","tokens","bind","Variables","you","inspect","variants","invoke",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":32},"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",[],[88,89,115,116,90,117,94,98,118,119,120,121,122],"figma use slides","slides","MCP","false","which","can","for","figma mcp",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":32},"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",[],[88,89,130,90,131,117,132,94,133,134,98,135,136,137,118,138,139,140,141,121],"figma use motion","motion","Animation","node","editing","Nodes","task","keyframes","via","styles","manual","load",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":32},"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",[],[88,89,149,90,117,94,98,118,119,120,121,122],"figma use figjam",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":32},"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",[],[89,157,158,159,160,161,162,163,164,165,166,167,168,169,118,170,171,172,173,174],"figma swiftui","swiftui","design","swift","code","push","doc","files","translation","back","either","iphone","ipad","screen","direction","URL","my","path",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":181,"publishedAt":32},"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",[],[182,89,183,184,92,185,186,187,188,90,189,190,118,191,141,192,193,194,195],"shaders","figma shaders","change","update","effect","user","fix","shader","calling","procedural","fill","iterate","custom","author"]