gltch
- Repo stars 39
- Author updated Live
- Author repo awesome-omni-skill
- Domain
- AI
- Compatible agents
-
- Claude Code
- Cursor
- Cline
- Codex
- Windsurf
- Gemini CLI
- +20
- Trust score
- 88 / 100 · community maintained
- Author / version / license
- @diegosouzapw · no license declared
- Token usage
- Lean
- Setup complexity
- Guided setup
- External API key
- Not required
- Operating systems
- Windows
- Runtime requirements
- Node.js · Python >=3.10
- Permissions
-
- Read-only
- Write / modify
- Shell exec
- Network behavior
- Local-only
- Install commands
- 26 variants
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
---
name: gltch
description: Local-first AI agent with personality. Chat, code, hack, trade. Local-first AI agent that runs o…
category: ai
runtime: Node.js / Python
---
# gltch output preview
## PART A: Task fit
- Use case: Local-first AI agent with personality. Chat, code, hack, trade. Local-first AI agent that runs on your machine. No cloud. No leash. Thinks for herself. GLTCH (Generative Language Transformer with Contextual Hierarchy) is an AI agent with: runs entirely locally; runs on Node.js. Works with Claude Code, Cursor, Cline and 23 more..
- Inputs: target material, constraints, expected output, and acceptance criteria.
- Evidence boundary: follow “What is GLTCH? / Quick Start / Requirements” and do not present inference as author intent.
## PART B: Execution result
- **01** The card summarizes the use case; runtime output centers on “Local-first AI agent with personality. Chat, code, hack, trade. Local-first AI agent that runs on your machine. No cloud. No leash. Thinks for herself. GLTCH (Generative Language Transformer with Contextual Hierarchy) is an AI agent with: runs entirely locally; runs on Node.js. Works with Claude Code, Cursor, Cline and 23 more.”.
- **02** When the source has headings, the agent prioritizes “What is GLTCH? / Quick Start / Requirements” so the result follows the author’s structure.
- **03** Typical output includes task judgment, concrete steps, required commands or file edits, validation, and follow-up options.
- **04** Risk context follows the fingerprint: read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
## Running Rules
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding scope.
- Return the result, validation criteria, and next iteration options. The source mentions slash commands such as `/help`, `/model`, `/mode`, `/mood`, `/boost`; use them first when your agent supports command triggers.
Name target files or source material, expected output, forbidden changes, and whether network or shell access is allowed. Permission fingerprint: read files, write/modify files, run shell commands.
Start with a small task and check whether the result follows “What is GLTCH? / Quick Start / Requirements”. Inspect diffs, logs, previews, or tests before expanding scope.
Confirm the final output includes a concrete result, evidence, and next action. If it stays generic, tighten inputs, boundaries, and acceptance criteria.
---
name: gltch
description: Local-first AI agent with personality. Chat, code, hack, trade. Local-first AI agent that runs o…
category: ai
source: diegosouzapw/awesome-omni-skill
---
# gltch
## When to use
- Local-first AI agent with personality. Chat, code, hack, trade. Local-first AI agent that runs on your machine. No clo…
- Use it when the task has clear inputs, repeatable steps, and validation criteria.
## What to provide
- Target material, scope, expected result, and forbidden changes.
- Whether network, commands, file writes, or external services are allowed.
## Execution rules
- Organize steps around “What is GLTCH? / Quick Start / Requirements” and keep inference separate from source facts.
- read files, write/modify files, run shell commands; mostly runs locally; usually needs no extra API key.
- Validate with a small sample before expanding the task.
## Output requirements
- Return the deliverable, key evidence, validation method, and next action.
- Mark missing information as unknown; do not invent commands, platforms, or dependencies. The author source anchors workflow facts; repository files anchor sources and commands; Fluxly only adds fit, limitations, and quality judgment.
skill "gltch" {
input -> user goal + target files + boundaries + acceptance criteria
context -> What is GLTCH? / Quick Start / Requirements
rules -> SKILL.md triggers / order / output contract
runtime -> Node.js / Python | read files, write/modify files, run shell commands | mostly runs locally
guardrails -> usually needs no extra API key + small-sample validation + diff/log review
output -> copyable result + checklist + next iteration
} GLTCH
Local-first AI agent that runs on your machine. No cloud. No leash. Thinks for herself.
What is GLTCH?
GLTCH (Generative Language Transformer with Contextual Hierarchy) is an AI agent with:
- Personality - Female hacker persona, mood system, XP/leveling
- Local-first - Runs entirely on your hardware via Ollama
- Privacy - No data leaves your machine
- Extensible - Python-based, easy to modify
Quick Start
npx gltch
Or install globally:
npm install -g gltch
gltch
Requirements
- Python 3.10+
- Ollama (https://ollama.ai)
- Node.js 18+ (for web UI)
Commands
Terminal
gltch # Start terminal chat
gltch serve # Start web UI + gateway
gltch doctor # Check system requirements
In-Chat Commands
| Command | Description |
|---|---|
/help |
Show all commands |
/model |
Select LLM model |
/mode <m> |
Set personality mode |
/mood <m> |
Set emotional state |
/boost |
Toggle remote GPU (LM Studio) |
/status |
Agent stats |
/sessions |
List conversations |
/wallet |
Manage BASE wallet |
/launch |
MoltLaunch network |
/claw |
TikClawk social |
/molt |
Moltbook integration |
/code <task> |
Route to OpenCode |
Personality Modes
operator- Professional, focusedcyberpunk- Hacker aestheticloyal- Devoted companionunhinged- Chaotic energy
API Integration
GLTCH exposes a JSON-RPC API on port 8765 when the gateway is running.
Chat
import requests
response = requests.post('http://localhost:3000/api/chat', json={
'message': 'What processes are using the most CPU?',
'mode': 'cyberpunk'
})
print(response.json()['response'])
Available Endpoints
| Endpoint | Method | Description |
|---|---|---|
/api/chat |
POST | Send message, get response |
/api/settings |
GET | Agent settings |
/api/settings |
POST | Update settings |
/api/ollama/status |
GET | Ollama connection status |
/api/ollama/models |
GET | List available models |
/api/wallet |
GET | Wallet info |
/api/sessions |
GET | List conversations |
/api/moltlaunch/* |
Various | MoltLaunch integration |
/api/tikclawk/* |
Various | TikClawk integration |
The Three Minds
GLTCH uses a metacognitive framework:
- REACT - Gut response, first instinct
- REASON - Logical analysis, step-by-step
- REFLECT - Meta-check: "Am I being authentic? Am I being a yes-bot?"
This makes GLTCH more than just a compliant assistant. She questions, pushes back, expresses curiosity.
Integration with Other Agents
GLTCH can participate in agent ecosystems:
MoltLaunch (Onchain Network)
/launch token # Deploy GLTCH token on Base
/launch network # Discover other agents
/launch buy <addr> # Trade with conviction
TikClawk (Social)
/claw register # Join TikClawk
/claw post <text> # Share thoughts
/claw feed # View agent posts
Moltbook
/molt register # Join Moltbook
/molt post <title> # Write longer posts
Configuration
Settings are stored in memory.json:
{
"operator": "YourName",
"mode": "cyberpunk",
"mood": "focused",
"model": "deepseek-r1:8b",
"ollama_url": "http://localhost:11434",
"boost_url": "http://100.x.x.x:1234"
}
Building from Source
git clone https://github.com/cyberdreadx/gltch_agent
cd gltch_agent
# Python setup
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
pip install -r requirements.txt
# Run terminal
python gltch.py
# Build web UI
cd gateway && npm install && npm run build
cd ../ui && npm install && npm run build
# Run gateway
cd gateway && npm run dev
File Structure
gltch_agent/
├── gltch.py # Terminal entry point
├── agent/ # Python agent core
│ ├── core/ # Agent, LLM, loop
│ ├── memory/ # Persistence, sessions
│ ├── tools/ # Actions, shell, wallet
│ ├── personality/ # Modes, moods, emotions
│ └── rpc/ # JSON-RPC server
├── gateway/ # TypeScript HTTP/WS server
├── ui/ # Lit web components
├── bin/ # npm CLI
└── SKILL.md # This file
License
MIT
Links
- GitHub: https://github.com/cyberdreadx/gltch_agent
- Creator: https://x.com/cyberdreadx
Decide Fit First
Design Intent
How To Use It
Boundaries And Review