Agent skill

Dired

by xenodium in xenodium/emacs-skills

This skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient.

No licenceAuto-check passed

Install Dired

skills CLI
$ npx skills add xenodium/emacs-skills --skill dired -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xenodium/emacs-skills dired --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xenodium/emacs-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dired .claude/skills/dired && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dired
GitHub stars
143
Token cost
~413 tokens
SKILL.md length
162 words
Files
2
Skills in repo
19
Repo updated
First seen
Licence
None found

At a glance

This skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient.

  • Invokes /dired to open files from the latest interaction in an Emacs dired buffer via emacsclient
  • SKILL.md covers Strategy and Rules
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Dired is an agent skill from xenodium/emacs-skills. This skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient.

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file.

The repository describes itself as: Emacs skills for coding agents.

When your agent uses it

  • Invokes /dired to open files from the latest interaction in an Emacs dired buffer via emacsclient

Example prompts

  • “/dired”
  • “/dired”

What it can do on your machine

Read from SKILL.md and the folder at commit a158238. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dired loads about 413 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 162 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~413

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 162 words (~413 tokens).

“Open files from the most recent interaction in an Emacs dired buffer using emacsclient --eval. Only include files relevant to the latest interaction (files just generated, edited, listed, or produced by the most recent tool output), not all files mentioned…”

— opening of SKILL.md by xenodium
name
dired
tools
Bash
disable-model-invocation
true

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in skills/dired of xenodium/emacs-skills.

  • SKILL.md
  • agent-skill-dired.el

Open the folder on GitHubat commit a158238

Compare with similar skills

Dired next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dired compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dired this skillxenodium/emacs-skills143—~413Automated safety check: PassNone
Create Invoke TaskDataDog/datadog-agent3.8k—~606Automated safety check: NotesApache-2.0
Golem Invoke Agent Moonbitgolemcloud/golem1.5k—~1.4kAutomated safety check: PassCustom licence
Golem Invoke Agent Rustgolemcloud/golem1.5k—~1.4kAutomated safety check: PassCustom licence
Golem Invoke Agent Scalagolemcloud/golem1.5k—~1.4kAutomated safety check: PassCustom licence
Golem Invoke Agent TSgolemcloud/golem1.5k—~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Create Invoke Task

    DataDog/datadog-agent

    Official

    Create a new Python invoke task for the dda CLI. An agent skill from DataDog/datadog-agent.

    3.8k GitHub stars~606 tokensUpdated today
    Auto-check: notes
  • Invoking a MoonBit Golem agent method from the CLI. An agent skill from golemcloud/golem.

    1.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Golem Invoke Agent Rust

    golemcloud/golem

    Invoking a Rust Golem agent method from the CLI. An agent skill from golemcloud/golem.

    1.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Golem Invoke Agent Scala

    golemcloud/golem

    Invoking a Scala Golem agent method from the CLI. An agent skill from golemcloud/golem.

    1.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Golem Invoke Agent TS

    golemcloud/golem

    Invoking a TypeScript Golem agent method from the CLI. An agent skill from golemcloud/golem.

    1.5k GitHub stars~1.4k tokensUpdated today
    Auto-check passed
  • Invoking an Effect-based Golem agent method from the CLI. An agent skill from golemcloud/golem.

    1.5k GitHub stars~1.3k tokensUpdated today
    Auto-check passed

More from xenodium/emacs-skills

All 19 skills in this repo
  • D2

    xenodium/emacs-skills

    This skill should be used when the user invokes "/d2" to create a diagram from the current context using D2 and output the resulting image path.

    143 GitHub stars~693 tokensUpdated 2 mo ago
    Auto-check passed
  • GitHub Activity

    xenodium/emacs-skills

    This skill should be used when the user invokes "/github-activity" to analyze a GitHub project's recent activity (PRs and issues) and produce a succinct, chart-backed health report.

    143 GitHub stars~1.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Gnuplot

    xenodium/emacs-skills

    This skill should be used when the user invokes "/gnuplot" to plot data from the current context using gnuplot and output the resulting image path.

    143 GitHub stars~734 tokensUpdated 2 mo ago
    Auto-check passed
  • Mappu

    xenodium/emacs-skills

    A skill your agent uses when the user asks about a specific place — restaurant, cafe, shop, business, landmark — or when context implies a location-based lookup ("where is X", "find Y", "X in Z", "X…

    143 GitHub stars~925 tokensUpdated 2 mo ago
    Auto-check passed
  • Matplotlib

    xenodium/emacs-skills

    This skill should be used when the user invokes "/matplotlib" to plot data from the current context using matplotlib (via uv) and output the resulting image path.

    143 GitHub stars~690 tokensUpdated 2 mo ago
    Auto-check passed
  • Mermaid

    xenodium/emacs-skills

    This skill should be used when the user invokes "/mermaid" to create a diagram from the current context using Mermaid and output the resulting image path.

    143 GitHub stars~893 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Dired

What does Dired do?

This skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient. Dired is an agent skill from xenodium/emacs-skills. This skill should be used when the user invokes "/dired" to open files from the latest interaction in an Emacs dired buffer via emacsclient.

When should I use Dired?

Dired fits situations like: invokes /dired to open files from the latest interaction in an Emacs dired buffer via emacsclient.

How do I install Dired in Claude Code?

Run `npx skills add xenodium/emacs-skills --skill dired -a claude-code`. Or copy the skill folder (skills/dired in xenodium/emacs-skills) into .claude/skills/dired in your project. Claude Code loads it when a task matches its description.

How do I install Dired in Codex?

Run `npx skills add xenodium/emacs-skills --skill dired -a codex`. Or copy the skill folder (skills/dired in xenodium/emacs-skills) into .agents/skills/dired in your project. Codex loads it when a task matches its description.

Can I use Dired in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xenodium/emacs-skills --skill dired -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dired, .gemini/skills/dired, .github/skills/dired and .opencode/skills/dired in your project.

What does Dired need to run?

SKILL.md names no scripts, command-line tools or credentials: Dired is instructions for the agent only.

Does Dired access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dired safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dired use?

No licence was found for Dired or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Dired use?

About 413 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dired?

Skills that share tags, products or a category with Dired: Create Invoke Task (DataDog/datadog-agent, 3.8k stars), Golem Invoke Agent Moonbit (golemcloud/golem, 1.5k stars), Golem Invoke Agent Rust (golemcloud/golem, 1.5k stars) and Golem Invoke Agent Scala (golemcloud/golem, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dired?

xenodium (a GitHub user) maintains it in xenodium/emacs-skills, which has 143 GitHub stars. The repository holds 19 skills in this directory. The repository was last updated on July 21, 2026.

Source: xenodium/emacs-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.