[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MYQPYFQVB254K3A2XN5RSA":3,"skill-same:01M6MYQPYFQVB254K3A2XN5RSA":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":6,"ownerHtmlUrl":58,"ownerBlogUrl":6,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"01M6MYQPYFQVB254K3A2XN5RSA","cuecue-deep-research",null,"Conduct deep financial research using CueCue's AI-powered multi-agent system","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fcuecue-deep-research\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"research","deep research","cuecue deep research","deep","agent system","writing","conduct","imitation-writing","report-generation","multi","data-analysis","generation","AI-agents","financial-analysis","multi-agent","system","team","api","analysis","data","2026-11-10 10:12:30",false,"---\nname: cuecue-deep-research\ndescription: Conduct deep financial research using CueCue's AI-powered multi-agent system\nversion: 1.0.3\nauthor: CueCue Team\nkeywords:\n  - research\n  - financial-analysis\n  - ai-agents\n  - report-generation\n  - data-analysis\n  - imitation-writing\nmetadata: {\"clawdbot\":{\"emoji\":\"?\",\"requires\":{\"env\":[\"CUECUE_API_KEY\"]},\"primaryEnv\": \"CUECUE_API_KEY\"}}\n\n---\n\n# CueCue Deep Research TypeScript Skill\n\nExecute comprehensive financial research queries using CueCue's multi-agent AI system. This TypeScript implementation provides the same functionality as the Python version with modern async\u002Fawait patterns and full type safety.\n\n## What This Skill Does\n\nCueCue Deep Research orchestrates multiple AI agents to:\n\n1. **Analyze** your research question and break it down into actionable tasks\n2. **Research** using web crawling, financial databases, and knowledge retrieval\n3. **Synthesize** findings into a comprehensive markdown report\n4. **Generate** a shareable report URL\n\nThe skill filters the verbose agent workflow to show only:\n- ? Task titles (from the supervisor agent)\n- ? Final research report (from the reporter agent)\n- ? Report URL for web viewing\n\n⏱️ **Execution Time**: Depending on the complexity of your research question, the process may take **5-30 minutes**. The system performs comprehensive research including web crawling, data analysis, and report generation. Please be patient and wait for the complete results.\n\n## For AI Assistants\n\n**Important**: When using this skill, you MUST monitor the research progress by checking the command output:\n\n1. **Progress Monitoring**: The research process outputs progress information in real-time. You should check the output **every 5 minutes** to:\n   - Verify the research is still running\n   - Report task progress to the user (? Task updates)\n   - Detect any errors or issues\n   - Inform the user when report generation begins (? Generating Report...)\n\n2. **Progress URL**: The command will output a URL like \"Research begin. You can view progress at: https:\u002F\u002Fcuecue.cn\u002Fc\u002F...\" - this URL is for **human users** to view the web interface, NOT for you to fetch. You should monitor progress through the command's stdout output.\n\n3. **User Communication**: Keep the user informed about:\n   - When research begins\n   - Each major task that starts\n   - When report generation begins\n   - When research completes\n   - Any errors or timeouts\n\n4. **Timeout Handling**: If the command appears to hang or timeout, inform the user that the research may still be processing on the server, and they can check the web interface URL.\n\n5. **User-Facing Communication Style**: When informing users about progress monitoring:\n   - ✅ **DO SAY**: \"我会每 5 分钟自动检查进度并汇报\" \u002F \"I'll check progress every 5 minutes and update you\"\n   - ✅ **DO SAY**: \"研究完成后我会总结关键发现\" \u002F \"I'll summarize key findings when complete\"\n   - ❌ **DON'T SAY**: \"我创建了一个 cron 任务\" \u002F \"I created a cron job\"\n   - ❌ **DON'T SAY**: \"完成后会删除 cron\" \u002F \"Will delete the cron when done\"\n   - ❌ **DON'T SAY**: Technical implementation details (session IDs, job IDs, internal mechanisms)\n   \n   **Why**: Users care about *what* you'll do, not *how* you do it. Keep communication focused on outcomes and user value, not internal plumbing.\n\n### Automated Progress Monitoring with Cron\n\nSince AI assistants cannot actively \"loop and check\" on their own, use OpenClaw's cron system to automate progress monitoring.\n\n**Recommended Approach: Use Isolated Session**\n\nUsing `sessionTarget: \"isolated\"` with `payload.kind: \"agentTurn\"` is the most reliable way to get progress updates delivered directly to the chat channel.\n\n**Step 1: Start research in background**\n\n```javascript\n\u002F\u002F Start the research task\nexec({\n  command: \"cuecue-research 'Your research query' --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-02-01-10-00-research.md\",\n  background: true\n})\n\u002F\u002F Returns: { sessionId: \"wild-river\", pid: 12345 }\n```\n\n**Step 2: Create a cron job to monitor progress**\n\n```javascript\ncron.add({\n  name: \"Monitor CueCue Research: wild-river\",\n  schedule: {\n    kind: \"every\",\n    everyMs: 300000  \u002F\u002F 5 minutes\n  },\n  sessionTarget: \"isolated\",\n  wakeMode: \"now\",  \u002F\u002F IMPORTANT: Use \"now\" to trigger immediately\n  payload: {\n    kind: \"agentTurn\",\n    message: \"检查 CueCue 研究进度 (session: wild-river)。使用 process log wild-river 检查输出。如果看到 '✅ Research complete'，则：1) 读取报告文件并总结关键发现；2) 使用 cron.remove 删除此监控任务。如果仍在运行，汇报最新的 ? Task 进度。\",\n    deliver: true,\n    channel: \"feishu\",  \u002F\u002F or \"telegram\", \"discord\", etc.\n    to: \"GROUP_ID_OR_CHAT_ID\"  \u002F\u002F The channel where the research was requested\n  }\n})\n\u002F\u002F Returns: { id: \"abc-123-def\", ... }\n```\n\n**Important Configuration:**\n- **`sessionTarget: \"isolated\"`** - Creates an isolated sub-agent session\n- **`payload.kind: \"agentTurn\"`** - Runs the agent and delivers the response\n- **`deliver: true`** - Ensures the response is sent to the chat\n- **`channel`** - Specify the messaging platform (feishu, telegram, discord, etc.)\n- **`to`** - The target chat\u002Fgroup ID where updates should be sent\n- **`wakeMode: \"now\"`** - Triggers immediately without waiting for heartbeat\n\n**Step 3: Cron will automatically check every 5 minutes**\n\nThe cron job will:\n- Run in an isolated session every 5 minutes\n- Check `process log wild-river` for new output\n- Send progress updates directly to the specified chat channel\n- When complete, read the report, summarize findings, and delete itself\n\n**Step 4: Manual cleanup (if needed)**\n\nIf the research fails or you need to stop monitoring:\n\n```javascript\n\u002F\u002F List all cron jobs\ncron.list()\n\n\u002F\u002F Remove the monitoring job\ncron.remove({ jobId: \"abc-123-def\" })\n```\n\n**Complete Example Workflow:**\n\n```javascript\n\u002F\u002F 1. Start research\nconst result = exec({\n  command: \"cuecue-research '2026年金银价格分析' --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-02-01-gold-analysis.md\",\n  background: true\n})\nconst sessionId = result.sessionId  \u002F\u002F e.g., \"wild-river\"\n\n\u002F\u002F 2. Get current channel info (from runtime context)\nconst channel = \"feishu\"  \u002F\u002F Current channel\nconst chatId = \"oc_abac3e3037a0726ef4b4aa330d5ed590\"  \u002F\u002F Current group\u002Fchat ID\n\n\u002F\u002F 3. Create monitoring cron\nconst cronJob = cron.add({\n  name: `Monitor CueCue: ${sessionId}`,\n  schedule: { kind: \"every\", everyMs: 300000 },\n  sessionTarget: \"isolated\",\n  wakeMode: \"now\",\n  payload: {\n    kind: \"agentTurn\",\n    message: `检查研究进度 (session: ${sessionId})。完成后读取报告并总结，然后删除此 cron。`,\n    deliver: true,\n    channel: channel,\n    to: chatId\n  }\n})\n\n\u002F\u002F 4. Inform user (user-friendly, no technical details)\nreply(`? 研究已启动！\n? 进度追踪: https:\u002F\u002Fcuecue.cn\u002Fc\u002F...\n⏰ 我会每 5 分钟自动检查进度并汇报\n`)\n\n\u002F\u002F 5. Cron handles the rest automatically\n\u002F\u002F The isolated session will:\n\u002F\u002F - Check progress every 5 minutes\n\u002F\u002F - Send updates directly to the chat\n\u002F\u002F - Summarize the report when complete\n\u002F\u002F - Delete itself\n```\n\n**Troubleshooting:**\n\nIf you don't receive progress updates:\n1. Check `cron.list()` to verify the job is running (`lastStatus: \"ok\"`)\n2. Ensure `wakeMode: \"now\"` is set (not `\"next-heartbeat\"`)\n3. Verify `deliver: true` and correct `channel` + `to` values\n4. Check `cron.runs({ jobId })` for execution history and errors\n\n**Alternative: Main Session (Not Recommended)**\n\nIf you prefer to use `sessionTarget: \"main\"` with `payload.kind: \"systemEvent\"`, note that:\n- Responses are NOT automatically sent to the chat\n- You must ensure `HEARTBEAT.md` contains non-comment content to avoid `empty-heartbeat-file` errors\n- The isolated session approach is more reliable for automated notifications\n\n**Note**: The cron payload should include logic to delete itself. Use `cron.remove({ jobId: \"\u003Cjob-id>\" })` when the research completes.\n\n## Prerequisites\n\n- Node.js 18+ or Deno\n- CueCue API key (obtain from your CueCue account settings from https:\u002F\u002Fcuecue.cn)\n- npm or yarn package manager\n\n## Configuration\n\n### Setting up CUECUE_API_KEY\n\nThe skill requires a CueCue API key to function. You can configure it in two ways:\n\n#### Option 1: OpenClaw Config (Recommended)\n\nSet the API key in your OpenClaw configuration using the CLI:\n\n```bash\n# One-line command to set the API key(openclaw command may be clawdbot or moltbot)\nopenclaw config set skills.entries.cuecue-deep-research.env.CUECUE_API_KEY \"your-api-key-here\"\n```\n\nThis will:\n- Add the key to `~\u002F.openclaw\u002Fopenclaw.json` under `skills.entries.cuecue-deep-research.env`\n- Make it available to the skill automatically\n- Restart the gateway to apply changes\n\nTo verify the configuration:\n```bash\nopenclaw config get skills.entries.cuecue-deep-research.env.CUECUE_API_KEY\n```\n\nthen restart the gateway\n```\nopenclaw gateway restart\n```\n\n#### Option 2: Command-Line Argument\n\nYou can also pass the API key directly when running the command:\n```bash\ncuecue-research \"Your query\" --api-key YOUR_API_KEY\n```\n\n**Note**: The OpenClaw config method is recommended because:\n- You don't need to specify the key every time\n- The key is stored securely in the OpenClaw config\n- All AI assistants can use the skill without needing the key in prompts\n- One command to set it up\n\n### Getting Your API Key\n\n1. Visit https:\u002F\u002Fcuecue.cn\n2. Log in to your account\n3. Go to Account Settings\n4. Find the API Key section\n5. Copy your API key\n\n## Installation\n\n### As a CLI Tool\n\n```bash\n# Install globally\nnpm install -g cuecue-deep-research@1.0.3\n\n# Or install locally in your project\nnpm install cuecue-deep-research@1.0.3\n```\n\n## Usage\n\n### Command-Line Interface\n\n#### Basic Research\n\n```bash\n# Using environment variable (recommended)\ncuecue-research \"Tesla Q3 2024 revenue analysis\"\n\n# Or specify API key directly\ncuecue-research \"Tesla Q3 2024 revenue analysis\" --api-key YOUR_API_KEY\n```\n\n#### Save Report to File\n\n```bash\ncuecue-research \"BYD vs Tesla market comparison\" --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-14-30-byd-tesla-comparison.md\n```\n\n**Note**: The output path should use the format `~\u002Fclawd\u002Fcuecue-reports\u002FYYYY-MM-DD-HH-MM-descriptive-name.md` where the timestamp represents when the research was initiated. The `~` will be expanded to your home directory.\n\n#### Use a Research Template\n\n```bash\ncuecue-research \"Analyze CATL competitive advantages\" \\\n  --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-11-20-catl-analysis.md \\\n  --template-id TEMPLATE_ID\n```\n\n#### Continue Existing Conversation\n\n```bash\ncuecue-research \"Further analyze supply chain risks\" \\\n  --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-15-45-supply-chain-risks.md \\\n  --conversation-id EXISTING_CONV_ID\n```\n\n#### Mimic Writing Style\n\n```bash\ncuecue-research \"Electric vehicle market analysis\" \\\n  --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-16-00-ev-market-analysis.md \\\n  --mimic-url https:\u002F\u002Fexample.com\u002Fsample-article\n```\n\nThe mimic feature analyzes the writing style, tone, and structure of the provided URL and applies it to the generated research report. This is useful for:\n- Matching your organization's reporting style\n- Adapting to specific audience preferences\n- Maintaining consistency across reports\n\n⚠️ **Note**: The `--mimic-url` and `--template-id` options cannot be used together. Choose one approach:\n- Use `--template-id` for predefined research frameworks (goal, search plan, report format)\n- Use `--mimic-url` for style mimicking without a template\n\n\n## Command-Line Options\n\n| Option | Required | Description |\n|--------|----------|-------------|\n| `query` | ✅ | Research question or topic |\n| `--api-key` | ❌ | Your CueCue API key (defaults to `CUECUE_API_KEY` env var) |\n| `--base-url` | ❌ | CueCue API base URL (defaults to `CUECUE_BASE_URL` env var or https:\u002F\u002Fcuecue.cn) |\n| `--conversation-id` | ❌ | Continue an existing conversation |\n| `--template-id` | ❌ | Use a predefined research template (cannot be used with `--mimic-url`) |\n| `--mimic-url` | ❌ | URL to mimic the writing style from (cannot be used with `--template-id`) |\n| `--output`, `-o` | ❌ | Save report to file (markdown format). Recommended format: `~\u002Fclawd\u002Fcuecue-reports\u002Fclawd\u002Fcuecue-reports\u002FYYYY-MM-DD-HH-MM-descriptive-name.md` (e.g., `~\u002Fclawd\u002F2026-01-30-12-41-tesla-analysis.md`). The `~` will be expanded to your home directory. |\n| `--verbose`, `-v` | ❌ | Enable verbose logging |\n| `--help`, `-h` | ❌ | Show help message |\n\n## Output Format\n\nThe skill provides real-time streaming output:\n\n```\nStarting Deep Research: Tesla Q3 2024 Financial Analysis\n\nCheck Progress: https:\u002F\u002Fcuecue.cn\u002Fc\u002F12345678-1234-1234-1234-123456789abc\n\n? Task: Search for Tesla Q3 2024 financial data\n\n? Task: Analyze revenue and profit trends\n\n? Generating Report...\n\n# Tesla Q3 2024 Financial Analysis\n\n## Executive Summary\n[Report content streams here in real-time...]\n\n✅ Research complete\n\n============================================================\n? Research Summary\n============================================================\nConversation ID: 12345678-1234-1234-1234-123456789abc\nTasks completed: 2\nReport URL: https:\u002F\u002Fcuecue.cn\u002Fc\u002F12345678-1234-1234-1234-123456789abc\n✅ Report saved to: ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-10-15-tesla-q3-analysis.md\n```\n\n## Troubleshooting\n\n### 401 Unauthorized\n- Verify your API key is correct\n- Check if the API key has expired\n- Ensure you have necessary permissions\n\n### Connection Timeout\n- Verify the base URL is correct\n- Check network connectivity\n- Research queries typically take 5-30 minutes depending on complexity - this is normal\n- If you see a timeout, the research may still be processing on the server - check the web interface\n\n### Empty Report\n- Ensure your research question is clear and specific\n- Check server logs for errors\n- Try a different query to test connectivity\n\n## Support\n\nFor issues or questions:\n- [CueCue Website](https:\u002F\u002Fcuecue.cn)\n- Email: cue-admin@sensedeal.ai\n","# CueCue Deep Research TypeScript Skill\n\nExecute comprehensive financial research queries using CueCue's multi-agent AI system. This TypeScript implementation provides the same functionality as the Python version with modern async\u002Fawait patterns and full type safety.\n\n## What This Skill Does\n\nCueCue Deep Research orchestrates multiple AI agents to:\n\n1. **Analyze** your research question and break it down into actionable tasks\n2. **Research** using web crawling, financial databases, and knowledge retrieval\n3. **Synthesize** findings into a comprehensive markdown report\n4. **Generate** a shareable report URL\n\nThe skill filters the verbose agent workflow to show only:\n- ? Task titles (from the supervisor agent)\n- ? Final research report (from the reporter agent)\n- ? Report URL for web viewing\n\n⏱️ **Execution Time**: Depending on the complexity of your research question, the process may take **5-30 minutes**. The system performs comprehensive research including web crawling, data analysis, and report generation. Please be patient and wait for the complete results.\n\n## For AI Assistants\n\n**Important**: When using this skill, you MUST monitor the research progress by checking the command output:\n\n1. **Progress Monitoring**: The research process outputs progress information in real-time. You should check the output **every 5 minutes** to:\n   - Verify the research is still running\n   - Report task progress to the user (? Task updates)\n   - Detect any errors or issues\n   - Inform the user when report generation begins (? Generating Report...)\n\n2. **Progress URL**: The command will output a URL like \"Research begin. You can view progress at: https:\u002F\u002Fcuecue.cn\u002Fc\u002F...\" - this URL is for **human users** to view the web interface, NOT for you to fetch. You should monitor progress through the command's stdout output.\n\n3. **User Communication**: Keep the user informed about:\n   - When research begins\n   - Each major task that starts\n   - When report generation begins\n   - When research completes\n   - Any errors or timeouts\n\n4. **Timeout Handling**: If the command appears to hang or timeout, inform the user that the research may still be processing on the server, and they can check the web interface URL.\n\n5. **User-Facing Communication Style**: When informing users about progress monitoring:\n   - ✅ **DO SAY**: \"我会每 5 分钟自动检查进度并汇报\" \u002F \"I'll check progress every 5 minutes and update you\"\n   - ✅ **DO SAY**: \"研究完成后我会总结关键发现\" \u002F \"I'll summarize key findings when complete\"\n   - ❌ **DON'T SAY**: \"我创建了一个 cron 任务\" \u002F \"I created a cron job\"\n   - ❌ **DON'T SAY**: \"完成后会删除 cron\" \u002F \"Will delete the cron when done\"\n   - ❌ **DON'T SAY**: Technical implementation details (session IDs, job IDs, internal mechanisms)\n   \n   **Why**: Users care about *what* you'll do, not *how* you do it. Keep communication focused on outcomes and user value, not internal plumbing.\n\n### Automated Progress Monitoring with Cron\n\nSince AI assistants cannot actively \"loop and check\" on their own, use OpenClaw's cron system to automate progress monitoring.\n\n**Recommended Approach: Use Isolated Session**\n\nUsing `sessionTarget: \"isolated\"` with `payload.kind: \"agentTurn\"` is the most reliable way to get progress updates delivered directly to the chat channel.\n\n**Step 1: Start research in background**\n\n```javascript\n\u002F\u002F Start the research task\nexec({\n  command: \"cuecue-research 'Your research query' --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-02-01-10-00-research.md\",\n  background: true\n})\n\u002F\u002F Returns: { sessionId: \"wild-river\", pid: 12345 }\n```\n\n**Step 2: Create a cron job to monitor progress**\n\n```javascript\ncron.add({\n  name: \"Monitor CueCue Research: wild-river\",\n  schedule: {\n    kind: \"every\",\n    everyMs: 300000  \u002F\u002F 5 minutes\n  },\n  sessionTarget: \"isolated\",\n  wakeMode: \"now\",  \u002F\u002F IMPORTANT: Use \"now\" to trigger immediately\n  payload: {\n    kind: \"agentTurn\",\n    message: \"检查 CueCue 研究进度 (session: wild-river)。使用 process log wild-river 检查输出。如果看到 '✅ Research complete'，则：1) 读取报告文件并总结关键发现；2) 使用 cron.remove 删除此监控任务。如果仍在运行，汇报最新的 ? Task 进度。\",\n    deliver: true,\n    channel: \"feishu\",  \u002F\u002F or \"telegram\", \"discord\", etc.\n    to: \"GROUP_ID_OR_CHAT_ID\"  \u002F\u002F The channel where the research was requested\n  }\n})\n\u002F\u002F Returns: { id: \"abc-123-def\", ... }\n```\n\n**Important Configuration:**\n- **`sessionTarget: \"isolated\"`** - Creates an isolated sub-agent session\n- **`payload.kind: \"agentTurn\"`** - Runs the agent and delivers the response\n- **`deliver: true`** - Ensures the response is sent to the chat\n- **`channel`** - Specify the messaging platform (feishu, telegram, discord, etc.)\n- **`to`** - The target chat\u002Fgroup ID where updates should be sent\n- **`wakeMode: \"now\"`** - Triggers immediately without waiting for heartbeat\n\n**Step 3: Cron will automatically check every 5 minutes**\n\nThe cron job will:\n- Run in an isolated session every 5 minutes\n- Check `process log wild-river` for new output\n- Send progress updates directly to the specified chat channel\n- When complete, read the report, summarize findings, and delete itself\n\n**Step 4: Manual cleanup (if needed)**\n\nIf the research fails or you need to stop monitoring:\n\n```javascript\n\u002F\u002F List all cron jobs\ncron.list()\n\n\u002F\u002F Remove the monitoring job\ncron.remove({ jobId: \"abc-123-def\" })\n```\n\n**Complete Example Workflow:**\n\n```javascript\n\u002F\u002F 1. Start research\nconst result = exec({\n  command: \"cuecue-research '2026年金银价格分析' --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-02-01-gold-analysis.md\",\n  background: true\n})\nconst sessionId = result.sessionId  \u002F\u002F e.g., \"wild-river\"\n\n\u002F\u002F 2. Get current channel info (from runtime context)\nconst channel = \"feishu\"  \u002F\u002F Current channel\nconst chatId = \"oc_abac3e3037a0726ef4b4aa330d5ed590\"  \u002F\u002F Current group\u002Fchat ID\n\n\u002F\u002F 3. Create monitoring cron\nconst cronJob = cron.add({\n  name: `Monitor CueCue: ${sessionId}`,\n  schedule: { kind: \"every\", everyMs: 300000 },\n  sessionTarget: \"isolated\",\n  wakeMode: \"now\",\n  payload: {\n    kind: \"agentTurn\",\n    message: `检查研究进度 (session: ${sessionId})。完成后读取报告并总结，然后删除此 cron。`,\n    deliver: true,\n    channel: channel,\n    to: chatId\n  }\n})\n\n\u002F\u002F 4. Inform user (user-friendly, no technical details)\nreply(`? 研究已启动！\n? 进度追踪: https:\u002F\u002Fcuecue.cn\u002Fc\u002F...\n⏰ 我会每 5 分钟自动检查进度并汇报\n`)\n\n\u002F\u002F 5. Cron handles the rest automatically\n\u002F\u002F The isolated session will:\n\u002F\u002F - Check progress every 5 minutes\n\u002F\u002F - Send updates directly to the chat\n\u002F\u002F - Summarize the report when complete\n\u002F\u002F - Delete itself\n```\n\n**Troubleshooting:**\n\nIf you don't receive progress updates:\n1. Check `cron.list()` to verify the job is running (`lastStatus: \"ok\"`)\n2. Ensure `wakeMode: \"now\"` is set (not `\"next-heartbeat\"`)\n3. Verify `deliver: true` and correct `channel` + `to` values\n4. Check `cron.runs({ jobId })` for execution history and errors\n\n**Alternative: Main Session (Not Recommended)**\n\nIf you prefer to use `sessionTarget: \"main\"` with `payload.kind: \"systemEvent\"`, note that:\n- Responses are NOT automatically sent to the chat\n- You must ensure `HEARTBEAT.md` contains non-comment content to avoid `empty-heartbeat-file` errors\n- The isolated session approach is more reliable for automated notifications\n\n**Note**: The cron payload should include logic to delete itself. Use `cron.remove({ jobId: \"\u003Cjob-id>\" })` when the research completes.\n\n## Prerequisites\n\n- Node.js 18+ or Deno\n- CueCue API key (obtain from your CueCue account settings from https:\u002F\u002Fcuecue.cn)\n- npm or yarn package manager\n\n## Configuration\n\n### Setting up CUECUE_API_KEY\n\nThe skill requires a CueCue API key to function. You can configure it in two ways:\n\n#### Option 1: OpenClaw Config (Recommended)\n\nSet the API key in your OpenClaw configuration using the CLI:\n\n```bash\n# One-line command to set the API key(openclaw command may be clawdbot or moltbot)\nopenclaw config set skills.entries.cuecue-deep-research.env.CUECUE_API_KEY \"your-api-key-here\"\n```\n\nThis will:\n- Add the key to `~\u002F.openclaw\u002Fopenclaw.json` under `skills.entries.cuecue-deep-research.env`\n- Make it available to the skill automatically\n- Restart the gateway to apply changes\n\nTo verify the configuration:\n```bash\nopenclaw config get skills.entries.cuecue-deep-research.env.CUECUE_API_KEY\n```\n\nthen restart the gateway\n```\nopenclaw gateway restart\n```\n\n#### Option 2: Command-Line Argument\n\nYou can also pass the API key directly when running the command:\n```bash\ncuecue-research \"Your query\" --api-key YOUR_API_KEY\n```\n\n**Note**: The OpenClaw config method is recommended because:\n- You don't need to specify the key every time\n- The key is stored securely in the OpenClaw config\n- All AI assistants can use the skill without needing the key in prompts\n- One command to set it up\n\n### Getting Your API Key\n\n1. Visit https:\u002F\u002Fcuecue.cn\n2. Log in to your account\n3. Go to Account Settings\n4. Find the API Key section\n5. Copy your API key\n\n## Installation\n\n### As a CLI Tool\n\n```bash\n# Install globally\nnpm install -g cuecue-deep-research@1.0.3\n\n# Or install locally in your project\nnpm install cuecue-deep-research@1.0.3\n```\n\n## Usage\n\n### Command-Line Interface\n\n#### Basic Research\n\n```bash\n# Using environment variable (recommended)\ncuecue-research \"Tesla Q3 2024 revenue analysis\"\n\n# Or specify API key directly\ncuecue-research \"Tesla Q3 2024 revenue analysis\" --api-key YOUR_API_KEY\n```\n\n#### Save Report to File\n\n```bash\ncuecue-research \"BYD vs Tesla market comparison\" --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-14-30-byd-tesla-comparison.md\n```\n\n**Note**: The output path should use the format `~\u002Fclawd\u002Fcuecue-reports\u002FYYYY-MM-DD-HH-MM-descriptive-name.md` where the timestamp represents when the research was initiated. The `~` will be expanded to your home directory.\n\n#### Use a Research Template\n\n```bash\ncuecue-research \"Analyze CATL competitive advantages\" \\\n  --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-11-20-catl-analysis.md \\\n  --template-id TEMPLATE_ID\n```\n\n#### Continue Existing Conversation\n\n```bash\ncuecue-research \"Further analyze supply chain risks\" \\\n  --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-15-45-supply-chain-risks.md \\\n  --conversation-id EXISTING_CONV_ID\n```\n\n#### Mimic Writing Style\n\n```bash\ncuecue-research \"Electric vehicle market analysis\" \\\n  --output ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-16-00-ev-market-analysis.md \\\n  --mimic-url https:\u002F\u002Fexample.com\u002Fsample-article\n```\n\nThe mimic feature analyzes the writing style, tone, and structure of the provided URL and applies it to the generated research report. This is useful for:\n- Matching your organization's reporting style\n- Adapting to specific audience preferences\n- Maintaining consistency across reports\n\n⚠️ **Note**: The `--mimic-url` and `--template-id` options cannot be used together. Choose one approach:\n- Use `--template-id` for predefined research frameworks (goal, search plan, report format)\n- Use `--mimic-url` for style mimicking without a template\n\n\n## Command-Line Options\n\n| Option | Required | Description |\n|--------|----------|-------------|\n| `query` | ✅ | Research question or topic |\n| `--api-key` | ❌ | Your CueCue API key (defaults to `CUECUE_API_KEY` env var) |\n| `--base-url` | ❌ | CueCue API base URL (defaults to `CUECUE_BASE_URL` env var or https:\u002F\u002Fcuecue.cn) |\n| `--conversation-id` | ❌ | Continue an existing conversation |\n| `--template-id` | ❌ | Use a predefined research template (cannot be used with `--mimic-url`) |\n| `--mimic-url` | ❌ | URL to mimic the writing style from (cannot be used with `--template-id`) |\n| `--output`, `-o` | ❌ | Save report to file (markdown format). Recommended format: `~\u002Fclawd\u002Fcuecue-reports\u002Fclawd\u002Fcuecue-reports\u002FYYYY-MM-DD-HH-MM-descriptive-name.md` (e.g., `~\u002Fclawd\u002F2026-01-30-12-41-tesla-analysis.md`). The `~` will be expanded to your home directory. |\n| `--verbose`, `-v` | ❌ | Enable verbose logging |\n| `--help`, `-h` | ❌ | Show help message |\n\n## Output Format\n\nThe skill provides real-time streaming output:\n\n```\nStarting Deep Research: Tesla Q3 2024 Financial Analysis\n\nCheck Progress: https:\u002F\u002Fcuecue.cn\u002Fc\u002F12345678-1234-1234-1234-123456789abc\n\n? Task: Search for Tesla Q3 2024 financial data\n\n? Task: Analyze revenue and profit trends\n\n? Generating Report...\n\n# Tesla Q3 2024 Financial Analysis\n\n## Executive Summary\n[Report content streams here in real-time...]\n\n✅ Research complete\n\n============================================================\n? Research Summary\n============================================================\nConversation ID: 12345678-1234-1234-1234-123456789abc\nTasks completed: 2\nReport URL: https:\u002F\u002Fcuecue.cn\u002Fc\u002F12345678-1234-1234-1234-123456789abc\n✅ Report saved to: ~\u002Fclawd\u002Fcuecue-reports\u002F2026-01-30-10-15-tesla-q3-analysis.md\n```\n\n## Troubleshooting\n\n### 401 Unauthorized\n- Verify your API key is correct\n- Check if the API key has expired\n- Ensure you have necessary permissions\n\n### Connection Timeout\n- Verify the base URL is correct\n- Check network connectivity\n- Research queries typically take 5-30 minutes depending on complexity - this is normal\n- If you see a timeout, the research may still be processing on the server - check the web interface\n\n### Empty Report\n- Ensure your research question is clear and specific\n- Check server logs for errors\n- Try a different query to test connectivity\n\n## Support\n\nFor issues or questions:\n- [CueCue Website](https:\u002F\u002Fcuecue.cn)\n- Email: cue-admin@sensedeal.ai\n",{"name":5,"author":43,"version":44,"keywords":45,"metadata":47,"description":7},"CueCue Team","1.0.3",[18,31,46,26,28,25],"ai-agents",{"clawdbot":48},{"emoji":49,"requires":50,"primaryEnv":52},"?",{"env":51},[52],"CUECUE_API_KEY","main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","人工智能与大型语言模型\u002Fcuecue-deep-research",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill cuecue-deep-research",{"tool":67,"command":68},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill cuecue-deep-research",{"tool":70,"command":71},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill cuecue-deep-research","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fcuecue-deep-research\u002FSKILL.md",true,[75],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"_meta.json","REFERENCE","参考文档",822,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F人工智能与大型语言模型\u002Fcuecue-deep-research\u002F_meta.json",[82,106,128,136,143,170],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":38},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[84,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105],"safe","ethereum","defi","Optimization","user","use","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":107,"name":108,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":38},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[],[35,112,113,114,115,116,117,91,118,95,119,120,121,122,123,124,125,126,127],"zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":129,"name":130,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":38},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[],[35,134,135,112,113,114,115,116,117,91,118,95,120,121,122,123,124,125,126,127],"api skill","zerion api skill",{"skillNo":137,"name":138,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":38},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[],[114,35,142,112,113,115,116,91,118,95,119,120,121,122,123,124,125,126,127],"zerion api mcp",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":38},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[],[150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":38},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[],[150,151,153,177,178,179,180,181,182,161,183,184,185,186,187,188,189,190,127,168],"cli","homebrew","find","check","brew","up","local","get","stock","link","trending","sf","quotes","ln"]