Fetcher openai client
Skill Ahoo-Wang/skills/plugins/ahoo-fetcher-skills/skills/fetcher-openai-client
A central aggregation repository for Agent Skills from Ahoo-Wang's open source projects.
npx -y skills add Ahoo-Wang/skills --skill fetcher-openai-clientAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when calling OpenAI Chat Completions through Fetcher, configuring OpenAI or ChatClient, sending streaming or non-streaming chat completion requests, adding interceptors, using completion result extractors, or handling OpenAI client errors.
SKILL.md
2.0 KB, as published. Nobody here has run it
fetcher-openai-client
Use This Skill When
- The task needs an OpenAI chat completion client built on Fetcher.
- The task mentions
OpenAI,ChatClient, chat completions, streaming completions, or completion result extractors. - The task needs OpenAI request interceptors, base URL configuration, or error handling.
- The task is about this repository's
@ahoo-wang/fetcher-openaipackage rather than general OpenAI platform usage.
Workflow
- Configure the Fetcher-backed
OpenAIentry point before usingChatClientdirectly. - Choose streaming or non-streaming result extraction based on the caller contract.
- Use interceptors for auth, tracing, or request customization rather than scattering request changes.
- For current OpenAI platform behavior, verify against official docs before changing package semantics.
- Load
references/api.mdfor class APIs, type shapes, streaming examples, and error handling patterns.
Key Practices
- Keep this skill scoped to Fetcher integration code; route generic OpenAI API questions to official docs workflows.
- Do not duplicate SSE parsing logic here when
fetcher-llm-streamingcovers the stream mechanics. - Make streaming consumers handle partial data and errors explicitly.
References
references/api.md: Detailed package API, examples, and edge-case guidance. Load it only when the task needs OpenAI and ChatClient APIs, chat completion types, streaming and non-streaming examples, interceptors, and error handling snippets.
Related Skills
- $fetcher-llm-streaming: Use for lower-level SSE and token stream handling.
- $fetcher-integration: Use for core Fetcher interceptors and request lifecycle behavior.
- $fetcher-react-hooks: Use when OpenAI calls are exposed through React state hooks.