Skip to content
TrustedSkillsbeta
Back to all skills

Viem Integration

Listed
uniswap·vlatest·backend·MIT

Connects to Uniswap v3 liquidity pools via API for real-time data and automated trading strategies.

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 uniswap/uniswap-ai --skill viem-integration -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

uniswap

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: eth-mainnet.g.alchemy.com, mainnet.infura.io, rpc.mychain.com.

    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

    eth-mainnet.g.alchemy.comundeclaredrpc.mychain.comundeclaredmainnet.infura.ioundeclared

    What it found (3 of 7)

    • packages/plugins/uniswap-viem/skills/viem-integration/references/clients-and-transports.md:26contacts eth-mainnet.g.alchemy.com
      transport: http('https://eth-mainnet.g.alchemy.com/v2/YOUR_API_KEY'),
    • packages/plugins/uniswap-viem/skills/viem-integration/references/clients-and-transports.md:106contacts eth-mainnet.g.alchemy.com
      http('https://eth-mainnet.g.alchemy.com/v2/KEY');
    • packages/plugins/uniswap-viem/skills/viem-integration/references/clients-and-transports.md:294contacts eth-mainnet.g.alchemy.com
      transport: http(`https://eth-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}`),
  • 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 uniswap/uniswap-ai at bff480cf46.

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

Scanned
7 files, 2,938 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, viem-integration, provides capabilities related to interacting with blockchain data and performing on-chain actions. It allows AI agents to construct and execute transactions using TypeScript and ethers.js. Specifically, it enables the creation of read operations for fetching data from smart contracts and write operations for interacting with them.

When to use it

  • Automated DeFi Trading: Automate trading strategies by programmatically constructing and executing trades on decentralized exchanges.
  • Smart Contract Data Retrieval: Retrieve specific data points (e.g., token balances, liquidity pool information) directly from smart contracts.
  • On-Chain Task Automation: Automatically perform tasks like claiming rewards or interacting with governance mechanisms through smart contract calls.
  • Building Blockchain Tools: Create tools that interact with blockchain protocols and require programmatic interaction with smart contracts.

Key capabilities

  • TypeScript support for transaction creation.
  • Integration with ethers.js library.
  • Ability to create read operations (fetching data).
  • Ability to create write operations (executing transactions).

Example prompts

  • "Fetch the current price of ETH/USDC from the Uniswap V3 pool."
  • "Construct a transaction to approve my wallet address for spending 1000 USDC on the specified contract."
  • “Create a read operation to get the total supply of tokens in this smart contract.”

Tips & gotchas

  • Requires familiarity with blockchain concepts and smart contracts.
  • Ensure your AI agent has access to appropriate private keys or signing mechanisms for executing transactions.