Openai Assistants banner
MuhiminOsim MuhiminOsim

Openai Assistants

Development community

Description

# Setup: OpenAI Assistants API / ChatGPT Custom GPT ## OpenAI Assistants API Set `PROMPT.md` as the system instruction when creating your assistant: ```python from openai import OpenAI from pathlib import Path client = OpenAI() system_prompt = Path("PROMPT.md").read_text() assistant = client.beta.assistants.create( name="Code Refactoring Specialist", instructions=system_prompt, model="gpt-4o", tools=[{"type": "code_interpreter"}] # optional: for running code ) ``` Or via

Installation

Installs to ~/.claude/agents/muhiminosim-code-refactoring-skill-openai-assistants.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/MuhiminOsim/code-refactoring-skill/HEAD/agents/openai-assistants.md -o ~/.claude/agents/muhiminosim-code-refactoring-skill-openai-assistants.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository