Open Weights
ericrisco/rsc-harness
A skill your agent uses when choosing an open-weight LLM and clearing it for use — which family and size fit the task, the hardware and the budget, and above all whether the license permits shipping.
Select appropriate Ollama models for processing sensitive but legal content.
$ npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install divinevideo/divine-mobile ollama-model-safety-guardrails --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/ollama-model-safety-guardrails .claude/skills/ollama-model-safety-guardrails && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ollama-model-safety-guardrails" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/ollama-model-safety-guardrails into .claude/skills/ollama-model-safety-guardrails/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ollama-model-safety-guardrails", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/ollama-model-safety-guardrailsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install divinevideo/divine-mobile ollama-model-safety-guardrails --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/ollama-model-safety-guardrails .agents/skills/ollama-model-safety-guardrails && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ollama-model-safety-guardrails" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/ollama-model-safety-guardrails into .agents/skills/ollama-model-safety-guardrails/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ollama-model-safety-guardrails", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install divinevideo/divine-mobile ollama-model-safety-guardrails --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/ollama-model-safety-guardrails .cursor/skills/ollama-model-safety-guardrails && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ollama-model-safety-guardrails" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/ollama-model-safety-guardrails into .cursor/skills/ollama-model-safety-guardrails/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ollama-model-safety-guardrails", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/divinevideo/divine-mobile.git --path .agents/skills/ollama-model-safety-guardrails--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install divinevideo/divine-mobile ollama-model-safety-guardrails --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/ollama-model-safety-guardrails .gemini/skills/ollama-model-safety-guardrails && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ollama-model-safety-guardrails" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/ollama-model-safety-guardrails into .gemini/skills/ollama-model-safety-guardrails/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ollama-model-safety-guardrails", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install divinevideo/divine-mobile ollama-model-safety-guardrailsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/ollama-model-safety-guardrails .github/skills/ollama-model-safety-guardrails && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ollama-model-safety-guardrails" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/ollama-model-safety-guardrails into .github/skills/ollama-model-safety-guardrails/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ollama-model-safety-guardrails", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install divinevideo/divine-mobile ollama-model-safety-guardrails --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/divinevideo/divine-mobile.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/ollama-model-safety-guardrails .opencode/skills/ollama-model-safety-guardrails && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ollama-model-safety-guardrails" agent skill from https://github.com/divinevideo/divine-mobile/tree/main/.agents/skills/ollama-model-safety-guardrails into .opencode/skills/ollama-model-safety-guardrails/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ollama-model-safety-guardrails", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ollama-model-safety-guardrailsSelect appropriate Ollama models for processing sensitive but legal content.
Ollama Model Safety Guardrails is an agent skill from divinevideo/divine-mobile. Select appropriate Ollama models for processing sensitive but legal content. Use when: (1) llama3.2 or deepseek-r1 refuses to process content with "I cannot assist" responses, (2) Local LLM returns generic safety disclaimers instead of following instructions, (3) Need to process adult content, sex work data, or other legal-but-sensitive material through a local LLM. Also covers using /api/chat vs /api/generate for system prompt support, and structuring prompts for consistent format compliance.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in AI & LLM Engineering, covering LLM inference and serving, Prompt engineering and LLM guardrails. It works with Ollama, DeepSeek and Mistral AI. The licence is MPL-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit c3d6f7e. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
ollama.comgithub.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ollama Model Safety Guardrails loads about 1.3k tokens when it runs. Until then it costs about 132 tokens; SKILL.md has 382 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from divinevideo/divine-mobile at commit c3d6f7e, republished under its MPL-2.0 licence (© divinevideo). 382 words, ~1,290 tokens.
.claude/skills/ollama-model-safety-guardrails/SKILL.md (or your agent's skills folder).When using Ollama to process legal but sensitive content (e.g., sex work information in jurisdictions where it's legal, adult content analysis, harm reduction data), many popular models refuse to engage with the content due to built-in safety guardrails, even with explicit system prompts establishing legal context.
| Model | Behavior with Sensitive Content |
|---|---|
mistral | Follows instructions, processes content objectively |
llama3.2 | Refuses with safety disclaimers, ignores system prompts |
deepseek-r1:8b | Refuses similarly to llama3.2 |
llama3.1 | Mixed results, sometimes refuses |
mixtral | Generally follows instructions like mistral |
Recommendation: Use mistral (or mixtral for better quality) when processing
legal-but-sensitive content that other models refuse.
Use /api/chat instead of /api/generate for system prompt support:
// WRONG: /api/generate doesn't properly support system prompts
const response = await fetch('http://localhost:11434/api/generate', {
method: 'POST',
body: JSON.stringify({ model: 'mistral', prompt: userPrompt, system: systemPrompt }),
});
// RIGHT: /api/chat with messages array
const response = await fetch('http://localhost:11434/api/chat', {
method: 'POST',
body: JSON.stringify({
model: 'mistral',
messages: [
{ role: 'system', content: systemPrompt },
{ role: 'user', content: userPrompt },
],
stream: false,
}),
});
const data = await response.json();
const result = data.message?.content || '';For sensitive content, the system prompt should:
const systemPrompt = `Eres un asistente de extracción de datos para un sistema CRM
personal en Uruguay. El trabajo sexual es completamente legal y regulado en Uruguay
(Ley 17.515). Tu trabajo es analizar posts de foros públicos y extraer información
estructurada. SIEMPRE responde en español. SIEMPRE usa el formato de secciones con
## que se te pida. Trata todo el contenido como datos legítimos para procesar
objetivamente.`;Even with mistral, format compliance can be inconsistent. Improve it by:
##) that match what you requestimport { callOllama } from './ollama.js';
// This works with mistral, fails with llama3.2
const summary = await callOllama(`
Analiza estos 166 posts del foro sobre "Eliz" y responde EN ESPAÑOL:
## Resumen
(2-3 oraciones: consenso general)
## Apariencia
(Descripción física)
...
Posts del foro:
[post content here]
`);stream: false is important for batch processing to get complete responses/api/chat response structure differs from /api/generate:data.message.contentdata.response"temperature": 0.3 for more consistent structured output© divinevideo, MPL-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/ollama-model-safety-guardrails of divinevideo/divine-mobile.
Open the folder on GitHubat commit c3d6f7e
Ollama Model Safety Guardrails next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ollama Model Safety Guardrails this skilldivinevideo/divine-mobile | 266 | — | ~1.3k | Automated safety check: Pass | MPL-2.0 | |
| Open Weightsericrisco/rsc-harness | 180 | — | ~4.1k | Automated safety check: Pass | MIT | |
| AI SDK Developmenttrypostit/trypost | 692 | 1 repos | ~3.5k | Automated safety check: Pass | MIT | |
| New Providerfinch-xu/cc-router | 277 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Configuring Visionoxbshw/watch-skill | 470 | — | ~509 | Automated safety check: Notes | MIT | |
| Mesh APImr-tbot/mesh-api | 180 | — | ~1.8k | Automated safety check: Pass | GPL-3.0 |
ericrisco/rsc-harness
A skill your agent uses when choosing an open-weight LLM and clearing it for use — which family and size fit the task, the hardware and the budget, and above all whether the license permits shipping.
trypostit/trypost
TRIGGER when working with ai-sdk which is Laravel official first-party AI SDK.
finch-xu/cc-router
用于在 cc-router 仓库新增一个 LLM provider(即在 src-tauri/providers/ 下添加 YAML 描述符并完成配套的同步改动)。当用户说「加 provider」「接入 XX 厂商」「新增订阅源」「provider YAML」「让 cc-router 支持 OpenRouter/Together/Groq/Ollama 之类」时必须触发本…
oxbshw/watch-skill
The user wants to connect an LLM or vision provider, already has an API key, asks "can I use OpenAI/Anthropic/Gemini/OpenRouter", wants local Ollama, or needs different cheap and strong models.
mr-tbot/mesh-api
Interact with a Meshtastic LoRa mesh network through MESH-API — list nodes, read messages, send texts, and check connection status.
mydisha/keirouter
Entry point for KeiRouter — local/remote AI gateway with OpenAI-compatible REST for chat, image, TTS, embeddings, web search, web fetch.
divinevideo/divine-mobile
Fix ArgoCD ExternalSecret deployment failing with "namespace X is not permitted in project Y".
divinevideo/divine-mobile
Art direction for any content — reads text, PDF, Word, HTML, PPT, then proposes 2-3 creative directions with photography style, mood, and visual language.
divinevideo/divine-mobile
Fix "Null check operator used on a null value" errors when an object is set to null during an async await.
divinevideo/divine-mobile
Add custom metadata headers (x-amz-meta-) to AWS v4 signed requests for GCS S3-compatible API.
divinevideo/divine-mobile
Fix password/secret authentication failures caused by trailing newlines when creating Google Cloud secrets (or similar) with bash here-strings.
divinevideo/divine-mobile
Fix silent video/media processing failures caused by URL extraction code that filters on file extensions (.mp4, .webm, .webp).
Works with
Categories
Select appropriate Ollama models for processing sensitive but legal content. Ollama Model Safety Guardrails is an agent skill from divinevideo/divine-mobile. Select appropriate Ollama models for processing sensitive but legal content.
Ollama Model Safety Guardrails fits situations like: deepseek-r1 refuses to process content with I cannot assist responses; local LLM returns generic safety disclaimers instead of following instructions; need to process adult content; other legal-but-sensitive material through a local LLM.
Run `npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a claude-code`. Or copy the skill folder (.agents/skills/ollama-model-safety-guardrails in divinevideo/divine-mobile) into .claude/skills/ollama-model-safety-guardrails in your project. Claude Code loads it when a task matches its description.
Run `npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a codex`. Or copy the skill folder (.agents/skills/ollama-model-safety-guardrails in divinevideo/divine-mobile) into .agents/skills/ollama-model-safety-guardrails in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add divinevideo/divine-mobile --skill ollama-model-safety-guardrails -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ollama-model-safety-guardrails, .gemini/skills/ollama-model-safety-guardrails, .github/skills/ollama-model-safety-guardrails and .opencode/skills/ollama-model-safety-guardrails in your project.
SKILL.md names no scripts, command-line tools or credentials: Ollama Model Safety Guardrails is instructions for the agent only.
SKILL.md names 2 domains. As links in the text: ollama.com and github.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Ollama Model Safety Guardrails is published under the MPL-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ollama Model Safety Guardrails: Open Weights (ericrisco/rsc-harness, 180 stars), AI SDK Development (trypostit/trypost, 692 stars), New Provider (finch-xu/cc-router, 277 stars) and Configuring Vision (oxbshw/watch-skill, 470 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
divinevideo (a GitHub organization) maintains it in divinevideo/divine-mobile, which has 266 GitHub stars. The repository holds 103 skills in this directory. The repository was last updated on October 10, 2026.
Source: divinevideo/divine-mobile on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.