Automated summary
Drives the running notedeck app from a shell through the `nd` CLI, which queries its local socket to list available tools and call them, or to spawn a Dave session.
Strengths
- The tool list is fetched from the app on every run, so it always matches the build that is actually running.
- Covers the full loop: discovery (`nd tools`), argument inspection, and invocation (`nd call`) with values coerced by the tool's own schema.
- Also ships a stdio MCP server (`nd mcp`) with `--ui` and `--read-only` filters, ready for agent registration.
- Clear failure signalling: exit 1 for tool or command-line errors, exit 2 when notedeck is not running.
Limitations
- Requires a live notedeck instance reachable over its per-user socket; otherwise nothing useful can be done.
- A notedeck started with `--headless` rejects UI tools whose result is a window action.
- Argument validation relies on each tool's declared schema, so mistakes fail before sending but the diagnostic stays fairly generic.
Use it when you need to open a card, review queue or Dave session in notedeck from a terminal or script, or expose those tools to an agent over MCP.
Skip it when notedeck is not running, is headless and you need UI actions, or when you actually want a remote API rather than a local socket.
Security analysis
SafeThe content is documentation for a local CLI that talks to a running app over a per-user Unix socket via `cargo run -p nd_cli`. It contains no destructive commands, no network fetches or piping to shells, no credential/token handling, and no attempts to override the auditor. Actions are limited to listing/calling local app tools, spawning local sessions, and optionally exposing them as an MCP server, so execution risk is minimal and scoped to the user's own machine.
- •Documents registering a local MCP server (`claude mcp add notedeck -- nd mcp`), which modifies the user's Claude configuration; benign but a persistent config change worth noting.
Examples
Open headway:notedeck/balcony-warm-action in notedeck.What tools does the running notedeck expose? Filter them to the UI ones.Register nd as an MCP server for Claude Code and list the read-only tools it offers.name: nd
description: Drive the running notedeck from the command line via the nd CLI (crates/nd_cli) — list its tools and call any of them over its local socket, or spawn a Dave session, e.g. open a headway card or agentium session in the window, open the review queue, or read board data. Use when the user wants to open something in notedeck from a shell, script the app, or see which tools the running notedeck offers — e.g. "open this card in notedeck", "what tools does notedeck have", "call open".
nd: notedeck's tools from a shell
nd talks to the running notedeck over its per-user socket
(notedeck_ipc::socket_path(), overridden by $NOTEDECK_SOCKET). Every run
fetches the tool list from the app, so it always matches what's running and
there's nothing to keep in sync. Source: crates/nd_cli.
Running it
cargo run -q -p nd_cli -- tools # or the built target/debug/nd
Commands
nd tools [--json] [<pattern>]— every tool, grouped by category, markeddata/uiandro(read-only). A pattern filters by name, title or description (smart-case regex).nd tools <name>— one tool's description and its arguments.nd call <name> [key=value…]— call a tool. Values are coerced by the tool's schema (string, number, true/false, JSON for object/array). A wrong or missing key fails before anything is sent, listing the arguments. A tool whose only required argument is a string takes it bare:nd call open agentium:<word-id>.--json '<object>'or--json-file <path|->passes the arguments as one object instead.nd mcp [--ui] [--read-only]— a stdio MCP server:tools/listandtools/callgo to the socket, one connection each, so it can start before notedeck. Only data tools are exposed unless--ui;--read-onlykeeps only tools that change nothing. A hidden tool can't be called by name. Register it withclaude mcp add notedeck -- nd mcp.nd spawn [--json] [<dir>]— open a Dave session in<dir>(default the current directory, resolved and checked locally) and focus it, starting Dave if it isn't open. PrintsSpawned session <id>, or the bare id with--json. It callsdave_spawn_session;agentium spawnis the relay one for other hosts.nd --version— nd's version, and the running notedeck's.nd <cmd> --help,nd help options— per-command pages, exit codes.
Examples
nd call open headway:notedeck/balcony-warm-action
nd call open agentium:evolve-rule-carry
nd call open reference=agentium:evolve-rule-carry msg="rebase onto master"
nd call headway_open_review_queue
nd call headway_show_card --json '{"card":"headway:notedeck/balcony-warm-action"}'
Output and exit codes
- Data prints as JSON on stdout (indented on a terminal, one line in a pipe), exit 0.
- A UI tool that acted on the window prints nothing, exit 0.
- A tool error goes to stderr, exit 1 (also for a bad command line).
- No notedeck listening:
notedeck isn't running (no socket at …), exit 2.
A headless notedeck (--headless) refuses UI tools whose answer is a window
action. Tests must point NOTEDECK_SOCKET at a short temp path (a Unix socket
path must fit in ~100 bytes), never the user's real socket.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/nd-notedeck-tools-from-the-command-line-mvxbt1rm/download' --output '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md.part' && mv '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md.part' '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md' && test -s '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/nd' && cp -R '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm' '.claude/skills/nd'Cursor
test -f '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md' && test -s '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/nd' && cp -R '.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm' '.cursor/skills/nd'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm'openskills read 'nd-notedeck-tools-from-the-command-line-mvxbt1rm'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/nd-notedeck-tools-from-the-command-line-mvxbt1rm/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.