Loading...
Loading...
Executes pending OriginMind research tasks (claim, repo-first, PATCH complete) on /research standby. Also queues research for the voice mentor via /research queue when the user wants findings parked for the next voice session. Not for general planning or ad-hoc research without those triggers.
npx skill4agent add originmind-ai/originmindai-skill research| Mode | When | What |
|---|---|---|
| Standby executor | | Claim pending rows, research locally, PATCH complete |
| Queue for voice | | |
conversation_id/research/research/research keep on/research queue <query>https://api.originmind.aiGET /api/v1/tasks?status=pending&task_type=research{ data: [...] }POST /api/v1/tasksGET /api/v1/projectsGET /api/v1/projects/{projectId}/conversationsGET /api/v1/messages/{conversationId}GET /api/v1/conversations/{conversationId}/transcriptPATCH /api/v1/tasks/{id}claimcompletefailconversation_idX-OriAI-Api-Key.env.env.local. ./skills/create/scripts/bootstrap-originmind-env.ps1source ./skills/create/scripts/bootstrap-originmind-env.sh. "$HOME/.cursor/skills/create/scripts/bootstrap-originmind-env.ps1"MISSING_KEY. ./skills/create/scripts/setup-oauth.ps1.env$pid$ProjectIdproj_...GET /api/v1/projectsORIGINMIND_CREATIVE_DNA_PROJECT_ID.originmind/om_project.config.jsonprojects[]GET /projects/{projectId}/conversationsupdated_atGET /messages/{id}length > 0POST /api/v1/tasks
{
"project_id": "proj_...",
"conversation_id": "{uuid}",
"task_type": "research",
"params": { "query": "precise gap", "depth": "quick" }
}depth: "deep"/research/researchtask_idconversation_idproject_idstandby:
idle_since = now
loop:
GET /api/v1/tasks?status=pending&task_type=research
if data[] non-empty:
idle_since = now
for each task → Execute task
echo one-line summary; continue (do not exit)
else:
if now - idle_since >= 3 minutes → exit ("idle timeout")
if user says stop → exit
sleep 10| Exit | When |
|---|---|
| User stop | stop, enough, quit, |
| Idle timeout | 3 minutes with no pending tasks |
| Billing | 402 / 429 |
conversation_idproject_idPATCH{ "conversation_id", "action": "claim" }params.queryparams.depth| Signal | Action |
|---|---|
| Architecture, codebase, implementation in this workspace | Repo-first |
| External docs, papers, competitors, public APIs | Web (or repo then web) |
| Ambiguous | Repo-first; web if repo cannot answer |
sources[]sources[]{
"conversation_id": "{task.conversation_id}",
"action": "complete",
"results": {
"content": "markdown or plain report",
"sources": [{ "title": "...", "url": "...", "snippet": "..." }]
}
}PATCH"action": "fail""error"repowebrepo+web| Code | Action |
|---|---|
| MISSING_KEY / 401 | Fix API key |
| 404 | Wrong ids |
| 409 | Skip; re-list next poll |
| 402 / 429 | Stop — https://app.originmind.ai/ |
| No conversation | Do not POST; redirect to voice session or save-to-reference |