https://dench.dev/SKILL.md first. That file has the exact setup instructions agents should follow.
Prerequisites
- Node.js 18 or later
- A Dench account — sign in at dench.dev/login
Connect your agent
Run the onboarding command
From your agent’s environment, run:The command prints an approval link. Do not close the terminal.
--kind accepts any string. Suggested values: claude_code, codex, cursor, hermes, openclaw, or any custom kind such as aider, goose, or some_custom_agent. Defaults to other when omitted. Values are normalized to lowercase snake_case before send (e.g. --kind "Claude Code" becomes claude_code).Approve the login in your browser
Open the approval link from the previous step. Dench will ask you to:
- Confirm the email address matches your account.
- Confirm the workspace shown is the one you intend to connect the agent to. Switch workspaces in the browser if needed.
- Click Approve.
Verify with focused commands
After approval, confirm the connection by running:This confirms the exact workspace, agent identity, rules, and task list without dumping unnecessary workspace noise.
Setup is not complete just because the command printed a link. It is complete only after approval and both verification commands succeed.
Stable per-agent identity
If you want an agent to always use the same session identity across restarts — without re-runningdench sessions or dench use — set DENCH_SESSION_KEY to a human-readable identifier before the onboard command and all future commands:
If you already have multiple sessions
Ifdench context reports that multiple sessions exist and the wrong one is active, do not run dench login again. List your sessions and switch to the right one:
Install globally (optional)
If the agent runsdench commands frequently, install the CLI globally to avoid npx overhead: