소스 정보
- 저장소
- Aradotso/devtools-skills
- 최근 소스 활동
- 2026년 5월 16일 22:48
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Aradotso/devtools-skills --skill openai-cli명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Sync DeviantArt galleries to local folders with OAuth 2.1 PKCE, SQLite indexing, and scheduled syncs using da-cli
Use oh-my-cli to run an autonomous code agent that can read/write files, execute shell commands, and manage multi-turn coding tasks with approval gates and session persistence
CLI tool that detects AI-written text patterns using 33 Wikipedia-documented signs, with draft checking and humanization prompts — zero dependencies
SOC 직업 분류 기준
SKILL.md 표시 중
| name | openai-cli |
| description | Official OpenAI CLI for interacting with the OpenAI REST API from the command line |
| triggers | ["use the OpenAI CLI","call OpenAI API from terminal","make OpenAI requests with CLI","use openai command line tool","interact with OpenAI from shell","openai cli commands","call gpt from command line","query OpenAI API in terminal"] |
Skill by ara.so — Devtools Skills collection.
The official CLI for the OpenAI REST API. Provides a command-line interface to interact with OpenAI's API endpoints including chat completions, embeddings, fine-tuning, and admin operations.
brew install openai/tools/openai
go install 'github.com/openai/openai-cli/cmd/openai@latest'
Ensure Go bin is in your PATH:
export PATH="$PATH:$(go env GOPATH)/bin"
Clone the repository and run locally:
git clone https://github.com/openai/openai-cli.git
cd openai-cli
./scripts/run args...
Set up your API credentials using environment variables:
export OPENAI_API_KEY="sk-..."
export OPENAI_ADMIN_KEY="sk-admin-..." # For admin endpoints
export OPENAI_ORG_ID="org-..." # Optional
export OPENAI_PROJECT_ID="proj_..." # Optional
Or use flags on each command:
openai --api-key sk-... responses create --input "Hello"
| Variable | Purpose | Required |
|---|---|---|
OPENAI_API_KEY | Standard API authentication | For standard endpoints |
OPENAI_ADMIN_KEY | Admin API authentication | For admin endpoints |
OPENAI_ORG_ID | Organization identifier | No |
OPENAI_PROJECT_ID | Project identifier | No |
OPENAI_WEBHOOK_SECRET | Webhook verification | No |
openai [resource] <command> [flags...]
Create a chat completion:
openai responses create \
--input "Explain quantum computing in simple terms" \
--model gpt-4
Stream responses:
openai responses create \
--input "Write a poem about coding" \
--model gpt-4 \
--stream
With system message and temperature:
openai responses create \
--input "What is recursion?" \
--model gpt-4 \
--system "You are a computer science teacher" \
--temperature 0.7
Upload a file:
openai files create \
--file @training_data.jsonl \
--purpose fine-tune
List files:
openai files list
Retrieve file content:
openai files retrieve file-abc123
Delete a file:
openai files delete file-abc123
Generate embeddings:
openai embeddings create \
--input "The quick brown fox" \
--model text-embedding-3-small
Multiple inputs:
openai embeddings create \
--input "First text" \
--input "Second text" \
--model text-embedding-3-large
Create a fine-tuning job:
openai fine-tuning jobs create \
--training-file file-abc123 \
--model gpt-3.5-turbo
List fine-tuning jobs:
openai fine-tuning jobs list
Check job status:
openai fine-tuning jobs retrieve ftjob-abc123
Cancel a job:
openai fine-tuning jobs cancel ftjob-abc123
Usage statistics:
openai admin:organization:usage completions \
--start-time 1735689600 \
--end-time 1735776000 \
--bucket-width 1d
Use @ prefix for file paths:
openai responses create --arg @input.txt
Within JSON/YAML:
openai <command> --arg '{image: "@image.jpg"}'
openai <command> <<YAML
arg:
image: "@abe.jpg"
YAML
Force string encoding:
openai <command> --arg @file://myfile.txt
Force base64 encoding:
openai <command> --arg @data://image.png
Absolute paths:
openai <command> --arg @file:///tmp/file.txt
To pass a literal @ character:
openai <command> --username '\@username'
Control output format with --format:
# Pretty-printed (default for TTY)
openai responses create --input "Hello" --format pretty
# Raw JSON
openai responses create --input "Hello" --format json
# JSONL (one JSON object per line)
openai responses create --input "Hello" --format jsonl
# YAML
openai responses create --input "Hello" --format yaml
# Raw response body
openai responses create --input "Hello" --format raw
Use GJSON syntax to extract specific fields:
# Get just the message content
openai responses create \
--input "Hello" \
--transform "choices.0.message.content"
# Get multiple fields
openai responses create \
--input "Hello" \
--transform "{id: id, content: choices.0.message.content}"
Transform errors:
openai responses create \
--input "Hello" \
--format-error json \
--transform-error "error.message"
--api-key # API key (or use OPENAI_API_KEY)
--admin-api-key # Admin key (or use OPENAI_ADMIN_KEY)
--organization # Org ID (or use OPENAI_ORG_ID)
--project # Project ID (or use OPENAI_PROJECT_ID)
--base-url # Custom API endpoint
--debug # Enable debug logging with HTTP details
--version, -v # Show CLI version
--help # Show help for command
--format # Output format (auto, explore, json, jsonl, pretty, raw, yaml)
--format-error # Error output format
--transform # GJSON transform for data output
--transform-error # GJSON transform for error output
while true; do
read -p "You: " input
openai responses create \
--input "$input" \
--model gpt-4 \
--format pretty
done
Process multiple inputs from a file:
while IFS= read -r line; do
openai responses create \
--input "$line" \
--model gpt-3.5-turbo \
--format json >> results.jsonl
done < inputs.txt
Pass structured data:
openai responses create \
--input "Translate to French" \
--model gpt-4 \
--max-tokens 100 \
--temperature 0.3
echo "Summarize this text" | openai responses create \
--input "$(cat)" \
--model gpt-4
Or:
cat document.txt | openai responses create \
--input "Summarize: $(cat -)" \
--model gpt-4
openai responses create \
--input '{text: "What is in this image?", image: "@photo.jpg"}' \
--model gpt-4-vision-preview
For Azure or custom endpoints:
openai --base-url https://custom.openai.azure.com/v1 \
responses create \
--input "Hello" \
--model gpt-4
Enable debug mode to see full HTTP requests/responses:
openai --debug responses create --input "Test"
Warning: Debug logs include request/response bodies which may contain sensitive data.
Ensure Go bin is in your PATH:
echo $PATH | grep "$(go env GOPATH)/bin"
# If not found:
export PATH="$PATH:$(go env GOPATH)/bin"
Verify API key is set:
echo $OPENAI_API_KEY
# Should output: sk-...
Check key validity:
openai responses create --input "test" --model gpt-3.5-turbo
Use absolute paths or verify relative paths:
# Absolute path
openai files create --file @/full/path/to/file.jsonl --purpose fine-tune
# Verify file exists
ls -la @file.jsonl
Add delays between requests:
for i in {1..10}; do
openai responses create --input "Request $i"
sleep 1
done
List available models (if endpoint exists):
openai models list
Check model name spelling and access permissions.
Force format explicitly:
openai responses create --input "Hello" --format json
Check if output is being piped (auto-detection may choose raw format):
openai responses create --input "Hello" --format pretty | less
For development, link against different Go SDK versions:
# Link to specific version
./scripts/link github.com/openai/openai-go@v1.2.3
# Link to local SDK copy
./scripts/link ../openai-go
# Default (../openai-go)
./scripts/link
Check CLI version:
openai --version
# or
openai -v
Get help:
openai --help
openai responses --help
openai responses create --help