{
  "slug": "agent-browser-cookies-set-imports-cookies-from-files-1b105985adb9",
  "title": "agent-browser `cookies set` imports cookies from files",
  "tools": [
    "agent-browser"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-05-07T15:29:58.000Z",
  "announced_at": "2026-05-07T15:29:58.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When importing cookies from a file to set up an authenticated browser session, run `agent-browser cookies set --curl <file>`. It auto-detects JSON, cURL, and bare Cookie-header formats.",
    "examples": [
      "agent-browser cookies set --curl <file>",
      "agent-browser cookies set --curl <file> --domain <domain>"
    ],
    "gotchas": [
      "Version: v0.27.0",
      "--curl <file> (required): Read the cookie import file. Accepted formats: JSON array of `{name, value}`, a cURL dump, or a bare Cookie header; format is auto-detected.",
      "--domain <domain>: Scope imported cookies to the specified domain.",
      "The import auto-detects JSON, cURL, and Cookie-header formats."
    ]
  },
  "why_it_matters": "Import cookies from a file to set up a browser session for testing an authenticated web application.",
  "sources": [
    "https://github.com/vercel-labs/agent-browser/releases/tag/v0.27.0",
    "https://github.com/vercel-labs/agent-browser/blob/v0.27.0/skill-data/core/references/commands.md"
  ],
  "rank": 0.95042,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-c9cc261a634e313c-4:gate",
    "evidence_hash": "e5d3623fdc357372bdc6df2d75654b032412649ea061b6a597e344457f131971"
  },
  "review": {
    "draft_hash": "5c76c3a49532b2098fd131b5b9e9e566d8fd808cae5cb4d936dedf430f432455",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.76 (>= 0.6 needed)."
  }
}
