Agent skill

Clean Up Elc

by dgillis in dgillis/emacs-codex-ide

Delete byte-compiled .elc files produced during validation in this repository.

MITAuto-check passed

Install Clean Up Elc

skills CLI
$ npx skills add dgillis/emacs-codex-ide --skill clean-up-elc -a claude-code

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

GitHub CLI
$ gh skill install dgillis/emacs-codex-ide clean-up-elc --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/dgillis/emacs-codex-ide.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/clean-up-elc .claude/skills/clean-up-elc && 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
clean-up-elc
GitHub stars
108
Token cost
~196 tokens
SKILL.md length
81 words
Files
3 (incl. scripts)
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

Delete byte-compiled .elc files produced during validation in this repository.

  • Works in 3 steps: Pass one or more .el or .elc paths to… → For .el inputs, the script deletes the… → For .elc inputs, the script deletes that…
  • SKILL.md covers Workflow and Notes
  • Runs Shell scripts from its folder

What it does

Clean Up Elc is an agent skill from dgillis/emacs-codex-ide. Delete byte-compiled .elc files produced during validation in this repository. Use this skill after batch compilation or other checks that leave generated .elc artifacts behind.

Its SKILL.md is about 200 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `agents/openai.yaml` and `scripts/clean-up-elc.sh`).

The repository describes itself as: Codex IDE integration for Emacs. The licence is MIT.

Example prompts

  • “/clean-up-elc”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Pass one or more .el or .elc paths to ./.agents/skills/clean-up-elc/scripts/clean-up-elc.sh.
  2. For .el inputs, the script deletes the sibling .elc file if present.
  3. For .elc inputs, the script deletes that file directly.

What it can do on your machine

Read from SKILL.md and the folder at commit 5eba84d. 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

    Ships 1 file in scripts/ (Shell), which the agent can run.

    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

Clean Up Elc loads about 196 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 81 words of instructions outside code blocks.

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

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); the scripts in this folder are not scanned.

SKILL.md

The full file from dgillis/emacs-codex-ide at commit 5eba84d, republished under its MIT licence (© dgillis). 81 words, ~196 tokens.

Download SKILL.mdSave it as .claude/skills/clean-up-elc/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
clean-up-elc
description
Delete byte-compiled `.elc` files produced during validation in this repository. Use this skill after batch compilation or other checks that leave generated `.elc` artifacts behind.

Clean Up Elc

Use this skill to remove generated .elc files without touching source files.

Workflow

  1. Pass one or more .el or .elc paths to ./.agents/skills/clean-up-elc/scripts/clean-up-elc.sh.
  2. For .el inputs, the script deletes the sibling .elc file if present.
  3. For .elc inputs, the script deletes that file directly.

Notes

  • Use the explicit repo-root path above; do not reinterpret it relative to SKILL.md.
  • Missing files are ignored so the cleanup step is idempotent.
  • Keep this limited to generated .elc artifacts.

© dgillis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .agents/skills/clean-up-elc of dgillis/emacs-codex-ide.

  • SKILL.md
  • agents/openai.yaml
  • scripts/clean-up-elc.sh

Open the folder on GitHubat commit 5eba84d

Compare with similar skills

Clean Up Elc 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.

Clean Up Elc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clean Up Elc this skilldgillis/emacs-codex-ide108—~196Automated safety check: PassMIT
Android Clean Architectureaffaan-m/ECC276k4 repos~2.2kAutomated safety check: PassMIT
Data Cleanbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~1.1kAutomated safety check: PassCustom licence
Compile Knowledgesickn33/agentic-awesome-skills47k1 repos~2.3kAutomated safety check: PassMIT
Compileratopile/atopile4k—~1kAutomated safety check: PassMIT
Cleanbergside/awesome-design-skills3.1k1 repos~918Automated safety check: PassMIT

