> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bossmode.ing/llms.txt
> Use this file to discover all available pages before exploring further.

# Context & Capture

> One page that shows everything your agents know about your business — buyer profiles, captured links, competitive intel, and active skills.

## Centralized customer context

The `/dashboard/context` page is the single source of truth for everything your agents read before they act. It surfaces buyer personas, company knowledge entries, linked Loom recordings, Slack thread captures, tracked competitors, and active skill references — all editable inline, all scoped to your workspace.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/bossmode/agent-deployer/images/context-dashboard.png" alt="Context dashboard" />

Every card on this page supports add, edit, and delete. Changes persist immediately via Convex reactive mutations. RBAC is enforced on every write — `operator` role and above can edit; `viewer` role is read-only.

## Loom & Slack link capture

Paste a Loom URL or a Slack thread URL into the capture panel and BossMode infers the kind (`loom`, `slack`, `notion`, `github`, or `other`), records a title and optional notes, and stores it with a timestamp.

```bash theme={null}
POST /api/pro/links/capture
x-bossmode-token: $BOSSMODE_API_TOKEN

{
  "url": "https://www.loom.com/share/abc123",
  "notes": "Customer walkthrough — pain points at 4:32"
}
```

The response returns the capture record immediately. Recent captures appear in the context panel with copy-link and delete actions.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/bossmode/agent-deployer/images/link-capture-panel.png" alt="Link capture panel" />

## Competitive research engine

Track competitors and let agents surface weekly intel deltas. Each competitor entry records a name, URL, notes, when tracking started, and the latest AI-generated summary. The scan action is pluggable — it ships with a stub provider that returns structured metadata without hitting external URLs. Wire a real search provider (Exa, Tavily, etc.) by setting the appropriate env var.

```bash theme={null}
POST /api/pro/competitors/:id/scan
```

The `/dashboard/competitive` page lists every tracked competitor alongside the latest summary and a re-scan button.

<img src="https://mintlify.s3.us-west-1.amazonaws.com/bossmode/agent-deployer/images/competitive-intel.png" alt="Competitive intel view" />

## API reference

| Method   | Route                           | Description                         |
| -------- | ------------------------------- | ----------------------------------- |
| `POST`   | `/api/pro/links/capture`        | Capture a Loom, Slack, or other URL |
| `POST`   | `/api/pro/competitors`          | Add a competitor                    |
| `DELETE` | `/api/pro/competitors/:id`      | Remove a competitor                 |
| `POST`   | `/api/pro/competitors/:id/scan` | Trigger a competitive scan          |

All routes require `x-bossmode-token` and at least `operator` role.
