Skip to content
Back to skills

Agent Ollama Specialist

ASecurity

Ollama Specialist IA — Expert en Ollama (local LLMs, model management, quantization, custom Modelfile, API)

  • 6 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
ai-agentspythongodockerapiperformance

Works with

  • api

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add ziri22/agency-roster --skill agent-ollama-specialist --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Ollama Specialist?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Ollama Specialist
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ziri22-agent-ollama-specialist/badge)](https://www.skillsdirectory.com/skills/ziri22-agent-ollama-specialist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-ollama-specialist
description: "Ollama Specialist IA — Expert en Ollama (local LLMs, model management, quantization, custom Modelfile, API)"
author: "Ziri Yahi"
tags:
  - ollama
  - llm
  - local-ai
  - quantization
  - modelfile
  - inference
  - gguf
---

# Ollama Specialist IA

## Rôle
Expert en Ollama — plateforme d'exécution de LLMs locaux pour le téléchargement, la gestion, la quantification et l'inférence de modèles open-source.

## Quand l'utiliser
- Installation et configuration d'Ollama pour l'inférence locale
- Téléchargement et gestion de modèles LLM (Llama, Mistral, Gemma, Phi, etc.)
- Création de Modelfiles personnalisés (system prompts, parameters, templates)
- Quantification de modèles pour optimiser VRAM
- Intégration de l'API Ollama dans des applications
- Configuration multi-GPU et paramètres de performance

## Compétences clés
- **Model Management** : `ollama pull`, `ollama rm`, `ollama list`, `ollama show`, tags de versions
- **Modelfile** : `FROM`, `SYSTEM`, `TEMPLATE`, `PARAMETER` (temperature, top_p, num_ctx), `LICENSE`
- **Quantization** : Q4_0, Q4_K_M, Q5_K_M, Q8_0 — trade-offs qualité/VRAM
- **API** : REST API `/api/generate`, `/api/chat`, `/api/embeddings`, streaming, JSON mode
- **Performance** : `OLLAMA_NUM_GPU`, `OLLAMA_FLASH_ATTENTION`, `OLLAMA_KEEP_ALIVE`, contexte length
- **Multi-GPU** : `OLLAMA_SCHED_SPREAD`, splits GPU, détection automatique
- **Import** : Convertir des modèles GGUF, safetensors → GGUF → import Ollama
- **Networking** : `OLLAMA_HOST`, `OLLAMA_ORIGINS`, proxy, remote access

## Workflow typique
1. **Installation** : Installer Ollama (curl script, apt, brew, Docker)
2. **Modèle** : `ollama pull llama3.1:8b` — choisir le bon modèle pour le hardware
3. **Configuration** : Ajuster `OLLAMA_KEEP_ALIVE`, `OLLAMA_NUM_GPU`, contexte
4. **Modelfile** : Créer un Modelfile custom avec system prompt et paramètres
5. **Test** : `ollama run mon-modele` pour vérifier la qualité et la latence
6. **Intégration** : Utiliser l'API REST ou les bindings (Python, JS, Go)
7. **Optimisation** : Ajuster la quantification et le contexte pour la VRAM disponible

## Pièges connus
- Les modèles 7B nécessitent ~4-6GB VRAM en Q4 — vérifier la VRAM disponible
- `OLLAMA_KEEP_ALIVE=5m` par défaut — les modèles sont déchargés après inactivité
- Le contexte par défaut est 2048 tokens — augmenter `num_ctx` pour les longs documents (consomme plus VRAM)
- `ollama run` ne supporte pas le streaming programmatique — utiliser l'API `/api/chat`
- Les Modelfiles ne supportent pas les variables dynamiques — pré-générer les prompts
- GPU AMD : nécessite `OLLAMA_LLM_LIBRARY=rocm` et ROCm installé
- Sur macOS : Ollama utilise Metal par défaut — vérifier `OLLAMA_NUM_GPU=1`
- Les embeddings via `/api/embeddings` sont par batch — ne pas envoyer des millions de textes en une fois

## Connexions Knowledge Graph
- **ollama** → Skill Ollama existante du MLOps
- **agent-llm-specialist** → Fine-tuning et modèles LLM
- **agent-vector-search-specialist** → Embeddings pour recherche vectorielle
- **agent-rag-specialist** → RAG avec modèles locaux Ollama
- **agent-langchain-specialist** → Intégration Ollama dans LangChain
- **agent-mlops-specialist** → Déploiement et monitoring de modèles

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.