Agent skill

deep-research

Conduct comprehensive deep research on any topic using Dify-powered workflow - searches documentation, academic papers, tutorials, APIs, best practices, and returns structured analysis with insights.

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/21pounder/deep-research

SKILL.md

Deep Research (Dify Powered)

This skill delegates research tasks to a specialized Dify Workflow that:

  1. Searches official documentation, tutorials, and academic resources
  2. Analyzes the topic with DeepSeek Reasoner for deep insights
  3. Iteratively searches for examples, solutions, and related research
  4. Generates a comprehensive research report with structured findings

Use this skill for:

  • Code implementation research (APIs, libraries, best practices)
  • Academic paper analysis and literature review
  • Technology comparison and evaluation
  • Any topic requiring comprehensive, structured research

Parameters

json
{
  "type": "object",
  "properties": {
    "coding_task": {
      "type": "string",
      "description": "The coding task or question to research (required)"
    },
    "tech_stack": {
      "type": "string",
      "description": "Technology stack context (e.g., 'React 18, TypeScript, Next.js')"
    },
    "depth": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5,
      "default": 3,
      "description": "Research depth (1=quick, 3=standard, 5=comprehensive)"
    }
  },
  "required": ["coding_task"]
}

Workflow

Step 1: Locate the Client Script

The client script is at: .claude/skills/deep-research/scripts/dify-client.ts Use Glob to find the absolute path if needed.

Step 2: Execute Research

Use Bash to run the script with npx tsx:

bash
npx tsx "<path_to_script>" "<coding_task>" "<tech_stack>" <depth>

Examples:

bash
# Basic research
npx tsx ".claude/skills/deep-research/scripts/dify-client.ts" "How to implement OAuth2 in Next.js"

# With tech stack
npx tsx ".claude/skills/deep-research/scripts/dify-client.ts" "Add real-time notifications" "React 18, Socket.io"

# With depth
npx tsx ".claude/skills/deep-research/scripts/dify-client.ts" "Optimize database queries" "PostgreSQL, Prisma" 5

Step 3: Process Results

The script returns JSON with two main fields:

  • analysis: Task analysis with knowledge gaps and tech requirements
  • guide: Complete implementation guide with:
    • TASK_SUMMARY
    • DEPENDENCIES (install commands)
    • FILES_TO_CREATE (complete code)
    • FILES_TO_MODIFY (change instructions)
    • ENVIRONMENT_CONFIG
    • VERIFICATION (test commands)
    • GOTCHAS (common issues)
    • SOURCES

Step 4: Implement

Use the guide to:

  1. Install dependencies
  2. Create new files with provided code
  3. Modify existing files as instructed
  4. Set up environment variables
  5. Run verification commands

Error Handling

If the script returns an error:

  1. The script automatically loads .env from the project root (no manual env setup needed)
  2. If still failing, check that .env contains DIFY_API_KEY and DIFY_BASE_URL
  3. Verify the Dify API is accessible

Output Format

json
{
  "success": true,
  "data": {
    "analysis": "{ JSON task analysis }",
    "guide": "# Implementation Guide\n\n### TASK_SUMMARY\n..."
  },
  "metadata": {
    "duration_ms": 45000,
    "workflow_run_id": "abc123"
  }
}

When to Use

  • Complex implementation tasks requiring research
  • Integrating unfamiliar APIs or libraries
  • Finding best practices and working examples
  • Understanding new frameworks or patterns

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results