Ollama

From 0dayInc/pwn · View interactive version

Ollama is an AI agent skill from the GitHub repository 0dayInc/pwn. Drive PWN::AI::Ollama from pwn_eval.

How to use this skill

Skill file

PWN::AI::Ollama

Direct client for a local/remote Ollama server REST API. No API key is required for a stock ollama serve (http://127.0.0.1:11434). Paths are native Ollama: GET /api/tags POST /api/chat (native tool_calls, options.num_ctx / num_predict) POST /api/embed POST /v1/chat/completions (OpenAI-compat shim) Spec: https://github.com/ollama/ollama/blob/main/docs/api.md

When to use

Call PWN::AI::Ollama from pwn_eval when the task needs this module.

Do not reimplement it in shell.

Methodologies

Generated from pwn/ai/ollama.rb. Prefer the public class methods below.

Class methods take (opts = {}) and read opts.

How to call

PWN::AI::Ollama.help
PWN::AI::Ollama.get_models(opts)

Public methods

References

Source

pwn/ai/ollama.rb

Verification

PWN::AI::Ollama.respond_to?(:get_models) after the

module is loaded. Read the source for parameter names.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.