# Bring your own model

> Bring your own model is an open-source agent skill for ai models and llm tooling. Imports your own LoRA or checkpoint into Runware so you can generate with it. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Runware/runware-skills/tree/main/skills/bring-your-own-model
- **Repository:** https://github.com/runware/runware-skills
- **GitHub stars:** 8
- **License:** MIT
- **Skill name:** bring-your-own-model
- **Collection:** https://github.com/Runware/runware-skills
- **Categories:** [AI models and LLM tooling](https://ai-powered.com/categories/ai-and-llm)
- **Listing updated:** 2026-12-03

## About

This skill walks an agent through importing a LoRA, checkpoint or similar safetensors file that is already hosted at a URL into the Runware platform. The agent submits a modelUpload task, assigns the model an AIR identifier under the account's own source, and then calls the imported model in image inference like any built-in model.

The workflow has the agent first confirm the live modelUpload schema, then submit the file URL, category, architecture and naming fields. It gives guidance on matching the base architecture to how the weights were trained, on checking readiness by re-submitting the same upload or querying model availability instead of waiting on the upload task, and on using the newer modelManagement operations for later updates or deletion.

The skill expects a publicly reachable or signed download URL for the weights, access to the Runware API and its runware-run and runware-models companion skills, and optional trigger words and default weights for LoRAs.

## When your agent uses it

> Upload and use your own LoRA or checkpoint on Runware. Use when the user says "import my LoRA", "upload my checkpoint", "host my own model", "I trained a model elsewhere, use it here", "bring my own weights", or wants to run their custom safetensors through the Runware API like any catalog model. You give it an AIR you control, then generate with it everywhere. To create a new LoRA from images on Runware rather than upload an existing one, use train-style-model.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Runware/runware-skills/tree/HEAD/skills/bring-your-own-model)
- [License: MIT](https://github.com/Runware/runware-skills/tree/HEAD/skills/bring-your-own-model)

## Features

- **Model upload setup:** Covers the required modelUpload fields, including category, architecture, format and download URL.
- **Permanent AIR assignment:** Explains how to assign a named AIR identifier that becomes the model's handle for future calls.
- **Idempotent re-submission:** Describes how repeating the same upload with the same AIR and identifier avoids duplicates.
- **Readiness checks:** Offers ways to confirm a deployed model is usable without relying on the upload task status.
- **Architecture matching:** Advises matching the base family to the training base so inference produces coherent output.
- **Lifecycle management:** Points to modelManagement for importing, updating and deleting imported models.

## Good for

- Import a LoRA I trained elsewhere into Runware
- Upload a custom checkpoint and generate images with it
- Host my own safetensors model and call it through the API
- Add trigger words and a default weight to an imported LoRA
- Delete an imported model I no longer need

## Install

### Claude Code

This skill ships in the `skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Runware/runware-skills
/plugin install skills@runware
```

Or copy only this skill to `~/.claude/skills/bring-your-own-model`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/bring-your-own-model &&
cp -R "$tmp/skills/bring-your-own-model" ~/.claude/skills/bring-your-own-model &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/bring-your-own-model` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/bring-your-own-model` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/bring-your-own-model &&
cp -R "$tmp/skills/bring-your-own-model" ~/.agents/skills/bring-your-own-model &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/bring-your-own-model` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/bring-your-own-model` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/bring-your-own-model &&
cp -R "$tmp/skills/bring-your-own-model" ~/.cursor/skills/bring-your-own-model &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/bring-your-own-model` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Runware/runware-skills.git --path skills/bring-your-own-model
```

Or copy the folder to `~/.gemini/skills/bring-your-own-model` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/bring-your-own-model`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Runware/runware-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/bring-your-own-model &&
cp -R "$tmp/skills/bring-your-own-model" ~/.copilot/skills/bring-your-own-model &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/bring-your-own-model` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Runware/runware-skills.git
```

Then copy `runware-skills/skills/bring-your-own-model` into your agent's skills folder as `bring-your-own-model`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need before Bring your own model can import a model?

A publicly fetchable or signed URL to a safetensors file, the weight category, the base architecture it was trained on, and an AIR identifier plus name and version to assign.

### Are local files accepted?

No. The download URL must be server-fetchable, so local files need to be hosted first.

### Are imported models public by default?

No. The private option defaults to true, and it should stay private unless the user intends to publish it.

### Can the same upload be submitted twice?

Yes. Re-submitting the same AIR and unique identifier is idempotent and returns the existing model rather than creating a duplicate.

### When should I use train-style-model instead?

When you want to create a new LoRA from images on Runware rather than upload an existing weight file.

### How do I install Bring your own model in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/bring-your-own-model to use it in all your projects, or to .claude/skills/bring-your-own-model in one project. Or install the skills plugin, which includes it: /plugin marketplace add Runware/runware-skills, then /plugin install skills@runware.

### Does Bring your own model run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Bring your own model?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Bring your own model?

The closest alternatives to Bring your own model are Runware models, Train style model, Agent platform model registry, LLM agent and Replicate to runware.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Runware models](https://ai-powered.com/skills/runware-models): Runware models is an open-source agent skill for ai models and llm tooling.
- [Train style model](https://ai-powered.com/skills/train-style-model): Train style model is an open-source agent skill for ai models and llm tooling.
- [Agent platform model registry](https://ai-powered.com/skills/agent-platform-model-registry): Agent platform model registry is an open-source agent skill for cloud and infrastructure.
- [LLM agent](https://ai-powered.com/skills/llm-agent): LLM agent is an open-source agent skill for ai models and llm tooling.
- [Replicate to runware](https://ai-powered.com/skills/replicate-to-runware): Replicate to runware is an open-source agent skill for ai models and llm tooling.
- [Model adaptation](https://ai-powered.com/skills/model-adaptation): Model adaptation is an open-source agent skill for ai models and llm tooling.
- [Runware prompting](https://ai-powered.com/skills/runware-prompting): Runware prompting is an open-source agent skill for design and media.
- [Runpod vllm](https://ai-powered.com/skills/runpod-vllm): Runpod vllm is an open-source agent skill for cloud and infrastructure.

---
Source: https://ai-powered.com/skills/bring-your-own-model
