跳到正文
cccskills
免费在 GitHub 公开

neru-ask

Answer a Neru user's question about what Neru does, which command, flag, or config key does a thing, why something does not work, or what to try next, from the help, man pages, and docs of their installed version rather than from memory. Routes config work to neru-setup-config. Use when a Neru user asks what Neru can do, how to do something with it, which command to run, why hints or a hotkey do nothing, or which skill to use.

中文简介正在准备中。当前显示原文说明。

y3owk1n/neru星标 873(GitHub 873 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md9.4 KB
  • agents/openai.yaml230 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Answering questions about Neru

Neru is a keyboard-driven mouse replacement. A daemon watches global hotkeys and draws overlays, and a CLI sends it commands over a socket. Modes take the keyboard until a target is picked. Hints label clickable elements, grid and recursive grid divide the screen, scroll moves content, monitor select jumps between displays. Actions click, scroll, and move the cursor without a mode. Every answer should come from the installed version, since commands, flags, and keys change between releases.

What every install has

Check these before anything remote. The install script, Homebrew, Nix, and a source build all ship them.

  • neru --help, then neru <command> --help. The help lists the flags and accepted values of the installed version.
  • man neru on macOS and Linux, and one page per subcommand such as man neru-hints, man neru-config-set, and man neru-action-left_click. apropos neru lists them. Windows has no man, and --help carries the same text.
  • neru status for whether the daemon runs and which mode is open.
  • neru doctor for config validity, socket health, permissions, and which capabilities this platform has. It runs without the daemon.
  • neru query hints for every element hints would label in the focused window, with its role and text, without drawing anything. Run it first for any "hints show nothing in app X" report. From a terminal it reports the terminal, so run it from a hotkey or as sleep 3; neru query hints. Versions before it have neru hints --debug, which prints a sample.
  • neru config dump for the config in force, defaults filled in.
  • neru roles --explain for the clickable roles and how each resolves here.
  • neru docs cli and neru docs config open the two references in a browser at the installed version.

For anything the help does not cover, fetch the doc at the installed version:

tag=$(neru --version | sed -n '1s/^Neru version //p' | cut -d- -f1)
case $tag in v*.*.*) ;; *) tag=main ;; esac
base="https://raw.githubusercontent.com/y3owk1n/neru/$tag/docs"
curl -fsSL "$base/reference/cli.md" || curl -fsSL "$base/CLI.md"

A release build prints its tag. A dev build prints v1.2.3-14-gabcdef, which the cut maps to the release it was built from. On Windows, where sed and cut are usually absent, the same fetch in PowerShell:

$tag = (((neru --version)[0] -replace '^Neru version ', '') -split '-')[0]
if ($tag -notmatch '^v\d+\.\d+\.\d+$') { $tag = 'main' }
$base = "https://raw.githubusercontent.com/y3owk1n/neru/$tag/docs"
try { Invoke-RestMethod "$base/reference/cli.md" } catch { Invoke-RestMethod "$base/CLI.md" }

Each doc, with the name it had in releases before the docs moved. When the new path returns 404, the installed release predates the move, so fetch the old name from the same docs/ URL:

DocBefore the moveWhat it covers
reference/cli.mdCLI.mdevery command and flag
guide/scripting.mdCLI.mddriving Neru from scripts and other hotkey tools
reference/ipc.mdCLI.mdthe IPC protocol
reference/configuration.mdCONFIGURATION.mdevery key with its default and platform column
concepts/bindings.mdCONFIGURATION.mdwhat a binding can run, and which binding answers a key
concepts/glossary.mdnot in older releases, skip itthe words the docs use
guide/getting-started.mdCONFIGURATION.mdfirst launch, permissions, first hotkey
guide/using-neru.mdCONFIGURATION.mdhow each mode is used, clicks, drag, sticky modifiers
guide/configuring.mdCONFIGURATION.mdconfig file location, layering, reloading, config set
guide/recipes.mdTIPS_TRICKS.mdworked recipes such as Vimium-style click on select, drag with any button, cycling modes on one key, and driving Neru from skhd
guide/troubleshooting.mdTROUBLESHOOTING.mdwhen something does not work
guide/installation.mdINSTALLATION.mdinstall methods and login services
reference/platform-support.mdCROSS_PLATFORM.mdwhat each platform supports
guide/linux.md, guide/linux-desktops.mdLINUX_SETUP.md, LINUX_DESKTOPS.mdLinux permissions and per-compositor notes

What Neru does

AskAnswer with
Click something on screen by keyboardneru hints --action left_click, or right_click, middle_click
Click where hints find nothingneru grid, neru recursive_grid or neru bisect, or neru hints --strategy vision
Filter hints by typingneru hints --search, or / inside hints
Scroll without a mouseneru scroll, or neru action scroll_down --steps N
Move the cursor to a spot, display, or grid cellneru action move_mouse, move_monitor, move_cell
Nudge the cursor and keep it moving while heldneru action move_mouse_relative, glide under [held_repeat]
Dragleft_click --state down, move, left_click --state up
Jump between monitorsneru monitor_select
Type text or press keysneru action feed
Click without moving the real cursorsave_cursor_pos, then the click, then restore_cursor_pos
Chain steps as one unitneru run "..." "...", or [macros] in config, see neru-setup-config
Bind a key to any of the above[hotkeys] in config, see neru-setup-config
Change hint letters, colours, grid sizeneru config set <key> <value>, see neru-setup-config
Make one app behave differently[[hints.app_configs]] by bundle id, see neru-setup-config
Hide overlays while screen sharingneru toggle-screen-share
Run Neru at loginneru services install, see neru-setup-config
Pause Neru without quittingneru stop, then neru start

