adhoc-testing-for-cortex-agent

Interactively test Cortex Agent responses and debug issues via scripts/test_agent.py.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/randoneering/nix-flake-mirror --skill adhoc-testing-for-cortex-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adhoc-testing-for-cortex-agent
Source: https://github.com/randoneering/nix-flake-mirror/tree/main/home/programs/opencode/skills/snowflake/agent_optimization/adhoc-testing-for-cortex-agent
Command: npx skills add https://github.com/randoneering/nix-flake-mirror --skill adhoc-testing-for-cortex-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, snowflake-connector, urllib3, and includes scripts (resource) components.

What problem does it solve?

Interactive testing of Cortex Agents by running questions, reviewing responses, and debugging issues. For persisting results to formal evaluation datasets, use the dataset-curation skill.

Core Features & Use Cases

  • Interactive testing of Cortex Agents by running questions
  • Debugging responses and exploring agent behavior
  • Generating test outputs for evaluation datasets via dataset-curation skill

Quick Start

Run test_agent.py with a sample question to start an interactive testing session and save the response.

Frequently Asked Questions about adhoc-testing-for-cortex-agent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I interactively test Cortex Agent responses for debugging?

Yes, the skill accepts optional experimental flags for staged reasoning and date overrides, allowing you to explore specific agent behaviors and debug edge cases during your interactive testing sessions.

Can I use this interactive testing skill to generate evaluation datasets?

The skill requires Python scripts and depends on the requests, snowflake-connector, and urllib3 libraries to function. You need an environment configured with these dependencies to execute the interactive testing sessions and connect to your data sources.

What is the best way to debug unexpected Cortex Agent outputs?

The best way to debug unexpected Cortex Agent outputs is to run targeted questions through the interactive testing script, review the responses directly, and use experimental flags to isolate reasoning steps or override dates for specific test scenarios.

Does this skill require Snowflake to run adhoc testing?

The skill requires Snowflake connectivity, as indicated by its snowflake-connector dependency. You need an environment configured with this library to execute the interactive testing sessions and connect to your data sources for Cortex Agent validation.

When should I use adhoc testing instead of formal dataset curation for my agent?

Use adhoc testing for quick debugging, exploring agent behavior, and iterating on workflow logic. Switch to formal dataset curation when you need to persist test outputs into structured evaluation datasets for comprehensive regression testing.

Why is my Cortex Agent testing workflow not capturing results properly?

Your testing workflow may not capture results because this skill is designed for interactive debugging rather than dataset persistence. To properly save generated test outputs, integrate with the dataset-curation skill for formal evaluation tracking.