diff --git a/README.md b/README.md index 28e0d3f..ed26b6f 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,14 @@ node bin/brand-kit.mjs ``` Pass exactly one bare domain. The client supports Node.js `>=20.19.0`; CI verifies Node 20.x and 22.x, without claiming every OS combination is tested. +## Use this with your AI agent + +Install the canonical ReplyNodes skill for agent-driven brand research: + +```sh +npx skills add replynodes/replynodes-agent-skills --skill brand-kit +``` + ## Discovery links - [Agent skill](SKILL.md) diff --git a/src/cli.mjs b/src/cli.mjs index f0a7833..0589c7d 100644 --- a/src/cli.mjs +++ b/src/cli.mjs @@ -160,7 +160,7 @@ async function request(domain) { const controller = new AbortController(); const timer = setTimeout(() => controller.abort(), 15000); try { - const response = await fetch(endpoint + encodeURIComponent(domain), { method: 'GET', signal: controller.signal, redirect: 'error' }); + const response = await fetch(endpoint + encodeURIComponent(domain), { method: 'GET', headers: { Accept: 'application/json' }, signal: controller.signal, redirect: 'error' }); if (!response.ok) throw new Error('status'); const data = await response.json(); return normalizeResponse(data, domain);