
Skill
agentops-dataset
create datasets for AgentOps release readiness
Description
Create or extend a small JSONL dataset for AgentOps release-readiness gates. Trigger on "create dataset", "generate test data", "JSONL", "more eval rows". Infer the agent's domain from the codebase and produce realistic rows; never fabricate data when the domain is unclear.
SKILL.md
AgentOps Dataset
Generate a small, realistic JSONL dataset for the agent under evaluation.
Default location: .agentops/data/smoke.jsonl (referenced from
agentops.yaml). These rows are repo-side release-gate inputs: keep them
reviewable and deterministic, not a full replacement for Foundry dataset
management.
Step 0 - Prerequisites
pip install "agentops-accelerator @ git+https://github.com/Azure/agentops.git@main"ifagentopsis missing.- Run
agentops eval analyzefirst. If it reports missing dataset columns or recommendsagentops-dataset, use this skill before the first eval run. - If
agentops.yamldoes not exist, runagentops initfirst (the init wizard will prompt for the agent reference, project endpoint, and dataset path, then create a starter.agentops/data/smoke.jsonl).
Step 1 - Pick the columns
Read agentops.yaml (and the agent code) to figure out the agent type,
then choose the row schema:
| Agent type | Required columns | Optional columns |
|---|---|---|
| Direct model / Q&A | input, expected | - |
| RAG | input, expected, context | - |
| Conversational | input, expected | - |
| Tool-using agent | input, expected, tool_calls | tool_definitions |
input is always the user prompt. expected is the gold answer.
context is the retrieved passage(s). tool_calls is a list of
{name, arguments} describing the expected tool invocations.
Step 2 - Ground the rows in the codebase
- Read the README, system prompt, tool definitions, and any sample fixtures.
- Generate 5–10 rows that exercise the agent's actual capabilities.
- If the domain is unclear, generate a tiny generic draft and clearly flag it as a placeholder.
Step 3 - Write the JSONL
One JSON object per line, no trailing commas, UTF-8:
{"input": "What is the refund policy?", "expected": "Refunds within 30 days...", "context": "Refund policy: ..."}
Save to the path referenced by dataset: in agentops.yaml (default
.agentops/data/smoke.jsonl).
This file is the AgentOps source of truth. In Foundry cloud evaluation,
AgentOps syncs it to a stable Foundry dataset version by default and reuses the
same Foundry dataset version while the JSONL content is unchanged. If the user
forces dataset_sync.mode: inline, Foundry may show generated eval-data-*
backing assets in the project Data/Datasets page.
Step 4 - Sanity-check
Run a quick eval and confirm rows are picked up:
agentops eval run
Open .agentops/results/latest/report.md and confirm the row count
matches.
Guardrails
- Do not invent customer data, real names, or sensitive content.
- Keep rows short - datasets are meant to be quick gates, not full QA suites.
- If the user already has a domain dataset, prefer pointing
agentops.yamlat that file rather than generating new rows. - If the user asks why Foundry shows
eval-data-*, explain that those are cloud-eval backing assets from inline compatibility mode; normal cloud runs should use the stableagentops-*Foundry dataset.
More skills from the agentops repository
View all 7 skillsagentops-agent
diagnose agent performance with AgentOps
Jul 12AgentsAzureDebuggingEvals +1agentops-config
configure AgentOps release-readiness gates
Jul 12AgentsAzureConfigurationEvalsagentops-eval
run release-readiness evaluations for agents
Jul 15AgentsAzureEvalsagentops-governance
draft governance evidence for AI agents
Jul 12AgentsAzureComplianceGovernanceagentops-report
generate and explain AgentOps release-gate reports
Jul 12AgentsAzureObservabilityReportingagentops-workflow
configure AgentOps release readiness workflows
Jul 15AzureCI/CDDeploymentGitHub Actions
More from Azure (Microsoft)
View publisherazure-arg-external-evaluation-policy-author
author and test Azure Resource Graph policies
azure-policy
Jul 12AzureComplianceGovernancePolicyazure-blueprints-migration
migrate Azure Blueprints to Template Specs
azure-blueprints
Jul 12AzureDeploymentInfrastructure as CodeMigrationapiview-feedback-resolution
resolve APIView feedback on Azure SDKs
azure-sdk-tools
Jul 12API DevelopmentAzureCode ReviewDocumentationazsdk-common-live-and-recorded-tests
deploy resources and run Azure SDK tests
azure-sdk-tools
Jul 12AzureDeploymentSDKTestingazsdk-common-prepare-release-plan
manage Azure SDK release plan work items
azure-sdk-tools
Jul 12AzureGitHubProject ManagementSDKazsdk-common-sdk-release
release Azure SDK packages
azure-sdk-tools
Jul 12AzureCI/CDDeploymentSDK