Similar skills

  • Applies Clean Architecture to Android and Kotlin Multiplatform projects: module layout, dependency rules, UseCases, Repositories and data layer patterns.

    276k GitHub starsUsed in 4 repos~2.2k tokens
    DevelopmentAuto-check passed
  • Data Clean

    brycewang-stanford/Auto-Empirical-Research-Skills

    Produce documented data cleaning scripts that log every transformation with N before/after each step, generate a CONSORT-style exclusion flow diagram, create decision log entries for every…

    4.6k GitHub stars~1.1k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed
  • Compile Knowledge

    sickn33/agentic-awesome-skills

    Compile durable, non-obvious findings into an interlinked markdown knowledge store — atomic files, [[wiki-links]], a maintained index — so an agent gets smarter across sessions instead of relearning…

    47k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • Compiler

    atopile/atopile

    How the atopile compiler builds and links TypeGraphs from .ato (ANTLR front-end → AST → TypeGraph → Linker → DeferredExecutor), plus the key invariants and test entrypoints.

    4k GitHub stars~1k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Clean

    bergside/awesome-design-skills

    Simplicity-focused design with ample whitespace, legible typography, and a limited color palette to reduce visual clutter.

    3.1k GitHub starsUsed in 1 repo~918 tokens
    Frontend & DesignAuto-check passed
  • Data Cleaning

    brycewang-stanford/Auto-Empirical-Research-Skills

    Clean and transform messy data for analysis in Python, R, or Stata

    4.6k GitHub stars~2.9k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed

More from dgillis/emacs-codex-ide

  • Elisp Compile

    dgillis/emacs-codex-ide

    Validate byte compilation for a specified Emacs Lisp file in this repository.

    108 GitHub stars~265 tokensUpdated 2 mo ago
    Auto-check passed
  • Elisp Reload

    dgillis/emacs-codex-ide

    Reload one or more Emacs Lisp files from this repository into the running Emacs session with emacsclient --eval.

    108 GitHub stars~222 tokensUpdated 2 mo ago
    Auto-check passed
  • Run Tests

    dgillis/emacs-codex-ide

    Run the codex-ide test suite from this repository. An agent skill from dgillis/emacs-codex-ide.

    108 GitHub stars~203 tokensUpdated 2 mo ago
    Auto-check passed

Questions about Clean Up Elc

What does Clean Up Elc do?

Delete byte-compiled .elc files produced during validation in this repository. Clean Up Elc is an agent skill from dgillis/emacs-codex-ide.elc files produced during validation in this repository.

How do I install Clean Up Elc in Claude Code?

Run `npx skills add dgillis/emacs-codex-ide --skill clean-up-elc -a claude-code`. Or copy the skill folder (.agents/skills/clean-up-elc in dgillis/emacs-codex-ide) into .claude/skills/clean-up-elc in your project. Claude Code loads it when a task matches its description.

How do I install Clean Up Elc in Codex?

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

Can I use Clean Up Elc 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 dgillis/emacs-codex-ide --skill clean-up-elc -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clean-up-elc, .gemini/skills/clean-up-elc, .github/skills/clean-up-elc and .opencode/skills/clean-up-elc in your project.

What does Clean Up Elc need to run?

Going by SKILL.md and its folder, Clean Up Elc needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Clean Up Elc 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 Clean Up Elc 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Clean Up Elc use?

Clean Up Elc is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clean Up Elc use?

About 196 tokens (SKILL.md is roughly 784 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 Clean Up Elc?

Skills that share tags, products or a category with Clean Up Elc: Android Clean Architecture (affaan-m/ECC, 276k stars), Data Clean (brycewang-stanford/Auto-Empirical-Research-Skills, 4.6k stars), Compile Knowledge (sickn33/agentic-awesome-skills, 47k stars) and Compiler (atopile/atopile, 4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clean Up Elc?

dgillis (a GitHub user) maintains it in dgillis/emacs-codex-ide, which has 108 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on July 30, 2026.

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