skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
xenodium/emacs-skills100 installs

select

This skill should be used when the user invokes "/select" to open one or more files in Emacs and select a region relevant to the current discussion via emacsclient.

How do I install this agent skill?

npx skills add https://github.com/xenodium/emacs-skills --skill select
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill executes shell commands via emacsclient to automate text selection in Emacs based on the conversation context. It presents a low-severity indirect prompt injection risk because file names or paths derived from untrusted conversation history are interpolated into an executable Emacs Lisp expression without explicit sanitization.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerpass

    2 files scanned · No issues

  • ZeroLeakspass

    Score: 93/100 · 2 sections analyzed

What does this agent skill do?

Select region in Emacs

Open one or more files in Emacs and select (activate the region around) the code or text most relevant to the current discussion using emacsclient --eval. This allows the user to immediately act on the selection: narrow, copy, refactor, comment, etc.

Determine the relevant files and line ranges from the most recent interaction context.

How to select

First, locate agent-skill-select.el which lives alongside this skill file at skills/select/agent-skill-select.el in the emacs-skills plugin directory.

emacsclient --eval '
(progn
  (load "/path/to/skills/select/agent-skill-select.el" nil t)
  (agent-skill-select
    :selections (quote (("/path/to/file1.el"
                         :start 10
                         :end 25)
                        ("/path/to/file2.el"
                         :start 5
                         :end 12)))))'
  • :start is the 1-indexed start line.
  • :end is the 1-indexed end line.
  • The last file visited will have the visually active region. Other files have mark and point set (use C-x C-x to reactivate when switching to them).

Rules

  • Use absolute paths for files.
  • Choose the region most relevant to the current discussion (e.g., a function just modified, a block with an error, code just generated).
  • If no specific region is apparent, select the entire relevant function or block.
  • Locate agent-skill-select.el relative to this skill file's directory.
  • If no relevant files or regions exist in the recent interaction, inform the user.
  • Run the emacsclient --eval command via the Bash tool.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/xenodium/emacs-skills/select">View select on skillZs</a>