AgentToolHub
Skill

valyu-best-practices

valyu-best-practices — a Claude Code skill from valyuai/skills

Features

  • ✓Unified API access to real-time data
  • ✓Supports Claude Code and Claude Desktop
  • ✓25+ data sources including academic, financial, and healthcare
  • ✓Search, content extraction, AI answers, and deep research capabilities
  • ✓Easy integration with AI agents and assistants

Installation Guide

bash
npx skills add valyuAI/skills

The skill provides instructions for:

  • Search API - Find information across 25+ data sources

  • Contents API - Extract clean markdown from URLs

  • Answer API - Get AI-synthesized answers with citations

  • DeepResearch API - Generate comprehensive research reports
  • For Developers

  • Get a Valyu API key at platform.valyu.ai ($10 free credits)
  • Install the SDK:

  • bash
       npm install valyu-js
       # or
       pip install valyu

  • Use the API:

  • typescript
       import Valyu from 'valyu-js';
    
       const valyu = new Valyu("your-api-key");
    
       // Search across all sources
       const results = await valyu.search({
         query: "transformer architecture attention mechanism 2024",
         searchType: "all",
         maxNumResults: 10
       });
    
       // Get AI-powered answer
       const answer = await valyu.answer({
         query: "What are the latest developments in quantum computing?"
       });
    
       // Extract content from URL
       const content = await valyu.contents({
         urls: ["https://example.com/article"],
         summary: "Extract key findings in 3 bullet points"
       });
    
       // Deep research (async)
       const task = await valyu.deepResearch.create({
         query: "AI chip market competitive landscape 2024",
         model: "standard"  // fast (~5min), standard (~15min), heavy (~90min)
       });

    Reviews