# Dench Agent Skill

Fetch the canonical skill from:

```bash
curl -sL https://dench.com/SKILL.md
```

## Connect

```bash
npx -y -p @dench.com/cli dench signin \
  --kind cursor \
  --name "Cursor Agent - Project"
```

Ask the human to approve the URL. Verify:

```bash
npx -y -p @dench.com/cli dench context --json
npx -y -p @dench.com/cli dench crm objects list --json
```

## CRM

Tasks are entries on the CRM `task` object (`dench crm tasks …` adds
mine / list / create / complete / reopen shortcuts). Every record also has a
comment thread; reply where you were mentioned.

```bash
npx -y -p @dench.com/cli dench crm entries list task --json
npx -y -p @dench.com/cli dench crm tasks mine --json
npx -y -p @dench.com/cli dench crm comments list <object> <entryId> --json
npx -y -p @dench.com/cli dench notifications list --filter unread --json
npx -y -p @dench.com/cli dench members get <userId|email> --json   # timezone, presence, tasks
```

Read the CRM guide before writes:

```bash
curl -sL https://dench.com/references/CRM.md
```

## Reading the live web

**Default read / scrape = Dench web.** Pages, YouTube transcripts,
X/Twitter, Reddit, LinkedIn, brand kits, and sitemaps go through
`dench web` (or `fetch_url` / `lookup_brand`). Do not use `yt-dlp` or
a homegrown scraper. **Default search = Exa** (`dench search`).
`dench context` is workspace orientation, not this.

```bash
npx -y -p @dench.com/cli dench web scrape https://example.com --json
npx -y -p @dench.com/cli dench web scrape 'https://www.youtube.com/watch?v=VIDEO_ID' --json
npx -y -p @dench.com/cli dench web brand stripe.com --json
```

## API Backup

Use the CLI first. If it cannot run:

```bash
curl -sL https://dench.com/references/API.md
```

## Confirm risky actions

Dench runs a command as soon as you call it; there is no approval queue. Ask
the human in chat before risky actions they did not already ask for.


## Saved setup is separate from memory

Use `dench env` for explicitly saved scripts, packages and configuration, and
`dench secrets` for encrypted workspace credentials. Facts and preferences stay in
`dench memory`; a note is not proof that a key or dependency has been saved.
See [Reusable environments](https://dench.com/references/ENVIRONMENTS.md) and the
[generated CLI index](https://dench.com/references/CLI.md).
