Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    emacs companion

    1

    Control GNU Emacs buffers, navigate files, and apply edits directly through an MCP Bridge server.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    emacs companion

    emacs companion

    Example session with this skill installed

    List my open Emacs buffers, find the one named 'init.el', and add a comment at the end saying ';; MCP check complete'.

    • Read your context and instructions
    • Compiled the emacs companion

    I have successfully updated your Emacs buffer. I first listed the buffers to locate 'init.el', moved the point to the end of the file, and inserted the requested comment.

    Emacs Buffer Update

    ActionDetailResult
    Buffer Foundinit.elConfirmed
    Commandinsert_at_cursorSuccess
    Content Added;; MCP check completeVerified
    Buffer StatusUnsavedPending user instruction
    ;; ... existing configuration ...
    (custom-set-faces
     ;; custom-set-faces was added by Custom.
     ;; If you edit it by hand, you could mess it up, so be careful.
     ;; Your init file should contain only one such instance.
     ;; If there is more than one, they won't work right.
     '(default ((t (:family "JetBrains Mono" :foundry "JB" :slant normal :weight normal :height 120 :width normal)))))
    
    ;; MCP check complete
    

    Next steps

    1. Run save_buffer to persist this change to your init.el file.
    2. If you want to evaluate this new comment as code (though it is a comment), I can run eval_elisp on the buffer.
    3. Let me know if you need to navigate to a specific line in init.el to make further edits.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Context switching between your terminal and Emacs breaks your flow. This skill bridges that gap, allowing an AI agent to interact directly with your running GNU Emacs instance through an MCP connection. It eliminates the manual copy-paste cycle by giving the agent programmatic access to your active buffers and cursor.

    What it does

    • Buffer Inspection retrieves full buffer content or only the currently selected text for targeted analysis.
    • Precision Editing inserts text at the cursor, replaces selections, or overwrites entire buffers based on instructions.
    • Navigation Control opens specific files at defined line numbers or jumps to lines within an active buffer.
    • State Management lists all open buffers to resolve ambiguity and executes save commands to persist changes to disk.
    • Elisp Execution runs arbitrary Emacs Lisp expressions if the server owner has enabled the evaluation feature.

    How it works

    1. The agent lists active buffers to identify the correct workspace.
    2. It pulls the relevant context using scoped read commands to minimize noise.
    3. Edits are performed using precise insertion or replacement tools to maintain file integrity.
    4. The agent verifies the change by reading back the affected lines and saves the buffer upon request.

    Frameworks & tools

    Requires a running GNU Emacs instance, emacsclient configured on the local machine, and a compatible MCP Bridge server.

    Why this beats prompting it yourself

    Manual prompting requires you to copy code out of Emacs, paste it into a chat, and then manually apply the agent's suggested diffs back into your editor. This skill automates the I/O, ensuring the agent sees exactly what you see and applies changes with line-level precision without user intervention.

    Use cases

    • Refactor a specific function selected in your current Emacs window.
    • Search across all open Emacs buffers to find a specific variable definition.
    • Document a legacy Elisp file by reading the buffer and inserting docstrings.
    • Automate repetitive text transformations across multiple open files.

    Known limitations

    Requires a pre-installed local MCP Bridge server. It cannot install Emacs or the bridge server for you. Scope is limited to the machine where the server is running.

    Requires local MCP Bridge server and emacsclient. Does not perform server installation. eval_elisp requires explicit server-side enablement.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 29 days ago

    Requires

    Python
    Emacs Bridge MCP

    Permissions

    Read Files
    Write Files
    Network Access
    Listed29 days ago
    Updated28 days ago

    What's inside

    Frequently Asked Questions

    The emacs companion requires a running GNU Emacs instance with `emacsclient` configured and a compatible MCP Bridge server active on your local machine. Once the bridge is live, the skill allows any MCP-compatible AI agent to communicate directly with your editor.

    Unlike manual prompting, this skill allows the agent to read and write directly to your active buffers in real-time. This eliminates the need for manual copy-pasting and ensures that the agent always has the exact context of your cursor position and open files.

    Yes, if you have enabled the evaluation feature on your MCP Bridge server, the agent can execute arbitrary Elisp expressions. This allows for complex editor tasks like reconfiguring modes or running custom macros programmatically.

    For security and stability, the agent can only interact with files that are currently open as buffers or specific paths you explicitly grant access to. You retain full control over the session and can see all edits as they happen in your Emacs window.

    You will receive the skill definition and integration schema required to connect your AI agent to an MCP Bridge. Please note that the bridge server software and GNU Emacs itself are separate prerequisites and are not included in the skill package.

    New in Workflow Automation