local-first-ai-automation

Builds local LLM and browser automations with allowlisted triggers and safety guardrails.

1|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/tanveerriaz/Skillz --skill local-first-ai-automation-tanveerriaz
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: local-first-ai-automation
Source: https://github.com/tanveerriaz/Skillz/tree/main/skills/local-first-ai-automation
Command: npx skills add https://github.com/tanveerriaz/Skillz --skill local-first-ai-automation-tanveerriaz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Personal automations that read messages and act on your behalf are risky: they can execute destructive commands, spam contacts, or leak data to third-party services. This Skill defines a safe architecture for building local assistants that run entirely on your machine with no paid SaaS dependencies. ## Core Features & Use Cases - Layered Pipeline Design: Separates listener, command parsing/validation, prompt building, local model calls, and response sending into single-purpose modules. - Safety Guardrails: Enforces command prefixes, sender allowlists, input validation, rate limiting, and a strict ban on shell execution or file deletion. - Local Model Integration: Connects to local LLM HTTP APIs (e.g. Ollama at localhost:11434) with timeout handling and graceful failure messages. - Use Case: Build a chat-triggered assistant where browser automation reads your messages, accepts only /ai ... commands from your own number, sends text to a local model, trims replies to ~1,000 characters, and logs each action to a local audit trail. ## Quick Start Use the local-first-ai-automation skill to design a safe local chat bot that answers /ai commands through a local Ollama model with allowlisted senders and no destructive actions.

Frequently Asked Questions about local-first-ai-automation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a local AI chat bot with Ollama?▼

Build a layered pipeline: a listener reads incoming messages, a validator accepts only prefixed commands from allowlisted senders, and a client calls the Ollama HTTP API at localhost:11434. Trim responses, rate-limit replies, and log actions locally.

How do I automate WhatsApp or chat messages with a local LLM?▼

Use browser automation to read messages from the web app, gate actions behind a command prefix like /ai, and send validated text to your local model. Respect the platform's personal-use terms and add human-paced delays to avoid bot-like behavior.

Can a local automation safely execute commands from chat messages?▼

No, executing raw shell commands or deleting files based on messages is forbidden in this architecture. Only allow predefined non-destructive actions, validate all input before prompting, and never act on un-prefixed or non-allowlisted messages.

What happens when the local model is slow or offline?▼

Send an immediate processing acknowledgment, then return a clear failure message instead of hanging. Handle HTTP timeouts gracefully and process queued messages one at a time under rate limits.

When should I not use local-first browser automation?▼

Avoid it for commercial use cases that violate platform terms, high-volume messaging, or workflows needing destructive system actions. Cloud APIs or official platform integrations fit those scenarios better.