# Send Agent Emacs to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agent-emacs",
    "name": "Agent Emacs",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/PiTZE/agent-emacs",
    "canonicalUrl": "https://clawhub.ai/PiTZE/agent-emacs",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/agent-emacs",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-emacs",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/agent-workflows.md",
      "references/usage.md",
      "scripts/bootstrap.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "agent-emacs",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T06:00:48.939Z",
      "expiresAt": "2026-05-06T06:00:48.939Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-emacs",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-emacs",
        "contentDisposition": "attachment; filename=\"agent-emacs-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "agent-emacs"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agent-emacs"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agent-emacs",
    "downloadUrl": "https://openagent3.xyz/downloads/agent-emacs",
    "agentUrl": "https://openagent3.xyz/skills/agent-emacs/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agent-emacs/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agent-emacs/agent.md"
  }
}
```
## Documentation

### Agent Emacs: The Living Workspace

This skill provides a persistent, high-performance Emacs environment designed specifically for AI agents. It replaces fragmented CLI tools with a unified "Living Image" workflow.

### Core Concepts

The Daemon: All work happens inside a persistent Emacs daemon (emacs-agent.service).
The Socket: Communication is handled via emacsclient -s /tmp/emacs0/server.
Buffers as State: Files, terminal outputs, and remote connections are treated as persistent buffers. State is maintained between agent turns.

### 1. Structural Editing

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)\\"))"

### 2. Remote Infrastructure (TRAMP)

Manage remote nodes transparently. Opening a remote file automatically establishes a persistent SSH tunnel.

(find-file "/ssh:user@remote-node:/etc/config.json")

### 3. Project Management (Magit)

Use Magit for all Git operations to ensure high-integrity commits and staging.

### Advanced Workflows

For detailed patterns on recursive data processing (RLM), memory management, and REPL-based accuracy, see:

usage.md - Low-level Lisp interaction patterns.
agent-workflows.md - High-level operational strategies.

### Guaranteed Accuracy

Always use the Emacs Lisp REPL for math, data manipulation, or status calculations. Accuracy is paramount; do not attempt manual calculations.

### Initialization

Run scripts/bootstrap.sh to ensure the daemon is active and the agent-init.el configuration is loaded.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: PiTZE
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T06:00:48.939Z
- Expires at: 2026-05-06T06:00:48.939Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/agent-emacs)
- [Send to Agent page](https://openagent3.xyz/skills/agent-emacs/agent)
- [JSON manifest](https://openagent3.xyz/skills/agent-emacs/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/agent-emacs/agent.md)
- [Download page](https://openagent3.xyz/downloads/agent-emacs)