Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

jan

БесплатноБез исполняемых скриптовНе проверен

Jan is an open-source desktop app that runs LLMs on your own computer and serves them through an OpenAI- and Anthropic-compatible local API. Use this skill to…

TerminalSkillsот TerminalSkills★ 221 звезда на GitHub

Об этом скилле

Jan — a local ChatGPT-style app with a built-in API server

Overview

Jan (release 0.8.8 at the time of writing) is a desktop application. It downloads models in GGUF format from Hugging Face, runs them with a built-in llama.cpp engine (MLX on Apple Silicon), and gives you a chat window. It can also connect cloud providers with your own API key. Its Local API Server exposes /v1/models and /v1/chat/completions (OpenAI format) and /v1/messages (Anthropic format) on your machine, so existing code can use a local model by changing a base URL.

Most of Jan is a GUI. What an agent can do reliably:

  • install the app with a package manager,
  • call the local API once the user has started the server,
  • read the data folder (model files, model.yml, threads, logs),
  • write the client code and configuration that uses the server.

GUI-only steps (tell the user to click, do not try to automate them): downloading models in the Hub, importing a local GGUF under Settings > Llama.cpp, and the Local API Server settings and Start Server button under Settings > Local API Server. The docs describe no config file or flag for those.

For a headless server with no desktop, use a server-first tool such as llama-cpp, localai or ollama instead.

Instructions

Install

On Linux the docs recommend Flatpak:

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install -y flathub ai.jan.Jan
flatpak run ai.jan.Jan

Other options are the .deb and the AppImage from https://github.com/janhq/jan/releases. Check the file against the SHA-256 digest GitHub lists for the release asset before installing it:

gh api repos/janhq/jan/releases/tags/v0.8.8 --jq '.assets[] | select(.name=="Jan_0.8.8_amd64.deb") | .digest'
# sha256:ed8b23d763a0fa99bc87c400ace65ebd448f1b066596cc0b8ec0d18bd8842c38
echo "ed8b23d763a0fa99bc87c400ace65ebd448f1b066596cc0b8ec0d18bd8842c38  Jan_0.8.8_amd64.deb" | sha256sum -c -
sudo apt-get install ./Jan_0.8.8_amd64.deb

The AppImage (Jan_0.8.8_amd64.AppImage, digest sha256:ef98314c0230e3066235fd195ff1ffdf652b85b264bbd9ddf337f99d077c9159) is checked the same way, then made executable with chmod +x. On Windows use the Microsoft Store listing or the .exe installer; on macOS use the .dmg (Apple Silicon only for local models: Intel Macs run only remote providers). Do not run a downloaded installer without telling the user which file and from where.

Get a model (GUI)

The user opens the Hub tab, picks a model whose fit pill says Fits, and clicks Download. A Hugging Face repo ID such as unsloth/Qwen3.5-9B-GGUF can be pasted into the Hub search box. Gated models need a token in Settings > General > Others > HuggingFace Token. A GGUF file already on disk is linked in place with Settings > Llama.cpp > Import.

Start the Local API Server (GUI)

The user opens Settings > Local API Server, sets the options below, and clicks Start Server. The server is ready when the server log shows JAN API listening at http://127.0.0.1:1337.

Setting Default Notes
Server Host 127.0.0.1 0.0.0.0 exposes it to the LAN; without an API key Jan still starts and only logs a warning that the API is reachable unauthenticated
Server Port 1337 any free port
API Prefix /v1
API Key empty set one; requests then need Authorization: Bearer <key>
Trusted Hosts extra hostnames allowed to reach the server
CORS on turn off if only scripts and CLIs call it

Keep the host at 127.0.0.1 unless another machine really needs it. If it does, set an API key first.

Call the API

Keep the key in an environment variable the user exports (JAN_API_KEY), never in the command history:

curl -s http://127.0.0.1:1337/v1/models \
  -H "Authorization: Bearer $JAN_API_KEY"

The id values in the result are the model names to send. Chat:

curl -s http://127.0.0.1:1337/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $JAN_API_KEY" \
  -d '{"model": "jan-v3-4b-base-instruct",
       "messages": [{"role": "user", "content": "Summarize: invoice 4471 is 12 days overdue."}],
       "stream": false}'

With the OpenAI SDK (Python):

import os
from openai import OpenAI

client = OpenAI(base_url="http://127.0.0.1:1337/v1", api_key=os.environ["JAN_API_KEY"])
reply = client.chat.completions.create(
    model="jan-v3-4b-base-instruct",
    messages=[{"role": "user", "content": "List three risks of an unpinned base image."}],
)
print(reply.choices[0].message.content)

The Anthropic-format endpoint takes the key in an x-api-key header: POST /v1/messages with model, max_tokens and messages. The OpenAI Responses API (/v1/responses) is listed as coming soon: do not use it.

A 401 means a missing or wrong key. A 404 means the model ID is not one returned by /v1/models or the

Полный SKILL.md на GitHub

Установить jan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_scores.json

FAQ

Что делает скилл jan?

Jan is an open-source desktop app that runs LLMs on your own computer and serves them through an OpenAI- and Anthropic-compatible local API. Use this skill to install Jan, start and secure its Local API Server (127.0.0.1:1337), call it from curl or the OpenAI SDK, and inspect its model and thread files in the data folder. It also marks which steps are GUI-only. Trigger phrases: "run a local model with Jan", "Jan local API server", "ChatGPT alternative that runs offline", "point my app at Jan".

Как установить скилл jan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл jan запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить jan с