agent-emacsUnified persistent text-based environment for AI agents. Use when an agent needs to maintain state across sessions, perform structural code editing, or manag...
Install via ClawdBot CLI:
clawdbot install PiTZE/agent-emacsThis skill provides a persistent, high-performance Emacs environment designed specifically for AI agents. It replaces fragmented CLI tools with a unified "Living Image" workflow.
emacs-agent.service).emacsclient -s /tmp/emacs0/server.Do not use regex for complex code changes. Use ELisp forms to manipulate the AST.
emacsclient -s /tmp/emacs0/server --eval "(with-current-buffer \"main.lisp\" (goto-char (point-max)) (insert \"\n(new-function)\"))"
Manage remote nodes transparently. Opening a remote file automatically establishes a persistent SSH tunnel.
(find-file "/ssh:user@remote-node:/etc/config.json")
Use Magit for all Git operations to ensure high-integrity commits and staging.
For detailed patterns on recursive data processing (RLM), memory management, and REPL-based accuracy, see:
Always use the Emacs Lisp REPL for math, data manipulation, or status calculations. Accuracy is paramount; do not attempt manual calculations.
Run scripts/bootstrap.sh to ensure the daemon is active and the agent-init.el configuration is loaded.
Generated Mar 1, 2026
AI agents maintain a persistent Emacs environment to incrementally refactor large codebases across multiple sessions, using structural editing via ELisp to modify ASTs without breaking changes. This ensures stateful tracking of modifications and reduces errors from stateless script execution, ideal for long-term software maintenance projects.
Agents use TRAMP integration to manage and edit configuration files on remote servers through persistent SSH tunnels, enabling seamless updates across distributed infrastructure. This allows for real-time monitoring and adjustments without manual intervention, streamlining DevOps and system administration tasks.
Leveraging Magit within Emacs, agents automate Git operations such as staging, committing, and branching with high integrity, ensuring consistent version control across team projects. This reduces human error in collaborative coding environments and accelerates deployment cycles.
Agents utilize the Emacs Lisp REPL for precise mathematical calculations and data manipulation, guaranteeing accuracy in financial modeling or scientific analysis. This prevents manual calculation errors and supports complex, recursive data processing tasks with reliable results.
Offer a cloud-hosted Emacs daemon service where businesses subscribe to access persistent AI agents for automated coding and infrastructure management. Revenue is generated through monthly or annual fees based on usage tiers and support levels, targeting enterprises needing scalable automation.
Provide expert consulting to integrate Agent Emacs into client workflows, including custom ELisp scripting and training for structural editing and remote management. Revenue comes from project-based fees and ongoing maintenance contracts, catering to organizations adopting AI-driven development tools.
Sell licenses for the Agent Emacs skill package to AI platform providers, enabling them to embed persistent text-based environments into their agent offerings. Revenue is generated through one-time licensing fees or royalties per deployment, targeting tech companies building AI agent marketplaces.
💬 Integration Tip
Ensure the Emacs daemon is running via the bootstrap script before agent execution, and use socket communication for all interactions to maintain state persistence across sessions.
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Clau...
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Search and analyze your own session logs (older/parent conversations) using jq.
Typed knowledge graph for structured agent memory and composable skills. Use when creating/querying entities (Person, Project, Task, Event, Document), linking related objects, enforcing constraints, planning multi-step actions as graph transformations, or when skills need to share state. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", entity CRUD, or cross-skill data access.
Ultimate AI agent memory system for Cursor, Claude, ChatGPT & Copilot. WAL protocol + vector search + git-notes + cloud backup. Never lose context again. Vibe-coding ready.
Headless browser automation CLI optimized for AI agents with accessibility tree snapshots and ref-based element selection