The Ollama REST API as it is on this machine - /api/generate and /api/chat with streaming NDJSON, /api/embed vs the older /api/embeddings, /api/tags, /api/ps, /api/show, pull progress, create/copy/delete, the OpenAI-compatible /v1 endpoints, the options map, keep_alive, the error shapes, and the environment variables that change what the daemon does.
安装
npx skills add vecnode/vn-code --skill ollama-apinpx skills add vecnode/vn-code --skill ollama-api -a claude-code -gnpx skills add vecnode/vn-code --skill ollama-api -a codex -ggemini skills install https://github.com/vecnode/vn-code.git --path packages/dsh-ollama/skills/ollama-apigh skill install vecnode/vn-code ollama-apigit clone --depth 1 https://github.com/vecnode/vn-code /tmp/vecnode__vn-code
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/vecnode__vn-code/packages/dsh-ollama/skills/ollama-api ~/.claude/skills/ollama-api # Claude Code
cp -R /tmp/vecnode__vn-code/packages/dsh-ollama/skills/ollama-api ~/.agents/skills/ollama-api # Codex, Cursor, Gemini CLI, Copilot, OpenCode