quickstart

A quick reference for setting up and working on the Emdash desktop app, which is built as a pnpm monorepo—a repository containing several related projects. It lists the required tools, common commands, and checks.

In plain words
What is it for?
Use it to install dependencies, run the desktop app, build or reset it, rebuild native packages, and run formatting, linting, type checks, and tests.
Why use it?
It removes guesswork about installing the correct Node.js and pnpm versions, starting the app, rebuilding native dependencies, and checking changes before a pull request.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/generalaction/emdash/quickstart
Clone the repo
git clone --depth 1 https://github.com/generalaction/emdash
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 332 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00332
Opus 5 $0.00000 $0.00166
Sonnet 5 $0.00000 $0.00066
Haiku 4.5 $0.00000 $0.00033

Measured yesterday against content hash 885fbe073474, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

quickstart scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/quickstart.md · 42 lines

What it actually says

Quickstart

Toolchain

  • Only prerequisite: any pnpm on PATH. The root package.json pins packageManager: [email protected] and devEngines.runtime node 24.14.0 with onFail: "download", so pnpm install provisions the pinned pnpm and Node itself (no nvm or corepack needed).
  • Optional: the committed mise.toml pins node + pnpm for mise users; .nvmrc remains as a compatibility hint.
  • Workspace layout: pnpm monorepo; the Electron app lives in apps/emdash-desktop/

Core Commands

Run from apps/emdash-desktop/ (the root package.json also provides dev and build aggregates that run through Nx in dependency order):

pnpm run dev
pnpm run dev:main
pnpm run dev:renderer
pnpm run build
pnpm run rebuild
pnpm run reset

Validation Commands

Run from the repo root (they fan out to the workspace) or from apps/emdash-desktop/:

pnpm run format
pnpm run lint
pnpm run typecheck
pnpm run test

Important Notes

  • After native dependency changes (better-sqlite3, node-pty), run pnpm run rebuild.
  • There are no pre-commit hooks; run the validation commands before opening or merging a PR.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 42 lines · 0 tokens per session scan A 885fbe073474

Subscribe to this mod's changes

quickstart is an agent published in the GitHub repository generalaction/emdash (5,548 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 332 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories