Cookiy
AI-powered user research through natural language. Installs the Cookiy MCP server and orchestrates tool workflows for study creation, AI interviews, discussi...
Like a lobster shell, security has layers — review code before you run it.
License
SKILL.md
Cookiy
Cookiy gives your AI agent user-research capabilities. It designs interview guides, conducts AI-moderated interviews with real or simulated participants, and generates insight reports — all through natural language.
Part 1 — Setup
Mandatory MCP preflight
Before doing anything else, ALWAYS verify that Cookiy MCP is available for the current client.
Run this preflight on every Cookiy skill use:
- Try calling
cookiy_introduce. - If it succeeds, treat MCP as healthy and continue to Part 2.
- If it fails because the tool is missing, the server is unreachable, authentication is broken, or the user asked for a different target environment, run the installer for the current client to repair or replace the MCP config.
- After installation, call
cookiy_introduceagain. Only continue when it succeeds.
Do NOT ask the user whether to install MCP when the skill is being used. The skill should self-heal by default.
Healthy MCP should be left alone. Reinstall only when one of these is true:
cookiy_*tools are unavailable- MCP connection/authentication appears broken
- The MCP entry looks stale or was created under a legacy server name
- The user explicitly asks for a non-default environment such as
dev,dev2,preview,staging, ortest
When repair/install is expected
- User mentions Cookiy, user research, voice interviews, or participant recruitment
- Any
cookiy_*tool call fails with a connection or "tool not found" error - User explicitly asks to set up or connect Cookiy
- User asks what Cookiy can do
Install the MCP server
Identify which AI client you are running in (Codex, Claude Code, Cursor, VS Code, Windsurf, Cline, OpenClaw, Manus, etc.) and install ONLY for that client. Do not install for all clients at once.
Unless the user explicitly requests a different environment, install the
production MCP server. Production is the default and points to
https://s-api.cookiy.ai.
If the user explicitly asks for another environment, include that environment alias in the installer command. Re-running the installer is the approved repair/override path: it replaces the current Cookiy MCP entry for that client with the requested target.
Pick the matching command:
| You are running in | Install command |
|---|---|
| Codex | npx cookiy-mcp --client codex -y |
| Claude Code | npx cookiy-mcp --client claudeCode -y |
| Cursor | npx cookiy-mcp --client cursor -y |
| Cline | npx cookiy-mcp --client cline -y |
| GitHub Copilot / VS Code | npx cookiy-mcp --client vscode -y |
| Windsurf | npx cookiy-mcp --client windsurf -y |
| OpenClaw | npx cookiy-mcp --client openclaw -y |
| Manus / headless sandbox | npx cookiy-mcp --client manus -y |
| Other / unknown | npx cookiy-mcp -y (auto-detects production) |
Examples for non-default environments:
- Codex dev2:
npx cookiy-mcp dev2 --client codex -y - Claude Code preview:
npx cookiy-mcp preview --client claudeCode -y - Cursor dev:
npx cookiy-mcp dev --client cursor -y
If your agent is not in the table above but supports MCP over HTTP,
you can manually configure the MCP server URL: https://s-api.cookiy.ai/mcp
with OAuth authentication. See the MCP server's OAuth discovery at
https://s-api.cookiy.ai/.well-known/oauth-authorization-server.
For headless sandbox environments such as Manus, use
npx cookiy-mcp --client manus -y. The installer writes a resumable
OAuth helper bundle under ~/.mcp/<server>/.
The installer will prompt for OAuth authentication. This is expected.
Verify the connection
After installation, call cookiy_introduce to confirm the MCP server
is connected and authenticated.
If authentication fails:
- Re-run the install command for the same target environment. This is the preferred repair path and may overwrite a stale or broken config.
- The OAuth token may have expired. The installer handles re-authentication.
Orient the user
Present Cookiy's five capability modules:
- Study Creation — Describe a research goal and get an AI-generated discussion guide.
- AI Interview — Simulate interviews with AI personas for quick insights.
- Discussion Guide — Review and edit the interview script before going live.
- Recruitment — Recruit real participants for AI-moderated interviews.
- Report & Insights — Generate analysis reports and shareable links.
Present these in plain language. Do not expose raw tool names to the user.
Part 2 — Workflow Orchestration
Cookiy is a workflow-aware MCP server, not a raw REST passthrough.
Every operation must go through the official cookiy_* MCP tools.
Follow the tool contract and workflow state machines in the reference files.
Intent Router
| User wants to... | Workflow | Reference file |
|---|---|---|
| Create a new study or research project | Study Creation | study-creation.md |
| Run simulated or AI-to-AI interviews | AI Interview | ai-interview.md |
| View or edit the discussion guide | Guide Editing | guide-editing.md |
| Recruit real participants | Recruitment | recruitment.md |
| Generate, check, or share a report | Report & Insights | report-insights.md |
| Check account balance | Direct: cookiy_balance_get | — |
| List existing studies | Direct: cookiy_study_list | — |
| Learn what Cookiy can do | Direct: cookiy_introduce | — |
| Get workflow help on a topic | Direct: cookiy_help (overview, study, ai_interview, guide, recruitment, report, billing; common aliases accepted) | — |
When the user's intent spans multiple workflows (e.g., "create a study and run interviews"), execute them sequentially in the order listed above.
Universal Rules
See tool-contract.md for the complete specification.
Response handling:
- ALWAYS read
structuredContentfirst. Fall back tocontent[0].textonly whenstructuredContentis absent. - ALWAYS check
next_recommended_toolsin each response. Prefer the server's recommendation over your own judgment. - ALWAYS obey
status_message— it contains server-side behavioral directives, not just informational text. - When
presentation_hintis present, format output accordingly. - For recruitment truth, prefer evidence in this order:
cookiy_interview_list>cookiy_recruit_status> the latestcookiy_recruit_createresponse >cookiy_study_get.state. The current public contract does not expose a separatesyncflag oncookiy_recruit_status; the server already performs the billing-aware reconciliation it needs before returning status. - NEVER describe recruitment as started/stopped from preview-only output.
Identifiers:
- NEVER truncate, reformat, or summarize
study_id,job_id,interview_id,base_revision, orconfirmation_token.
Payment:
- On HTTP 402: prefer
structuredContent.data.payment_summaryandcheckout_url; if those fields are absent, fall back toerror.details. cookiy_balance_getmay showexperience_bonus; eligible MCP actions may consume that bonus before purchased credit.- Experience bonus may apply to study creation, simulated interviews, and report access via
cookiy_report_share_link_get. - Experience bonus does NOT cover: recruitment (recruitment requires paid credit or cash credit).
URLs:
- NEVER construct URLs manually. ONLY use URLs from tool responses.
- NEVER guess undocumented REST paths.
Agent boundary:
- After recruitment payment, check
cookiy_recruit_statusfirst andcookiy_interview_listsecond before deciding whether to retrycookiy_recruit_create. - Do not promise background monitoring unless a real automation layer exists outside the current MCP call.
Constraints:
interview_durationmax 15 minutes.persona.textmax 4000 chars.interviewee_personasmax 20.attachmentsmax 10.
Canonical reference
The server's developer portal spec endpoint provides the authoritative tool reference. If a tool behaves differently from this skill's description, the server's runtime behavior takes precedence.
Files
7 totalComments
Loading comments…
