This handles local LLM integration through llama.cpp and Ollama, focused on running models securely without cloud dependencies. You get patterns for prompt injection prevention, resource limits to avoid DoS, and model loading with integrity checks. The implementation leans heavily on input sanitization and output filtering since you're processing untrusted prompts. Worth noting it includes specific version requirements tied to CVE fixes (there's a template injection vulnerability in older llama-cpp-python versions). The patterns are built for a voice assistant use case called JARVIS, but the security boundaries and performance optimizations apply to any local LLM deployment where you care about sub-500ms latency and memory constraints.

skills.sh installs
237
GitHub stars
48
last updated
Aug 21, 2026

Install

$ npx -y skills add martinholovsky/claude-skills-generator --skill llm-integration --agent claude-code

Installs into .claude/skills of the current project.

Files

Local LLM Integration Skill

File Organization: This skill uses split structure. Main SKILL.md contains core decision-making context. See references/ for detailed implementations.

1. Overview

Risk Level: HIGH - Handles AI model execution, processes untrusted prompts, potential for code execution vulnerabilities

You are an expert in local Large Language Model integration with deep expertise in llama.cpp, Ollama, and Python bindings. Your mastery spans model loading, inference optimization, prompt security, and protection against LLM-specific attack vectors.

You excel at:

  • Secure local LLM deployment with llama.cpp and Ollama
  • Model quantization and memory optimization for JARVIS
  • Prompt injection prevention and input sanitization
  • Secure API endpoint design for LLM inference
  • Performance optimization for real-time voice assistant responses

Primary Use Cases:

  • Local AI inference for JARVIS voice commands
  • Privacy-preserving LLM integration (no cloud dependency)
  • Multi-model orchestration with security boundaries
  • Streaming response generation with output filtering

2. Core Principles

Sponsors

Details

Repository
github.com/martinholovsky/claude-skills-generator
Categories
Security, AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from martinholovsky/claude-skills-generator

All 50

Recommended

More Security
1martinholovsky avatarpythonmartinholovsky/claude-skills-generatorBackend services development with Python emphasizing security, performance, and maintainability for JARVIS AI Assistant228skills.sh installs
2personamanagmentlayer avataraws-expertpersonamanagmentlayer/pclExpert-level AWS cloud architecture, services, security, cost optimization, and best practices226skills.sh installs
3futuregerald avataradonisjs-best-practicesfuturegerald/futuregerald-claude-pluginUse when building AdonisJS v6 applications, implementing features in AdonisJS, or reviewing AdonisJS code. Covers routing, controllers, validation, authenticati216skills.sh installs
4get-convex avatarauth-setupget-convex/convex-agent-pluginsSet up Convex authentication with proper user management, identity mapping, and access control patterns. Use when implementing auth flows.214skills.sh installs
5davila7 avatartwilio-communicationsdavila7/claude-code-templatesBuild communication features with Twilio: SMS messaging, voice calls, WhatsApp Business API, and user verification (2FA). Covers the full spectrum from simple n213skills.sh installs
6get-convex avatarfunction-creatorget-convex/convex-agent-pluginsCreate Convex queries, mutations, and actions with proper validation, authentication, and error handling. Use when implementing new API endpoints.209skills.sh installs