alanalvestech/hitank/openai
Claude Code and agent skill by alanalvestech/hitank
- community
Checking that the SKILL.md file is still in the repository.
Manage OpenAI models, assistants, files and usage via REST API
Install
npx vskill@latest install alanalvestech/hitank/openaiSKILL.md
/openai
Connect to the OpenAI API to manage models, assistants, files, fine-tuning jobs and usage. Pure Ruby, zero gems — stdlib only.
Structure
Setup (check before using)
If the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to create an API key:
You need an OpenAI API key. Go to API Keys in the OpenAI Platform dashboard:https://platform.openai.com/api-keysClick Create new secret key, give it a name (e.g. "hitank"), and copy the key.Paste the key here.
Step 2 — When the user pastes the key, save it:
If the script outputs an error, the key is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
Flow
The argument $ARGUMENTS may contain a model name or assistant ID.
Step 1: List models
Present the models to the user. If $ARGUMENTS matches a model name, highlight it.
Step 2: List assistants
Present the assistants. If $ARGUMENTS matches an assistant ID, show its details automatically.
Step 3: Actions
Get assistant details:
List uploaded files:
Get file details:
Delete a file (requires user confirmation):
Show the file details first, then ask: "Do you want to delete this file?" Only execute after a "yes".
Get usage stats (last 30 days):
List fine-tuning jobs:
Notes
- Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
- Auth via Bearer token in Authorization header
- Token file:
~/.config/openai/token(outside the repo, never commit) - Deleting files requires explicit user confirmation
- Assistants API requires the
OpenAI-Beta: assistants=v2header - Base URL:
https://api.openai.com/v1
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/openai/SKILL.md
Popularity
- Repository stars
- 33
- Repository forks
- 1
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alanalvestech/hitank/openai)