[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJVFXN7075A5YWQPKDZDAR":3,"skill-same:01M6KJVFXN7075A5YWQPKDZDAR":60},{"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":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6KJVFXN7075A5YWQPKDZDAR","cxb-file-op",null,"Execute FileOpsREQ protocol requests. Handles autoflow domain ops for .curdx\u002F state management.","mugsun\u002Fcurdx-bridge","mugsun","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F100790155?v=4","01M6KJSAN2W4WRPDFBKTJTDDQ2","Mugsun","01M6KJSARZ3CEDFW8AGN5VQ62Y",2,"MIT","https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge\u002Fblob\u002Fmain\u002Fcodex_skills\u002Fcxb-file-op\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"file","op","cxb file op","state management","state","protocol","management","execute","ops","domain","autoflow","requests","for","2026-11-10 10:12:30",false,"---\nname: cxb-file-op\ndescription: Execute FileOpsREQ protocol requests. Handles autoflow domain ops for .curdx\u002F state management.\n---\n\n# FileOps Executor (Codex Side)\n\nYou receive FileOpsREQ JSON from Claude and must return FileOpsRES JSON only. No markdown, no prose.\n\n## Protocol Reference\n\nSee `~\u002F.claude\u002Fskills\u002Fdocs\u002Fprotocol.md` for full FileOpsREQ\u002FFileOpsRES schema.\n\n## Execution Rules\n\n1. Parse the incoming FileOpsREQ JSON\n2. Validate against schema (proto, id, purpose, ops, done, report)\n3. Execute each op in order\n4. Return FileOpsRES JSON only\n\n## AutoFlow Domain Ops Implementation\n\nAll state files live under `.curdx\u002F` directory relative to repo root.\n\n### `autoflow_plan_init`\n\nInput: `plan` object with taskName, objective, context, constraints, steps[], finalDone[]\n\nActions:\n1. Create `.curdx\u002F` directory if not exists\n2. Build `state.json` from plan:\n   ```json\n   {\n     \"taskName\": plan.taskName,\n     \"objective\": plan.objective,\n     \"context\": plan.context,\n     \"constraints\": plan.constraints,\n     \"current\": { \"type\": \"step\", \"stepIndex\": 1, \"subIndex\": null },\n     \"steps\": [ { \"index\": i+1, \"title\": title, \"status\": \"todo\" (first=\"doing\"), \"attempts\": 0, \"substeps\": [] } ],\n     \"finalDone\": plan.finalDone\n   }\n   ```\n3. Write `.curdx\u002Fstate.json`\n4. Generate `.curdx\u002Ftodo.md` from state (see formats.md)\n5. Generate `.curdx\u002Fplan_log.md` with initial plan entry\n\n### `autoflow_state_preflight`\n\nInput: `path` (default `.curdx\u002Fstate.json`), `maxAttempts` (default 2)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. If file missing → return fail status with \"No plan. Use \u002Fcxb-task-plan first.\"\n3. Validate `current` pointer\n4. If `current.type == \"none\"` → return ok with taskComplete flag\n5. Get current step\u002Fsubstep, check attempts \u003C maxAttempts\n6. If attempts exceeded → return fail with \"Max attempts exceeded\"\n7. Increment attempts, write back `.curdx\u002Fstate.json`\n8. Return ok with `data.state` (current pointer) and `data.stepContext` (step title, objective, relevant info)\n\n### `autoflow_state_apply_split`\n\nInput: `stepIndex`, `substeps` (array of 3-7 title strings)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. Find step by stepIndex\n3. Set step.substeps = substeps mapped to `{ index: i+1, title: t, status: \"todo\" }`, first one \"doing\"\n4. Set `current = { type: \"substep\", stepIndex: stepIndex, subIndex: 1 }`\n5. Write `.curdx\u002Fstate.json`\n6. Regenerate `.curdx\u002Ftodo.md`\n\n### `autoflow_state_finalize`\n\nInput: `verification` (string), `changedFiles` (optional array)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. Mark current step\u002Fsubstep status = \"done\"\n3. Advance `current` to next todo step\u002Fsubstep:\n   - If substeps remain in current step → next substep\n   - If no substeps remain → next step\n   - If no steps remain → set `current = { type: \"none\", stepIndex: null, subIndex: null }`\n4. If next item exists, set its status to \"doing\"\n5. Write `.curdx\u002Fstate.json`\n6. Regenerate `.curdx\u002Ftodo.md`\n7. Append completion entry to `.curdx\u002Fplan_log.md`\n\n### `autoflow_state_mark_blocked`\n\nInput: `reason` (string)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. Mark current step\u002Fsubstep status = \"blocked\"\n3. Write `.curdx\u002Fstate.json`\n4. Regenerate `.curdx\u002Ftodo.md`\n\n### `autoflow_state_append_steps`\n\nInput: `steps` (array of 1-2 title strings), `maxAllowed` (default 2)\n\nPrecondition: `current.type == \"none\"` (task completed)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. If steps.length > maxAllowed → return fail\n3. Append new steps to steps array\n4. Set `current` to first new step, mark it \"doing\"\n5. Write `.curdx\u002Fstate.json`\n6. Regenerate `.curdx\u002Ftodo.md`\n7. Append to `.curdx\u002Fplan_log.md`\n\n## Output Format\n\nAlways return pure JSON matching FileOpsRES schema. Never wrap in markdown code blocks.\n","# FileOps Executor (Codex Side)\n\nYou receive FileOpsREQ JSON from Claude and must return FileOpsRES JSON only. No markdown, no prose.\n\n## Protocol Reference\n\nSee `~\u002F.claude\u002Fskills\u002Fdocs\u002Fprotocol.md` for full FileOpsREQ\u002FFileOpsRES schema.\n\n## Execution Rules\n\n1. Parse the incoming FileOpsREQ JSON\n2. Validate against schema (proto, id, purpose, ops, done, report)\n3. Execute each op in order\n4. Return FileOpsRES JSON only\n\n## AutoFlow Domain Ops Implementation\n\nAll state files live under `.curdx\u002F` directory relative to repo root.\n\n### `autoflow_plan_init`\n\nInput: `plan` object with taskName, objective, context, constraints, steps[], finalDone[]\n\nActions:\n1. Create `.curdx\u002F` directory if not exists\n2. Build `state.json` from plan:\n   ```json\n   {\n     \"taskName\": plan.taskName,\n     \"objective\": plan.objective,\n     \"context\": plan.context,\n     \"constraints\": plan.constraints,\n     \"current\": { \"type\": \"step\", \"stepIndex\": 1, \"subIndex\": null },\n     \"steps\": [ { \"index\": i+1, \"title\": title, \"status\": \"todo\" (first=\"doing\"), \"attempts\": 0, \"substeps\": [] } ],\n     \"finalDone\": plan.finalDone\n   }\n   ```\n3. Write `.curdx\u002Fstate.json`\n4. Generate `.curdx\u002Ftodo.md` from state (see formats.md)\n5. Generate `.curdx\u002Fplan_log.md` with initial plan entry\n\n### `autoflow_state_preflight`\n\nInput: `path` (default `.curdx\u002Fstate.json`), `maxAttempts` (default 2)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. If file missing → return fail status with \"No plan. Use \u002Fcxb-task-plan first.\"\n3. Validate `current` pointer\n4. If `current.type == \"none\"` → return ok with taskComplete flag\n5. Get current step\u002Fsubstep, check attempts \u003C maxAttempts\n6. If attempts exceeded → return fail with \"Max attempts exceeded\"\n7. Increment attempts, write back `.curdx\u002Fstate.json`\n8. Return ok with `data.state` (current pointer) and `data.stepContext` (step title, objective, relevant info)\n\n### `autoflow_state_apply_split`\n\nInput: `stepIndex`, `substeps` (array of 3-7 title strings)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. Find step by stepIndex\n3. Set step.substeps = substeps mapped to `{ index: i+1, title: t, status: \"todo\" }`, first one \"doing\"\n4. Set `current = { type: \"substep\", stepIndex: stepIndex, subIndex: 1 }`\n5. Write `.curdx\u002Fstate.json`\n6. Regenerate `.curdx\u002Ftodo.md`\n\n### `autoflow_state_finalize`\n\nInput: `verification` (string), `changedFiles` (optional array)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. Mark current step\u002Fsubstep status = \"done\"\n3. Advance `current` to next todo step\u002Fsubstep:\n   - If substeps remain in current step → next substep\n   - If no substeps remain → next step\n   - If no steps remain → set `current = { type: \"none\", stepIndex: null, subIndex: null }`\n4. If next item exists, set its status to \"doing\"\n5. Write `.curdx\u002Fstate.json`\n6. Regenerate `.curdx\u002Ftodo.md`\n7. Append completion entry to `.curdx\u002Fplan_log.md`\n\n### `autoflow_state_mark_blocked`\n\nInput: `reason` (string)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. Mark current step\u002Fsubstep status = \"blocked\"\n3. Write `.curdx\u002Fstate.json`\n4. Regenerate `.curdx\u002Ftodo.md`\n\n### `autoflow_state_append_steps`\n\nInput: `steps` (array of 1-2 title strings), `maxAllowed` (default 2)\n\nPrecondition: `current.type == \"none\"` (task completed)\n\nActions:\n1. Read `.curdx\u002Fstate.json`\n2. If steps.length > maxAllowed → return fail\n3. Append new steps to steps array\n4. Set `current` to first new step, mark it \"doing\"\n5. Write `.curdx\u002Fstate.json`\n6. Regenerate `.curdx\u002Ftodo.md`\n7. Append to `.curdx\u002Fplan_log.md`\n\n## Output Format\n\nAlways return pure JSON matching FileOpsRES schema. Never wrap in markdown code blocks.\n",{"name":5,"description":7},"main","d9e7fe01f432d602aaf551dd49b58bdb54e8359d","codex_skills\u002Fcxb-file-op",0,"https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge","https:\u002F\u002Fgithub.com\u002Fmugsun","📮 bydongxin@gmail.com","🧑‍💻 AI Builder & Software Engineer\r\n🚀 Turning ideas into software.          \r\n\r\n","2026-05-06 22:53:03",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add mugsun\u002Fcurdx-bridge --skill cxb-file-op",{"tool":52,"command":53},"bunx","bunx skills add mugsun\u002Fcurdx-bridge --skill cxb-file-op",{"tool":55,"command":56},"pnpm","pnpm dlx skills add mugsun\u002Fcurdx-bridge --skill cxb-file-op","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge\u002Fblob\u002Fmain\u002Fcodex_skills\u002Fcxb-file-op\u002FSKILL.md",true,[],[61,78,93,107,119,131],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":32},"01M6KJW1ETKAK1Z6N7N8KZ8MZ3","cxb-status","Report which CURDX providers are mounted (session exists AND daemon is online). Outputs JSON.","https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge\u002Fblob\u002Fmain\u002Fcodex_skills\u002Fcxb-status\u002FSKILL.md",[],[68,69,70,71,72,73,74,75,76,77],"cxb status","status","daemon","report","Providers","which","json","session","show","as",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":32},"01M6KJVYNPMV4AQVMEM3W920Q9","cxb-reply","View latest reply from AI provider (gemini\u002Fcodex\u002Fopencode\u002Fclaude).","https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge\u002Fblob\u002Fmain\u002Fcodex_skills\u002Fcxb-reply\u002FSKILL.md",[],[85,86,87,88,89,90,91,92],"cxb reply","reply","codex","view","opencode","provider","latest","gemini",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":32},"01M6KJVSNTTZZGPJMP575JMMNZ","cxb-plan","Collaborative planning using abstract roles (designer + inspiration + reviewer).","https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge\u002Fblob\u002Fmain\u002Fcodex_skills\u002Fcxb-plan\u002FSKILL.md",[],[100,101,102,103,104,105,106],"plan","cxb plan","plans","planning","designer","reviewer","roles",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":32},"01M6KJVMZN8SYRXE6RDJGAH9D3","cxb-ping","Test connectivity with AI provider (gemini\u002Fcodex\u002Fopencode\u002Fclaude).","https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge\u002Fblob\u002Fmain\u002Fcodex_skills\u002Fcxb-ping\u002FSKILL.md",[],[114,115,116,92,87,117,89,90,118],"cxb ping","ping","connectivity","test","with",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":32},"01M6KJVB58MARW2CD1114BK9R7","cxb-ask","Send the user's request to specified AI provider asynchronously","https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge\u002Fblob\u002Fmain\u002Fcodex_skills\u002Fcxb-ask\u002FSKILL.md",[],[126,127,90,128,129,130],"cxb ask","ask","request","send","user",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":32},"01M6KJV5WSC2RBTFN8J0V54NRG","cxb-task-run","Execute current step in AutoFlow workflow. Use when running \u002Fcxb-task-run or continuing task execution.","https:\u002F\u002Fgithub.com\u002Fmugsun\u002Fcurdx-bridge\u002Fblob\u002Fmain\u002Fclaude_skills\u002Fcxb-task-run\u002FSKILL.md",[],[138,139,140,141,142,26,29,143],"run","task","cxb task run","execution","use","workflow"]