Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

emacs-hook-debugging

Skill by Jamie-Cui

Diagnoses Emacs hook ordering, key binding shadowing, remaps, and advice-related behavior by inspecting live runtime objects. Built for cases where Emacs behavior depends on hooks, keymaps, or advice.

  • Score 56
  • 49 stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install emacs-hook-debugging

Built from the published package, never by AI.

git clone --depth 1 https://github.com/Jamie-Cui/magent /tmp/magent && mkdir -p ~/.claude/skills && cp -r /tmp/magent/skills/emacs-hook-debugging ~/.claude/skills/emacs-hook-debugging

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install emacs-hook-debugging in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The emacs-hook-debugging skill helps an AI assistant work out why Emacs behaves a certain way when hooks, keymaps, remaps, or advice are involved. The source says to inspect the effective runtime objects directly rather than guess. The assistant checks hook values, command remappings, active minor modes, local and global maps, and advice lists. It then explains which binding or hook actually wins and why.

The skill lists two tools, emacs_read and emacs_eval_live, and is marked with low risk. It activates in emacs-lisp-mode and lisp-interaction-mode, and its source is listed as builtin under the emacs name. It is intended for situations where behavior depends on hooks, keymaps, remaps, or advice.

Written from the project's SKILL.md and checked against it.

What it can do

  • emacs_readListed tool the skill uses to read Emacs state.
  • emacs_eval_liveListed tool the skill uses to evaluate code in the running Emacs session.
  • Hook inspectionChecks hook values to determine the order in which hooks run.
  • Binding and remap checksChecks command remappings, local and global maps, and active minor modes.
  • Advice inspectionChecks advice lists to see how advice affects a command.
  • Winner explanationExplains which binding or hook actually wins and why.

What you need

  • Emacs

Try asking

  • Why is my Emacs key binding being shadowed by another mode?
  • Which hooks run for this mode, and in what order?
  • What advice is wrapping this command in my Emacs session?

Good to know

  • Listed modes are emacs-lisp-mode and lisp-interaction-mode.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/emacs-hook-debugging/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to emacs-hook-debugging

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

emacs-hook-debugging: common questions

Which Emacs modes does this skill activate in?

The source lists emacs-lisp-mode and lisp-interaction-mode as its modes.

What does the skill check to find the winning binding?

It checks hook values, command remappings, active minor modes, local and global maps, and advice lists.

What risk level is the skill marked with?

The source marks the skill with risk low and disclosure active.

How do I install emacs-hook-debugging?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is emacs-hook-debugging free?

The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.

Is emacs-hook-debugging safe to use?

It scores 56 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to emacs-hook-debugging?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

emacs-hook-debugging Install

Add to stack

Loading.