Skip to content
TrustedSkillsbeta
Back to all skills

Valyu Best Practices

Listed
valyuai·vlatest·other

Provides tailored guidance on implementing ValyuAI's best practices for optimal performance and results.

Install on your platform

Showing Claude Code. One command installs this skill into any of the agents below.

  1. 1

    Run this in your project

    terminal
    $ npx skills add valyuai/skills --skill valyu-best-practices -a claude-code
  2. Uses the open-source skills CLI and needs Node.js. Add -g to install it for your user instead of this project.

What we know about this skill

Publisher

valyuai

Taken from the source listing. We haven't verified who controls this account.

Install target

Live repository

Not pinned. Installing fetches whatever the repository holds at the time you run the command.

No human has reviewed this code. The checks below are a static scan of the files at one commit — nobody has run this skill or judged whether it works. A skill runs with whatever access you give your agent, so read the source before you install it.

Automated safety checks

scanned

This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.

  • No undeclared network calls: failed

    Contacts 3 hosts that are neither well-known infrastructure nor declared in the skill's frontmatter: api.valyu.ai, mcp.valyu.ai, platform.valyu.ai.

    Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.

    Hosts contacted

    api.valyu.aiundeclaredmcp.valyu.aiundeclaredplatform.valyu.aiundeclared

    What it found (3 of 7)

    • valyu-search/valyu-best-practices/SKILL.md:88contacts api.valyu.ai
      const response = await fetch('https://api.valyu.ai/v1/search', {
    • valyu-search/valyu-best-practices/references/api-guide.md:399contacts api.valyu.ai
      curl -X GET "https://api.valyu.ai/v1/datasources?category=research" \
    • valyu-search/valyu-best-practices/scripts/valyu.mjs:13contacts api.valyu.ai
      const VALYU_API_BASE = 'https://api.valyu.ai/v1';
  • Declares what it does: passed

    SKILL.md parses and declares a name and a description.

    SKILL.md exists, its frontmatter parses, and it declares a name and a description.

  • No obfuscated payloads: passed

    No encoded or obfuscated payloads.

    No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.

  • No credential access: passed

    Reads no keys, tokens, keychains or credential files.

    Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.

  • No pipe-to-shell installers: passed

    No pipe-to-shell or download-and-run installers.

    No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.

  • Pinned to a commit: passed

    Scanned valyuai/skills at be57c51696.

    The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.

Scanned
46 files, 5,637 lines
This is a static scan, not a review. It reads the skill's files; it does not run them, and it cannot tell you whether the skill is any good or whether the code does what its description says. A skill runs with whatever access you give your agent.
What each check looks for →

About this skill

What it does

This skill provides guidance and instructions for effectively using the ValyuAI API to perform various data retrieval and analysis tasks. It covers a range of functionalities including searching across diverse sources, extracting content from specific URLs, generating AI-powered answers with citations, creating comprehensive research reports, and discovering available data sources. Crucially, it emphasizes the use of official SDK libraries for optimal performance and reliability.

When to use it

  • Researching current events: Quickly find up-to-date information on any topic using the Search API.
  • Academic exploration: Conduct research utilizing academic databases like arXiv and PubMed with the Search API.
  • Financial analysis: Access financial data such as SEC filings and stock reports through the Search API.
  • Healthcare insights: Retrieve clinical trial data or drug labels using the Search API.
  • Generating in-depth reports: Create comprehensive research reports leveraging the DeepResearch API.

Key capabilities

  • Provides a decision tree to select the appropriate Valyu API (Search, Contents, Answer, DeepResearch, Datasources).
  • Mandates the use of official SDK libraries (valyu-js for JavaScript/TypeScript and valyu for Python) instead of raw HTTP calls.
  • Offers type safety with TypeScript/Python type hints.
  • Includes automatic retry logic for handling transient failures.
  • Supports streaming responses via async iterators.
  • Provides structured error handling with helpful messages.

Example prompts

  • "Use the Valyu Search API to find recent articles on transformer architectures and attention mechanisms."
  • "Generate a research report using the DeepResearch API about the impact of AI on the financial markets."
  • "Extract content from this URL: [URL] using the Contents API."

Tips & gotchas

  • SDK is mandatory: Always use the official valyu-js or valyu SDK libraries. Avoid making direct HTTP requests to the Valyu API endpoints.
  • API Key Required: You'll need a VALYU_API_KEY environment variable set up for authentication.
  • Explore Search Types: The Search API offers different search types (e.g., "all") which can be used to refine your results.