[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6M8QR522PAV45K5K9WGBG3A":3,"skill-same:01M6M8QR522PAV45K5K9WGBG3A":65},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6M8QR522PAV45K5K9WGBG3A","openai-cli",null,"Use the OpenAI API from a shell to upload files, run batches, transcribe audio, save generated images, or export API data. Use for one-off API operations and shell workflows.","openai\u002Fopenai-cli","openai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F14957082?v=4","01M6AC29YGCR4S2NTJFV0G8B81","OpenAI","01M6M8QNM4ABWJ8GWE9ZNBJ4N2",1166,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-cli\u002Fblob\u002Fmain\u002Fskills\u002Fopenai-cli\u002FSKILL.md",[],[9,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"openai cli","cli","generated","for","batches","upload","files","images","export","use","operations","shell","Audio","api","data","transcribe","openai api","run","workflows","2026-11-10 10:12:30",false,"---\nname: openai-cli\ndescription: Use the OpenAI API from a shell to upload files, run batches, transcribe audio, save generated images, or export API data. Use for one-off API operations and shell workflows.\n---\n\n# OpenAI CLI\n\nCheck `openai --version`. Older Python SDK installations can provide a different `openai` executable.\nSearch offline with a few keywords, such as `openai explore transcribe audio`. Search returns text.\nRead the matching command's help before choosing an operation. Check whether it uploads data, starts remote work, or writes files.\n\n## Work with a batch request file\n\nChoose the upload purpose from the user's intended use. If that use is unclear, ask before uploading.\n\n- **Upload for later.** `openai files upload requests.jsonl --purpose batch --format json` returns file metadata. Read its `id` and stop after upload.\n- **Submit now.** `openai batches submit requests.jsonl` uploads the file and creates a batch. Add `--wait --output-dir .\u002Fresults` when the user wants the result files.\n- **Resume.** For an existing batch, use `openai batches wait BATCH_ID --output-dir .\u002Fresults`.\n\nIf an upload might have succeeded, check `openai files list` in the same project before retrying.\nIf batch creation might have succeeded, check `openai batches list`. Reuse confirmed IDs to avoid duplicate uploads or submissions.\n\n## Choose output for the next step\n\nFor API metadata, request `--format json` explicitly. Use `--format jsonl` for list records. Piping the default output still produces readable text.\nFor an image file, use the command's save options. Requesting JSON returns the API payload and bypasses automatic image saving.\nCheck the process exit status before consuming redirected output. A failed stream or later page can leave partial data.\n\nUse the workload's configured credentials. For untrusted JSON or YAML on stdin, set `OPENAI_UNTRUSTED_STDIN=1` to prevent file reads from that input.\n","# OpenAI CLI\n\nCheck `openai --version`. Older Python SDK installations can provide a different `openai` executable.\nSearch offline with a few keywords, such as `openai explore transcribe audio`. Search returns text.\nRead the matching command's help before choosing an operation. Check whether it uploads data, starts remote work, or writes files.\n\n## Work with a batch request file\n\nChoose the upload purpose from the user's intended use. If that use is unclear, ask before uploading.\n\n- **Upload for later.** `openai files upload requests.jsonl --purpose batch --format json` returns file metadata. Read its `id` and stop after upload.\n- **Submit now.** `openai batches submit requests.jsonl` uploads the file and creates a batch. Add `--wait --output-dir .\u002Fresults` when the user wants the result files.\n- **Resume.** For an existing batch, use `openai batches wait BATCH_ID --output-dir .\u002Fresults`.\n\nIf an upload might have succeeded, check `openai files list` in the same project before retrying.\nIf batch creation might have succeeded, check `openai batches list`. Reuse confirmed IDs to avoid duplicate uploads or submissions.\n\n## Choose output for the next step\n\nFor API metadata, request `--format json` explicitly. Use `--format jsonl` for list records. Piping the default output still produces readable text.\nFor an image file, use the command's save options. Requesting JSON returns the API payload and bypasses automatic image saving.\nCheck the process exit status before consuming redirected output. A failed stream or later page can leave partial data.\n\nUse the workload's configured credentials. For untrusted JSON or YAML on stdin, set `OPENAI_UNTRUSTED_STDIN=1` to prevent file reads from that input.\n",{"name":5,"description":7},"main","334f332fc6a5f8298b20548d4fbbbb30c940cdc5","skills\u002Fopenai-cli",94,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-cli","https:\u002F\u002Fgithub.com\u002Fopenai","https:\u002F\u002Fopenai.com\u002F","2026-11-14 10:03:02",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add openai\u002Fopenai-cli --skill openai-cli",{"tool":57,"command":58},"bunx","bunx skills add openai\u002Fopenai-cli --skill openai-cli",{"tool":60,"command":61},"pnpm","pnpm dlx skills add openai\u002Fopenai-cli --skill openai-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-cli\u002Fblob\u002Fmain\u002Fskills\u002Fopenai-cli\u002FSKILL.md",true,[],[]]