By ddaanet
Expand single-character Claude Code prompts into full instructions via a UserPromptSubmit hook. Type c for Continue, h for /handoff:handoff, etc.; mappings live in ~/.claude/onekeyers.txt.
A Claude Code plugin that expands single-character prompts into full instructions. Type one key and onekeys turns it into the message you meant.
A UserPromptSubmit hook inspects every prompt. When your entire
prompt is a single character that matches a key in your mapping, the
hook injects context telling Claude to act on the expansion. Longer
prompts pass through untouched.
A hook cannot rewrite your prompt or run a slash command directly, so
onekeys injects the expansion as authoritative intent. For slash-command
expansions (e.g. h → /handoff:handoff) Claude invokes the matching
command/skill itself.
Mappings live in ~/.claude/onekeyers.txt, auto-created with these
defaults on first use:
c Continue
r Retry
h /handoff:handoff
H /handoff, /commit
n What's next?
s Status.
w What do you think?
y Yes
Format: char<space>expansion, one per line. The first space splits the
key from the expansion, so expansions may contain spaces. Keys are
single characters and case-sensitive (h and H differ). Blank lines
and # comments are ignored. Edit the file to add your own.
The mapping is not frozen after the first run. When a new onekeys version
ships different defaults, your file is reconciled with them on the
next single-character prompt — a 3-way merge (via diff3) that pulls in
the new defaults while keeping your own edits.
To do this without guessing, onekeys keeps a second file,
~/.claude/onekeyers.base.txt, recording the defaults as of the last
reconcile. It is the common ancestor of the merge; leave it alone.
<<<<<<</|||||||/>>>>>>> markers so the
three versions are legible — to ~/.claude/onekeyers.txt.merge and
nudges you once. Resolve that file, delete the markers, and the next
onekey press promotes it into place.Requires diff3 (from GNU diffutils, normally already present). Without
it, onekeys falls back to seed-on-first-run and never reconciles.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub ddaanet/claude-plugins --plugin onekeysPre-/clear task snapshot for Claude Code: agent writes current task + open decisions; at next session start, a hook scrapes the prior transcript and injects task + last-N prompts + files touched into the fresh agent automatically.
Opinionated agent framework for Claude Code
Forces `git status` to run with the Claude Code command sandbox disabled, so it reports the real working tree instead of phantom sandbox-mount entries.
Candidature assistée : préparation, lettre de motivation, CV adapté, relecture, suivi des retours. Stockage Notion. Contenu français.
Shell scripting gotchas skill plus automatic shellcheck feedback on edited shell files
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.