SkillAgentSearch skills...

Ofc

A command-line Ollama client for scripting.

Install / Use

/learn @elijah-potter/Ofc
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Ollama Function Caller (ofc)

The Ollama function caller, otherwise known as ofc, is a command-line tool for prompting Ollama models locally on your system. There are other programs out there that do similar things, but they either don't support streaming or don't give me access to important settings, like context length or temperature.

In order to use ofc, you need to have Ollama on your system. You may install it from the Ollama website.

Installation

ofc is installable from either crates.io or this repository.

cargo install ofc --locked

# Or...
cargo install --git https://github.com/elijah-potter/ofc --locked

Usage

It's pretty simple. Just call ofc with the user prompt of your desire.

ofc "What is the meaning of life?"

You may can change the model from the default (phi4) and control context size and temperature.

ofc --context 8192 --temperature 0.3 --model tinyllama "What is the best pizza?"

You can also point ofc at a different Ollama host by passing the full base URL.

ofc --host http://192.168.1.50:11434 "Summarize the latest logs"

Previous Art

ofc was inspired by ooo.

View on GitHub
GitHub Stars80
CategoryDevelopment
Updated10d ago
Forks2

Languages

Rust

Security Score

95/100

Audited on Mar 26, 2026

No findings