Install
openclaw skills install @extraskittles/export-http-postmanExport an HTTP API endpoint from the current work project into a Postman-importable collection JSON file. Use when the user asks in Chinese or English to export an interface/API/HTTP endpoint, generate a Postman file, 导出接口, 导出http接口, 生成postman文件, or mentions the personal skill display name "导出接口Postman文件".
openclaw skills install @extraskittles/export-http-postmanIdentify the target endpoint from the user's wording.
rg for controller paths, route decorators, servlet mappings, OpenAPI annotations, Feign clients, or framework-specific HTTP route declarations.Infer the service name and domain.
spring.application.name, module/service directory name, deployment config, or gateway route config.references/domains.md for the stored domain list. Do not read C:\Windows\System32\drivers\etc\hosts during ordinary endpoint exports.references/domains.md, ask the user for the domain before generating the final Postman file.references/domains.md before generating the Postman file. Prefer scripts/create_postman_collection.py --service <service-name> --domain <domain> --remember-domain so future exports can reuse the answer.references/domains.md as the durable memory for service/domain answers. Do not rely only on chat history.Build a Postman collection.
scripts/create_postman_collection.py to generate the collection shell, then patch the JSON only for details the script cannot express cleanly.Save the deliverable.
outputs directory.order-create-postman-collection.json.Validate before finishing.
python scripts/create_postman_collection.py --help if the script was changed.From this skill directory:
python scripts/create_postman_collection.py \
--name "Service endpoint" \
--method POST \
--base-url "https://example.company.com" \
--path "/api/example/{id}" \
--query "debug=false" \
--header "Content-Type: application/json" \
--body-json-file "request-body.json" \
--output "example-postman-collection.json"
Use --domains references/domains.md --service <service-name> --print-domain-candidates to inspect stored domain candidates.
Use --domains references/domains.md --service <service-name> --domain <domain> --remember-domain after the user answers a missing-domain question.