Things a user often does not know:

  • Hints have four strategies. axtree reads the accessibility tree and is the default. vision recognises text on a screen capture, and on macOS rectangles too. contour finds edges on every platform, and segment finds controls and words from pixels on every platform. An app with a poor tree, such as an Electron app or a game, gets --strategy vision for one call or a per-app strategy in config.
  • Grid modes need no accessibility tree. When hints show nothing in an app, grid and recursive grid still work, because they divide the screen rather than read elements.
  • Hints only label roles in hints.clickable_roles. A missing hint is usually a role outside that list. neru query hints shows what was collected, neru roles --explain shows what the platform can name, and neru hints --role overrides the list for one call.
  • Inside a mode the keys are bindable too. Each mode has its own [<mode>.hotkeys] table, so Shift+L for a left click inside hints, Tab to cycle, and the arrow keys to nudge are defaults, not fixed.
  • Linux ships no default global hotkeys. The modes exist but nothing is bound until [hotkeys] or the compositor binds them. That is by design.
  • One config works on every platform. A key, flag, or action the current platform cannot act on loads with a warning, listed under platform_support in neru doctor. It is not an error.
  • Runtime toggles do not persist. toggle-scroll-invert, toggle-cursor-follow-selection, and toggle-screen-share last until the daemon restarts. The lasting form is the config key.
  • The CLI needs the daemon for most things. Modes, actions, config set, config dump, and status all talk to it. config init, config validate, doctor, and roles run without it.
  • There is no log file by default. logging.disable_file_logging is true out of the box. Before telling a user to read the log, have them set it to false and restart, then read ~/Library/Logs/neru/app.log on macOS, ~/.local/state/neru/log/app.log on Linux, or %LOCALAPPDATA%\neru\log\app.log on Windows.

Routing

  • Config, hotkeys, macros, modes, per-app overrides, or service work goes to neru-setup-config.
  • Building a tool on Neru, such as a status bar, a launcher, or a program that reads its state or drives it, goes to neru-build-integration.
  • A question with a one-command answer gets the command and the help page that documents it.
  • When something does not work, in this order: neru status, neru doctor, then neru query hints for a hints report or neru config validate for a hotkey report, then the Troubleshooting doc as above, before guessing at a cause. Its Permissions and Hotkeys Not Working sections cover most reports. On macOS, a hotkey that never fires after an update is usually a stale Accessibility grant. Remove Neru from the list and add it again.
  • A bug or a missing feature goes to a GitHub issue on y3owk1n/neru. Blank issues are disabled, so use the issue forms, and include neru --version and neru doctor output. Questions and config help belong in Discussions.

Do not answer flags or key names from memory. Run --help or read the man page first.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Add a Neru CLI command or flag: cobra command in internal/cli, IPC handler in internal/app/ipcctrl, service/mode work behind it, man pages, and docs/reference/cli.md. Use when adding or changing user-facing commands, subcommands, or flags. Not for config.toml options.

中文简介正在准备中。当前显示原文说明。

y3owk1n/neru8732026年10月26日 更新

Add or change a Neru config.toml option end to end: struct field, shared and platform defaults, validation, examples, docs, and hot-reload behavior. Use whenever a change adds, renames, or removes a key in the TOML config schema. Not for theme palette entries or CLI flags.

中文简介正在准备中。当前显示原文说明。

y3owk1n/neru8732026年10月26日 更新

Implement or stub Neru functionality for a specific OS/backend: port contract, build-tagged file slots, factory wiring, CodeNotSupported stubs, capability matrix, contract tests, and the docs ownership table. Use for any change under internal/adapter/platform or any *_darwin/_linux/_windows file. Not for pure-Go domain logic.

中文简介正在准备中。当前显示原文说明。

y3owk1n/neru8732026年10月26日 更新

Help a Neru user build a tool on top of Neru, such as a status bar, a launcher, voice control, a companion UI, automation from another hotkey tool, a Go program, or a client for the IPC socket in another language. Picks the interface, checks the installed version has it, reads the contract from that version's docs, and runs the result against the live daemon. Routes config and hooks work to neru-setup-config. Use when a Neru user wants to script Neru, read its state, follow its events, drive it from another program, or write code against its CLI, socket, or Go client.

中文简介正在准备中。当前显示原文说明。

y3owk1n/neru8732026年10月26日 更新

Commit working changes and open a Neru pull request the maintainer's way: conventional commit subjects, a PR title written for the changelog, the just ci gate, and the repo PR template filled honestly. Use when asked to commit, create a PR, open a pull request, or ship finished work in this repo.

中文简介正在准备中。当前显示原文说明。

y3owk1n/neru8732026年10月26日 更新

File a Neru bug report or feature request that matches the repo's issue forms: duplicate check first, every required field filled with real diagnostics, correct labels. Use when asked to open, file, or draft a GitHub issue for Neru. Not for pull requests.

中文简介正在准备中。当前显示原文说明。

y3owk1n/neru8732026年10月26日 更新

查看 y3owk1n 的全部技能

报告此技能的问题