AGENT SKILL

ollama-hub

Manage, benchmark, and switch between local Ollama models with performance comparison.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

description
Manage, benchmark, and switch between local Ollama models with performance comparison.

02 资源文件 2

03 SKILL.md 正文

Ollama Hub

Manage and benchmark local Ollama models.

Use when listing models, pulling new ones, benchmarking performance, or comparing models.

Requirements

  • Ollama installed and running (ollama serve or systemd service)
  • No API keys needed

Instructions

  1. List installed models:

    ollama list                    # name, size, modified date
    ollama show <model>            # detailed info (parameters, template, license)
    
  2. Pull / remove models:

    ollama pull llama3.3:70b       # download a model
    ollama pull mistral:latest     # latest version
    ollama rm <model>              # remove (confirm with user first!)
    
  3. Benchmark a model:

    # Time a response
    time ollama run <model> "Explain quantum computing in 3 sentences" --verbose 2>&1
    
    # Extract tokens/sec from verbose output
    ollama run <model> "Hello" --verbose 2>&1 | grep "eval rate"
    
  4. Compare models — run same prompt across multiple models:

    ## ? Ollama Model Benchmark
    **Prompt:** "Explain quantum computing in 3 sentences"
    **Hardware:** [CPU/GPU specs]
    
    | Model | Size | Tokens/sec | Response Time | Quality |
    |-------|------|-----------|--------------|---------|
    | llama3.3:8b | 4.7GB | 42 t/s | 2.1s | ⭐⭐⭐⭐ |
    | mistral:7b | 4.1GB | 48 t/s | 1.8s | ⭐⭐⭐ |
    | phi3:mini | 2.3GB | 65 t/s | 1.2s | ⭐⭐⭐ |
    
  5. Check Ollama status:

    curl -s http://localhost:11434/api/tags | jq .    # API check
    systemctl status ollama                            # service status
    ollama ps                                          # running models
    

Model Naming

Format: name:tag — e.g., llama3.3:8b, mistral:latest, codellama:13b-instruct

Common tags: latest, 7b, 13b, 70b, instruct, code

Edge Cases

  • Ollama not running: Start with ollama serve or systemctl start ollama.
  • Insufficient disk space: Check df -h before pulling large models. 70B models need ~40GB.
  • Insufficient RAM: Models need RAM ≈ model size. 7B ≈ 8GB RAM, 70B ≈ 48GB RAM.
  • GPU vs CPU: Performance varies dramatically. Note hardware in benchmarks.
  • Model not found: Check spelling. Use ollama list to see available names. Search at ollama.com/library.
  • Slow downloads: Large models take time. Use ollama pull with patience; it supports resume.

Troubleshooting

  • Port 11434 in use: Another Ollama instance may be running. lsof -i :11434.
  • CUDA errors: Check GPU drivers with nvidia-smi. Reinstall Ollama if needed.
  • Model corrupted: Remove and re-pull: ollama rm <model> && ollama pull <model>.

04 同仓库更多 Skills

kbarbel640-del
kbarbel640-del/skills

crowd-prompting

A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.

★ 1
kbarbel640-del
kbarbel640-del/skills

dilemm-ai

Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).

★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

★ 1
kbarbel640-del
kbarbel640-del/skills

arxiv-paper-reviews

Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.

★ 1
kbarbel640-del
kbarbel640-del/skills

git-summary

Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.

★ 1
kbarbel640-del
kbarbel640-del/skills

agent-constitution

Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.

★ 1