# Ollama Localhost Guardian

> >

- **Type:** Skill
- **Install:** `agentstack add skill-stijnman-grok-custom-skills-ollama-localhost-guardian`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [Stijnman](https://agentstack.voostack.com/s/stijnman)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [Stijnman](https://github.com/Stijnman)
- **Source:** https://github.com/Stijnman/grok-custom-skills/tree/main/.grok/skills/ollama-localhost-guardian

## Install

```sh
agentstack add skill-stijnman-grok-custom-skills-ollama-localhost-guardian
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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

1. Check listener on default Ollama port (11434) via ss or netstat.
2. Pass if bound to 127.0.0.1; warn if 0.0.0.0 or ::.
3. Optionally check OLLAMA_HOST env and systemd override files (read-only).
4. Recommend binding to 127.0.0.1; hitl-approver before config changes.
5. Note installed AI packages (mcp, openai, etc.) for inventory only.

## Integrations

- `defensive-mcp-audit`
- `exposed-service-triage`
- `hitl-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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [Stijnman](https://github.com/Stijnman)
- **Source:** [Stijnman/grok-custom-skills](https://github.com/Stijnman/grok-custom-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-stijnman-grok-custom-skills-ollama-localhost-guardian
- Seller: https://agentstack.voostack.com/s/stijnman
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
