{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/agent-emacs",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agent-emacs",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/agent-workflows.md",
      "references/usage.md",
      "scripts/bootstrap.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/agent-emacs",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Agent Emacs: The Living Workspace",
        "body": "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."
      },
      {
        "title": "Core Concepts",
        "body": "The Daemon: All work happens inside a persistent Emacs daemon (emacs-agent.service).\nThe Socket: Communication is handled via emacsclient -s /tmp/emacs0/server.\nBuffers as State: Files, terminal outputs, and remote connections are treated as persistent buffers. State is maintained between agent turns."
      },
      {
        "title": "1. Structural Editing",
        "body": "Do not use regex for complex code changes. Use ELisp forms to manipulate the AST.\n\nemacsclient -s /tmp/emacs0/server --eval \"(with-current-buffer \\\"main.lisp\\\" (goto-char (point-max)) (insert \\\"\\n(new-function)\\\"))\""
      },
      {
        "title": "2. Remote Infrastructure (TRAMP)",
        "body": "Manage remote nodes transparently. Opening a remote file automatically establishes a persistent SSH tunnel.\n\n(find-file \"/ssh:user@remote-node:/etc/config.json\")"
      },
      {
        "title": "3. Project Management (Magit)",
        "body": "Use Magit for all Git operations to ensure high-integrity commits and staging."
      },
      {
        "title": "Advanced Workflows",
        "body": "For detailed patterns on recursive data processing (RLM), memory management, and REPL-based accuracy, see:\n\nusage.md - Low-level Lisp interaction patterns.\nagent-workflows.md - High-level operational strategies."
      },
      {
        "title": "Guaranteed Accuracy",
        "body": "Always use the Emacs Lisp REPL for math, data manipulation, or status calculations. Accuracy is paramount; do not attempt manual calculations."
      },
      {
        "title": "Initialization",
        "body": "Run scripts/bootstrap.sh to ensure the daemon is active and the agent-init.el configuration is loaded."
      }
    ],
    "body": "Agent Emacs: The Living Workspace\n\nThis skill provides a persistent, high-performance Emacs environment designed specifically for AI agents. It replaces fragmented CLI tools with a unified \"Living Image\" workflow.\n\nCore Concepts\nThe Daemon: All work happens inside a persistent Emacs daemon (emacs-agent.service).\nThe Socket: Communication is handled via emacsclient -s /tmp/emacs0/server.\nBuffers as State: Files, terminal outputs, and remote connections are treated as persistent buffers. State is maintained between agent turns.\nOperational Workflow\n1. Structural Editing\n\nDo not use regex for complex code changes. Use ELisp forms to manipulate the AST.\n\nemacsclient -s /tmp/emacs0/server --eval \"(with-current-buffer \\\"main.lisp\\\" (goto-char (point-max)) (insert \\\"\\n(new-function)\\\"))\"\n\n2. Remote Infrastructure (TRAMP)\n\nManage remote nodes transparently. Opening a remote file automatically establishes a persistent SSH tunnel.\n\n(find-file \"/ssh:user@remote-node:/etc/config.json\")\n\n3. Project Management (Magit)\n\nUse Magit for all Git operations to ensure high-integrity commits and staging.\n\nAdvanced Workflows\n\nFor detailed patterns on recursive data processing (RLM), memory management, and REPL-based accuracy, see:\n\nusage.md - Low-level Lisp interaction patterns.\nagent-workflows.md - High-level operational strategies.\nGuaranteed Accuracy\n\nAlways use the Emacs Lisp REPL for math, data manipulation, or status calculations. Accuracy is paramount; do not attempt manual calculations.\n\nInitialization\n\nRun scripts/bootstrap.sh to ensure the daemon is active and the agent-init.el configuration is loaded."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/PiTZE/agent-emacs",
    "publisherUrl": "https://clawhub.ai/PiTZE/agent-emacs",
    "owner": "PiTZE",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}