hoodini/ai-agents-skills
Overview
This skill routes developer coding queries to local LLMs inside air-gapped or secure networks. It integrates Serena MCP as the primary semantic code understanding layer, then selects and forwards enriched prompts to local inference services like Ollama, LM Studio, Jan, OpenWebUI and others. Use it to keep code-sensitive workflows offline while benefiting from model routing and code-aware context.
How this skill works
On each code-related request the skill invokes Serena MCP first to extract symbol-level context, diagnostics, references and type information. It classifies the task (coding, analysis, documentation, reasoning), discovers available local LLM services, selects the best model for the task and enriches the prompt with Serena context. Finally it routes the enriched prompt to the chosen local service, and when edits are returned it applies them back through Serena for precise, symbol-aware changes.
When to use it
- Working in air-gapped or closed networks with no external API access
- When you require semantic code context before contacting an LLM (Serena-first workflows)
- Routing queries to multiple local model hosts (Ollama, LM Studio, Jan, OpenWebUI, LocalAI, vLLM, etc.)
- Performing refactors, diagnostics, or edits that must be applied precisely to a repository
- Maximizing token efficiency and accuracy for code tasks by limiting prompt context to relevant symbols
Best practices
- Always run Serena MCP server and verify it is reachable before routing code tasks
- Provide file and cursor context for best semantic results (file path + position)
- Prefer symbol-level operations from Serena (hover, references, diagnostics) before free-text search
- Limit the number of references and diagnostics included in prompts to prevent oversized requests
- Validate model endpoints with the built-in health checks and adjust endpoints for WSL/container environments
Example use cases
- Safely refactor a large codebase offline: Serena gathers references and the router picks a model suited for code edits
- Generate or fix a function locally without sending source to external APIs
- Run diagnostics and get suggested fixes, then apply edits via Serena MCP to maintain symbol integrity
- Route documentation or analysis tasks to smaller local models while reserving larger models for complex reasoning
- Operate an AI-powered dev assistant inside a secured defense or corporate environment with strict network isolation
FAQ
Yes. Serena MCP must be invoked first for all code tasks to provide semantic context and enable precise edits.
Which local LLMs are supported?
Common local services are supported: Ollama, LM Studio, Jan, OpenWebUI, LocalAI, vLLM, llama.cpp, GPT4All and similar OpenAI-style endpoints.
How does service discovery work?
The router performs health and models endpoint checks against default ports, adjusts endpoints for WSL/containers, and builds a list of DiscoveredModel entries to choose from.
14 skills
This skill routes coding queries to local LLMs in air-gapped environments, leveraging Serena MCP for semantic code understanding and secure offline inference.
This skill helps you deploy and manage applications on Railway, including databases, private networking, and multi-service setups.
This skill analyzes and refactors code structure to improve clarity and maintainability across projects with consistent patterns.
This skill deploys and configures Next.js and serverless applications on Vercel, guiding edge, API, and environment setups for scalable deployments.
This skill helps you generate images, videos, and audio using fal.ai serverless AI for rapid media creation.
This skill helps you generate professional images with Gemini 3 Pro Image API, enabling high quality visuals and quick iterative design.
This skill helps you build model-agnostic AI agents with the Strands SDK on AWS, enabling ReAct, multi-agent orchestration, and production deployment.
This skill retrieves Shabbat and Jewish calendar data from Hebcal to power apps with accurate timings and holidays.
This skill helps you implement responsive, mobile-first layouts and interactions across breakpoints, touch events, and viewport-safe navigation.
This skill helps configure repository specific Copilot instructions by guiding how to create and maintain copilot-instructions.md.
This skill helps you build and visualize dashboards with Recharts, generating charts, KPI cards, and data visualizations to monitor metrics effectively.
This skill helps you implement secure coding practices aligned with OWASP Top 10 to prevent vulnerabilities across authentication, APIs, and data protection.
This skill helps you build consistent design systems with tokens, components, and theming across projects.
This skill helps you build accessible web applications by applying WCAG and ARIA patterns, ensuring keyboard navigation and screen reader support.