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 strikersam/autonomous-ai-agency --skill local-ai-querygit clone --depth 1 https://github.com/strikersam/autonomous-ai-agencyWrote 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/strikersam/autonomous-ai-agency/local-ai-query)<a href="https://agentmods.dev/skills/strikersam/autonomous-ai-agency/local-ai-query"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/local-ai-query/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/strikersam/autonomous-ai-agency/local-ai-query"><img src="https://agentmods.dev/badge/skills/strikersam/autonomous-ai-agency/local-ai-query.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.00000 | $0.00972 |
| Opus 5 | $0.00000 | $0.00486 |
| Sonnet 5 | $0.00000 | $0.00194 |
| Haiku 4.5 | $0.00000 | $0.00097 |
Grade B, and why
local-ai-query scanned grade B with 2 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 12d 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
r = requests.post("http://localhost:11434/api/embeddings", Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s http://localhost:11434/api/tags | jq '.models[].name' How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Skill: local-ai-query
Purpose
Route prompts to a locally running Ollama instance instead of cloud AI APIs. Use this for privacy-sensitive tasks, offline work, or cost reduction. Pairs with the Docker stack in docker/local-ai-stack/.
When to Use
- Processing sensitive/proprietary code or data that shouldn't leave the machine
- Offline or air-gapped environments
- Rapid iteration where cloud latency matters
- Cost-conscious experimentation with large prompts
Prerequisites
- Ollama running locally (see
docker/local-ai-stack/README.md) - At least one model pulled:
docker exec ollama ollama pull llama3.2:latest
Steps
1. Verify Ollama is available
curl -s http://localhost:11434/api/tags | jq '.models[].name'
If this fails, start the stack: cd docker/local-ai-stack && docker compose up -d
2. Choose appropriate model
| Task | Recommended Model |
|---|---|
| Code generation | deepseek-coder-v2:latest or codellama:latest |
| General chat | llama3.2:latest |
| Summarization | llama3.2:latest |
| Embeddings/RAG | nomic-embed-text:latest |
| Fast/small | phi3:mini |
Pull a model if needed:
docker exec ollama ollama pull <model-name>
3. Send query to local model
Simple generation:
curl http://localhost:11434/api/generate \
-d '{
"model": "llama3.2:latest",
"prompt": "<YOUR_PROMPT>",
"stream": false
}' | jq -r .response
Chat format (multi-turn):
curl http://localhost:11434/api/chat \
-d '{
"model": "llama3.2:latest",
"messages": [
{"role": "user", "content": "<YOUR_MESSAGE>"}
],
"stream": false
}' | jq -r '.message.content'
With system prompt:
curl http://localhost:11434/api/chat \
-d '{
"model": "llama3.2:latest",
"messages": [
{"role": "system", "content": "You are a senior software engineer. Be concise and technical."},
{"role": "user", "content": "<YOUR_MESSAGE>"}
],
"stream": false
}' | jq -r '.message.content'
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.
- 12d ago First seen · 127 lines · 0 tokens per session scan B fb09dc083805
local-ai-query is a skill published in the GitHub repository strikersam/autonomous-ai-agency (8 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 972 tokens. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
guardrails-ai-setup
Guardrails AI validation framework setup for LLM applications. Implement input/output validation, safety checks, and structured output enforcement.
mem0-integration
Mem0 memory layer integration for AI agents. Implement persistent, semantic memory for long-term context retention and personalization.
vector-memory
HNSW vector search for pattern similarity retrieval and knowledge graph maintenance with PageRank scoring, community detection, and 3-tier memory management.
chain-of-thought-prompts
Chain-of-thought and step-by-step reasoning prompts for complex problem solving.
chroma-integration
Chroma local vector database setup and operations for development and production.
few-shot-example-gen
Few-shot example generation and optimization for improved LLM performance.