[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A33RM32T1EZX64XK0D95NW":3,"skill-same:01M7A33RM32T1EZX64XK0D95NW":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":44,"install":45,"resources":58},"01M7A33RM32T1EZX64XK0D95NW","local-llm-ollama",null,"Configure Hermes Agent to use local LLMs via Ollama — discover GGUF files, import models, switch provider, test connectivity, and verify tool calling support.","12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI","12103541","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F48291538?v=4","01M7A2PSM93DH9YY7EHRK5RF27","NAWAWI","01M7A2PSMSGV0S7KCD9312BN4M",0,"MIT","https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fmlops\u002Flocal-llm-ollama\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: local-llm-ollama\ndescription: Configure Hermes Agent to use local LLMs via Ollama — discover GGUF files, import models, switch provider, test connectivity, and verify tool calling support.\nversion: 1.0.0\nauthor: Agent\nlicense: MIT\nplatforms: [windows, linux, macos]\ndependencies: [ollama]\nmetadata:\n  hermes:\n    tags: [ollama, local-model, gguf, hermes-config, openai-compatible]\n---\n\n# Local LLM via Ollama (Hermes Agent)\n\nUse this skill when you need to switch Hermes Agent from a cloud provider to a **local model served by Ollama**. Covers model discovery, config changes, connectivity testing, and common pitfalls.\n\n## When to use\n\n- User asks \"aktifkan model lokal\" \u002F \"gunakan model AI dari drive D\u002FE\" \u002F \"switch ke local model\"\n- User has GGUF files on a local drive and wants Hermes to use them\n- User has Ollama installed and wants to use a local model instead of a cloud provider\n- Verify that a local model supports tool calling before switching\n\n## Prerequisites\n\n- **Ollama** must be installed and the server running at `http:\u002F\u002Flocalhost:11434`\n  - Check: `which ollama && ollama --version`\n  - Check server: `curl -s http:\u002F\u002Flocalhost:11434\u002Fapi\u002Ftags`\n- GGUF model must be imported into Ollama or available on disk\n\n## Workflow\n\n### 1. Discover Local Models\n\nCheck what models are already in Ollama:\n\n```bash\ncurl -s http:\u002F\u002Flocalhost:11434\u002Fapi\u002Ftags | python -c \"\nimport sys, json\nfor m in json.load(sys.stdin).get('models', []):\n    caps = ', '.join(m.get('capabilities', []))\n    print(f\\\"  {m['name']:35s} {m['details']['parameter_size']:8s} [{caps}]\\\")\n\"\n```\n\n**Tool calling support is critical** — models without `tools` capability cannot use Hermes tools (terminal, file, etc.). They'll work for chat only.\n\nSupported (`tools` in capabilities): qwen2.5, llama3.1, gemma4, qwen3\nNot supported: gemma3, llava, most vision-only models\n\n### 2. Import a GGUF File into Ollama\n\nIf the user has a `.gguf` file on a local drive (e.g., `D:\u002Fmodels\u002F`):\n\n```bash\n# Check what exists\nls -lah \u002Fd\u002Fmodels\u002F*.gguf 2>\u002Fdev\u002Fnull\n\n# Create Ollama Modelfile\ncat > \u002Ftmp\u002FModelfile \u003C\u003C 'EOF'\nFROM D:\\\\models\\\\your-model-name.gguf\n\nPARAMETER temperature 0.7\nPARAMETER top_p 0.9\nPARAMETER num_ctx 8192\n\nTEMPLATE \"\"\"{{ .Prompt }}\"\"\"\n\nSYSTEM \"Jawab dengan jelas dan lengkap.\"\nEOF\n\n# Create the model in Ollama\nollama create my-model-name -f \u002Ftmp\u002FModelfile\n```\n\n### 3. Switch Hermes to Local Model\n\n```bash\n# Set Ollama as the provider (OpenAI-compatible API)\nhermes config set model.provider openai\nhermes config set model.base_url http:\u002F\u002Flocalhost:11434\u002Fv1\nhermes config set model.default \u003Cmodel-name>\n```\n\n**Verify the config:**\n\n```bash\nhermes config show | grep -A3 \"Model:\"\n```\n\nExpected output:\n```\nModel:        {'base_url': 'http:\u002F\u002Flocalhost:11434\u002Fv1', 'default': 'gemma4:latest', 'provider': 'openai'}\n```\n\n### 4. Test the Model\n\n```bash\ncurl -s http:\u002F\u002Flocalhost:11434\u002Fapi\u002Fgenerate \\\n  -d '{\"model\":\"gemma4:latest\",\"prompt\":\"Halo, jawab dalam 1 kalimat\",\"stream\":false}' \\\n  | python -c \"import sys,json; print(json.load(sys.stdin)['response'])\"\n```\n\n### 5. Begin Using It\n\nThe config change takes effect on the **next session**. Tell the user to type `\u002Fnew` or `\u002Freset` in chat, or start a fresh `hermes` from terminal.\n\nOne-shot test without switching session:\n```bash\nhermes chat -q \"Halo, apa kabar?\"\n```\n\n## Pitfalls\n\n- **`PermissionError: [WinError 5]` on config.yaml** — First `hermes config set` may succeed, subsequent ones fail due to file locking. Retry each setting individually. If persistent, edit via `hermes config edit`.\n- **Session must be restarted** — `model.default` and `model.base_url` are read at session start. Always tell user to type `\u002Fnew`.\n- **No tool calling** — Without `tools` capability, Hermes has no terminal\u002Ffile\u002Fweb tools. Session becomes chat-only.\n- **Ollama not running** — If API check fails, run `ollama serve` or start from system tray (Windows).\n- **Case-sensitive model names** — Use exact names from `ollama list` or the API tags response.\n- **Slow first load** — First request may take 30-60s loading model into memory.\n- **Context length** — Models with 131K context may need lower `num_ctx` in Modelfile if RAM is limited.\n\n## Model Recommendations for Hermes\n\n| Model | Size | Tool Calling | Thinking | Notes |\n|-------|------|:---:|:--------:|-------|\n| **gemma4:latest** | 8B | ✅ | ✅ | Best balance, newest |\n| **qwen2.5:7b** | 7.6B | ✅ | ❌ | Stable, lightweight |\n| **llama3.1:8b** | 8B | ✅ | ❌ | Classic, reliable |\n| **qwen2.5:3b** | 3.1B | ✅ | ❌ | Fastest, lowest quality |\n| **qwen3.6:latest** | 36B MoE | ✅ | ✅ | Most capable, needs 24GB+ RAM |","# Local LLM via Ollama (Hermes Agent)\n\nUse this skill when you need to switch Hermes Agent from a cloud provider to a **local model served by Ollama**. Covers model discovery, config changes, connectivity testing, and common pitfalls.\n\n## When to use\n\n- User asks \"aktifkan model lokal\" \u002F \"gunakan model AI dari drive D\u002FE\" \u002F \"switch ke local model\"\n- User has GGUF files on a local drive and wants Hermes to use them\n- User has Ollama installed and wants to use a local model instead of a cloud provider\n- Verify that a local model supports tool calling before switching\n\n## Prerequisites\n\n- **Ollama** must be installed and the server running at `http:\u002F\u002Flocalhost:11434`\n  - Check: `which ollama && ollama --version`\n  - Check server: `curl -s http:\u002F\u002Flocalhost:11434\u002Fapi\u002Ftags`\n- GGUF model must be imported into Ollama or available on disk\n\n## Workflow\n\n### 1. Discover Local Models\n\nCheck what models are already in Ollama:\n\n```bash\ncurl -s http:\u002F\u002Flocalhost:11434\u002Fapi\u002Ftags | python -c \"\nimport sys, json\nfor m in json.load(sys.stdin).get('models', []):\n    caps = ', '.join(m.get('capabilities', []))\n    print(f\\\"  {m['name']:35s} {m['details']['parameter_size']:8s} [{caps}]\\\")\n\"\n```\n\n**Tool calling support is critical** — models without `tools` capability cannot use Hermes tools (terminal, file, etc.). They'll work for chat only.\n\nSupported (`tools` in capabilities): qwen2.5, llama3.1, gemma4, qwen3\nNot supported: gemma3, llava, most vision-only models\n\n### 2. Import a GGUF File into Ollama\n\nIf the user has a `.gguf` file on a local drive (e.g., `D:\u002Fmodels\u002F`):\n\n```bash\n# Check what exists\nls -lah \u002Fd\u002Fmodels\u002F*.gguf 2>\u002Fdev\u002Fnull\n\n# Create Ollama Modelfile\ncat > \u002Ftmp\u002FModelfile \u003C\u003C 'EOF'\nFROM D:\\\\models\\\\your-model-name.gguf\n\nPARAMETER temperature 0.7\nPARAMETER top_p 0.9\nPARAMETER num_ctx 8192\n\nTEMPLATE \"\"\"{{ .Prompt }}\"\"\"\n\nSYSTEM \"Jawab dengan jelas dan lengkap.\"\nEOF\n\n# Create the model in Ollama\nollama create my-model-name -f \u002Ftmp\u002FModelfile\n```\n\n### 3. Switch Hermes to Local Model\n\n```bash\n# Set Ollama as the provider (OpenAI-compatible API)\nhermes config set model.provider openai\nhermes config set model.base_url http:\u002F\u002Flocalhost:11434\u002Fv1\nhermes config set model.default \u003Cmodel-name>\n```\n\n**Verify the config:**\n\n```bash\nhermes config show | grep -A3 \"Model:\"\n```\n\nExpected output:\n```\nModel:        {'base_url': 'http:\u002F\u002Flocalhost:11434\u002Fv1', 'default': 'gemma4:latest', 'provider': 'openai'}\n```\n\n### 4. Test the Model\n\n```bash\ncurl -s http:\u002F\u002Flocalhost:11434\u002Fapi\u002Fgenerate \\\n  -d '{\"model\":\"gemma4:latest\",\"prompt\":\"Halo, jawab dalam 1 kalimat\",\"stream\":false}' \\\n  | python -c \"import sys,json; print(json.load(sys.stdin)['response'])\"\n```\n\n### 5. Begin Using It\n\nThe config change takes effect on the **next session**. Tell the user to type `\u002Fnew` or `\u002Freset` in chat, or start a fresh `hermes` from terminal.\n\nOne-shot test without switching session:\n```bash\nhermes chat -q \"Halo, apa kabar?\"\n```\n\n## Pitfalls\n\n- **`PermissionError: [WinError 5]` on config.yaml** — First `hermes config set` may succeed, subsequent ones fail due to file locking. Retry each setting individually. If persistent, edit via `hermes config edit`.\n- **Session must be restarted** — `model.default` and `model.base_url` are read at session start. Always tell user to type `\u002Fnew`.\n- **No tool calling** — Without `tools` capability, Hermes has no terminal\u002Ffile\u002Fweb tools. Session becomes chat-only.\n- **Ollama not running** — If API check fails, run `ollama serve` or start from system tray (Windows).\n- **Case-sensitive model names** — Use exact names from `ollama list` or the API tags response.\n- **Slow first load** — First request may take 30-60s loading model into memory.\n- **Context length** — Models with 131K context may need lower `num_ctx` in Modelfile if RAM is limited.\n\n## Model Recommendations for Hermes\n\n| Model | Size | Tool Calling | Thinking | Notes |\n|-------|------|:---:|:--------:|-------|\n| **gemma4:latest** | 8B | ✅ | ✅ | Best balance, newest |\n| **qwen2.5:7b** | 7.6B | ✅ | ❌ | Stable, lightweight |\n| **llama3.1:8b** | 8B | ✅ | ❌ | Classic, reliable |\n| **qwen2.5:3b** | 3.1B | ✅ | ❌ | Fastest, lowest quality |\n| **qwen3.6:latest** | 36B MoE | ✅ | ✅ | Most capable, needs 24GB+ RAM |",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":34,"description":7,"dependencies":38},"Agent","1.0.0",{"hermes":27},{"tags":28},[29,30,31,32,33],"ollama","local-model","gguf","hermes-config","openai-compatible",[35,36,37],"windows","linux","macos",[29],"main","96bab5c1e3ed763a77711f59b371e678af30971d","skills\u002Fmlops\u002Flocal-llm-ollama","https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI","https:\u002F\u002Fgithub.com\u002F12103541","2026-08-04 09:54:44",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add 12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI --skill local-llm-ollama",{"tool":51,"command":52},"bunx","bunx skills add 12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI --skill local-llm-ollama",{"tool":54,"command":55},"pnpm","pnpm dlx skills add 12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI --skill local-llm-ollama","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fmlops\u002Flocal-llm-ollama\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fsession-discovery.md","REFERENCE","参考文档",2958,"https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fmlops\u002Flocal-llm-ollama\u002Freferences\u002Fsession-discovery.md",[66,73,80,87,94,101],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7A39S6PZQ8P0NYNNW6BDC8V","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7A39MWGGFPJ2VXT2EJD8JAD","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7A39J23RCZQ6JS773JX0CT6","spike","Throwaway experiments to validate an idea before build.","https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fspike\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7A39FQNTYVFXDGTCGY9HSTT","simplify-code","Parallel 4-agent cleanup of recent code changes.","https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fsimplify-code\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7A39CRM98DQ8K3B89MYBWVN","requesting-code-review","Pre-commit review: security scan, quality gates, auto-fix.","https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Frequesting-code-review\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7A398Q7J4YEFPWVZBXMW769","python-debugpy","Debug Python: pdb REPL + debugpy remote (DAP).","https:\u002F\u002Fgithub.com\u002F12103541\u002FBACKUP-SKILLS-TOOLS-MCP-MEMORI\u002Fblob\u002Fmain\u002Fskills\u002Fsoftware-development\u002Fpython-debugpy\u002FSKILL.md",[],[]]