shihongdev/evalyn/evalyn-setup

Claude Code and agent skill by shihongdev/evalyn

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when setting up evalyn evaluation for an LLM agent project, instrumenting agent code, or adding the evalyn decorator

Install

npx vskill@latest install shihongdev/evalyn/evalyn-setup

SKILL.md

evalyn-setup

Overview

Guide a developer through instrumenting their LLM agent with evalyn so traces are captured for evaluation.

Pre-flight

Check evalyn is installed:

bash
python -m pip show evalyn-sdk 2>/dev/null

If not installed:

bash
pip install evalyn-sdk

Step 1: Detect Agent Framework

Scan the user's agent code for imports to determine the framework:

Supported frameworks (all auto-instrumented - decorator is sufficient):

langchain, langgraph, anthropic, openai, google.generativeai, google.adk, claude_agent_sdk

If no recognized framework: the decorator still works for any Python function, but LLM calls won't have token/cost details.

Step 2: Add the Decorator

Add to the agent's main entry function. The import evalyn_sdk line MUST come before any framework imports (it patches LLM clients via sys.meta_path):

python
import evalyn_sdk # Must be FIRST import — patches LLM clients for tracing
from evalyn_sdk import eval
@eval(project="<project-name>", version="v1")
def agent_function(query: str) -> str:
# existing agent code
...

Rules:

  • import evalyn_sdk must be the very first import in the file
  • project: descriptive kebab-case name (e.g., "my-research-agent")
  • version: tracks iterations, start with "v1"
  • Wrap the outermost function that represents one agent invocation
  • Do NOT wrap internal helper functions
  • Optional name parameter overrides the display name (defaults to function name)

Real example from the codebase:

python
import evalyn_sdk # First import
from evalyn_sdk import eval
@eval(project="gemini-deep-research-agent", version="v1", name="research_agent")
def run_agent(question: str) -> str:
...

Step 3: Run the Agent

Tell the user to run their agent with at least 3 different inputs to generate traces:

bash
python path/to/agent.py "first test query"
python path/to/agent.py "second different query"
python path/to/agent.py "third varied query"

Step 4: Verify Traces

bash
evalyn list-calls --limit 5

Expected: table showing captured calls with project name, status, duration.

If no calls appear:

  • Check the decorator is on the correct function
  • Check the function is actually being called
  • Check EVALYN_AUTO_INSTRUMENT is not set to "off"

Step 5: Inspect a Trace

bash
evalyn show-trace --last -v

This shows the hierarchical span tree: LLM calls, tool calls, token counts, costs. Walk the user through what was captured.

Hand-off

"Your agent is instrumented and generating traces. Run it a few more times with varied inputs to build a representative sample, then invoke evalyn-eval to build a dataset and run evaluation."

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
255
Repository forks
26
7-day trend score
28

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 May 2026, 5 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/shihongdev/evalyn/evalyn-setup/badge)](https://verified-skill.com/skills/shihongdev/evalyn/evalyn-setup)

Something wrong with this skill or its page? Tell us.