emacsclient

emacsclient: always use emacsclient rather than emacs for all Emacs operations, including user requests, byte-compilation, parenthesis checking, running ERT tests, and any elisp code evaluation.

Last repository push
GitHub Stars
154
Forks
19
Issues / PRs
8

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "emacsclient" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7a173d2d56a1a538edbb1bf05599c08605cda8ceca14428f4c44fa31ec9fdf9b. Verify the upstream source and version against https://github.com/xenodium/emacs-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

emacsclient: always use emacsclient rather than emacs for all Emacs operations, including user requests, byte-compilation, parenthesis checking, running ERT tests, and any elisp code evaluation.

0 Downloads

Introduction source: third_party · xenodium · 0.0.1 Reference

SkillPi interpretation

Tasks
Always use emacsclient instead of emacs. This applies to all Emacs operations: user requests, byte compilation, check-parens, running ERT tests, and any other elisp evaluation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: emacsclient
description: 'Always use emacsclient instead of emacs. This applies to all Emacs operations: user requests, byte compilation, check-parens, running ERT tests, and any other elisp evaluation.'
tools: Bash

Always use emacsclient

The user has an Emacs server running. All Emacs operations must go through emacsclient, never emacs or emacs --batch. This includes both user-requested actions and agent-initiated operations like byte compilation, syntax checking, or running tests.

Examples

  • Open a file: emacsclient --no-wait "/path/to/file"
  • Evaluate elisp: emacsclient --eval '(some-function)'
  • Open at a line: emacsclient --no-wait +42 "/path/to/file"
  • Byte compile a file:
    emacsclient --eval '
    (byte-compile-file "/path/to/file.el")'
  • Check parentheses:
    emacsclient --eval '
    (with-temp-buffer
      (insert-file-contents "/path/to/file.el")
      (check-parens))'
  • Run ERT tests:
    emacsclient --eval '
    (progn
      (load "/path/to/test-file.el" nil t)
      (ert-run-tests-batch-and-exit "pattern"))'

Rules

  • Always use emacsclient, never emacs or emacs --batch.
  • Use --no-wait when opening files so the command returns immediately.
  • Use --eval when evaluating elisp.
  • Always format --eval elisp across multiple lines with proper indentation.
  • Run emacsclient commands via the Bash tool.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 针对 Emacs 高级用户的高频刚需场景,显著提升工作效率
  • 覆盖多种具体操作类型,实用价值高
Trigger Precision95/100

Highlights

  • 触发词精准完整,边界清晰,覆盖多种操作变体
Structure and Standards90/100

Highlights

  • 结构清晰,包含明确规则和多个端到端示例
  • frontmatter 完整,文档组织良好
Execution Reliability85/100

Highlights

  • 工具使用标准,参数正确,覆盖主要操作场景
Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.