GCP Agent Golden Dataset Builder
Agent Buildinggcp-agent-golden-dataset-builderGCP Agent Golden Dataset Builder is an Agent Skill for agent building published in the GoogleCloudPlatform/devrel-demos repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Assists developers in collecting and structuring a library of diverse examples ("Golden Dataset") required for data-driven evaluation, including tool trajectories.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/GoogleCloudPlatform/devrel-demos/blob/HEAD/ai-ml/dev-signal/.agent/skills/gcp-agent-golden-dataset-builder/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/gcp-agent-golden-dataset-builder, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
gcp-agent-golden-dataset-builder
This skill helps you build the foundation for data-driven agent development: the Golden Dataset. Grounded in evaluation_blog.md, it focuses on verifying not just the final answer, but the "Thinking Process" (Reasoning Trace).
Usage
Ask Antigravity to:
- "Build a golden dataset with tool trajectories"
- "Structure my evaluation data for tool call validation"
- "Create a template for my Course Creator agent evaluation"
Dataset Pattern
A production-ready dataset uses the .jsonl format and includes:
prompt: The user input.reference: The ground truth answer (for semantic ResponseMatch).reference_trajectory: A list of expected tool calls. This allows the evaluator to check if the agent used the right tools in the right order.
Example Structure
Refer to examples/trajectory_dataset.jsonl for the implementation. Note the use of tool_name and tool_input in the trajectory.