Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Stijnman/grok-custom-skills --skill ollama-localhost-guardiangit clone --depth 1 https://github.com/Stijnman/grok-custom-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/stijnman/grok-custom-skills/ollama-localhost-guardian)<a href="https://agentmods.dev/skills/stijnman/grok-custom-skills/ollama-localhost-guardian"><img src="https://agentmods.dev/badge/skills/stijnman/grok-custom-skills/ollama-localhost-guardian/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/stijnman/grok-custom-skills/ollama-localhost-guardian"><img src="https://agentmods.dev/badge/skills/stijnman/grok-custom-skills/ollama-localhost-guardian.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.00535 |
| Opus 5.5 | $0.00020 | $0.00214 |
| Sonnet 5.5 | $0.00010 | $0.00107 |
| Haiku 4.5 | $0.00005 | $0.00053 |
Grade A, and why
ollama-localhost-guardian scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Ollama Localhost Guardian
When to Use
- User says ollama security or task matches this capability
- User says is ollama exposed or task matches this capability
- User says secure local LLM or task matches this capability
- User says ollama localhost or task matches this capability
Workflow
- Check listener on default Ollama port (11434) via ss or netstat.
- Pass if bound to 127.0.0.1; warn if 0.0.0.0 or ::.
- Optionally check OLLAMA_HOST env and systemd override files (read-only).
- Recommend binding to 127.0.0.1; hitl-approver before config changes.
- Note installed AI packages (mcp, openai, etc.) for inventory only.
Integrations
defensive-mcp-auditexposed-service-triagehitl-approver
Error Handling
| Failure | Response |
|---|---|
| Ollama not running | Report not listening; no install assumed. |
Gotchas
- Check-only; config edits require user approval.
Safety & Ethics (Publication-Ready)
This skill is designed for public distribution. Constraints:
- Read-only checks; no model pulling or inference API abuse.
- No exposure of API keys or model weights.
Prohibited actions
- No unauthorized access, malware, or harmful automation
- No silent exfiltration of data, credentials, or telemetry
- No destructive system changes without hitl-approver
- No publication of user PII or environment secrets in outputs
Example
Input: User request matching triggers above. Output: Structured result per workflow; local artifacts only unless user opts in.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 64 lines · 51 tokens per session scan A 13cfee16c11a
ollama-localhost-guardian is a skill published in the GitHub repository Stijnman/grok-custom-skills (16 stars, last pushed 1mo ago), licensed MIT. It adds 51 tokens to every session and 535 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
ollama-localhost-guardian compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ollama-localhost-guardianStijnman/grok-custom-skills | Skill | 16 | 1mo ago | MIT | A | 51 | Claude Code, Codex |
| stewardjmagly/aiwg | Skill | 233 | today | MIT | A | 25 | Claude Code, Codex |
| cross-task-learnerjmagly/aiwg | Skill | 233 | today | MIT | A | 20 | Claude Code, Codex |
| infer-completion-criteriajmagly/aiwg | Skill | 233 | today | MIT | A | 34 | Claude Code, Codex |
| aiwg-language-mapjmagly/aiwg | Skill | 233 | today | MIT | A | 31 | Claude Code, Codex |
| aiwg-regenerate-claudejmagly/aiwg | Skill | 233 | today | MIT | A | 21 | Claude Code, Codex |
| sdlc-acceleratejmagly/aiwg | Skill | 233 | today | MIT | A | 23 | Claude Code, Codex |