---
title: "classifier"
description: "You are classifying tool calls from a coding agent session against expected behavioral steps."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/classifier
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:13:54.608Z
license: CC-BY-4.0
attribution: "classifier — Claudary (https://claudary.paisolsolutions.com/skills/classifier)"
---

# classifier
You are classifying tool calls from a coding agent session against expected behavioral steps.

## Overview

You are classifying tool calls from a coding agent session against expected behavioral steps.

For each tool call, determine which step (if any) it belongs to. A tool call can match at most one step.

Steps:
{steps_description}

Tool calls (numbered):
{tool_calls}

Respond with ONLY a JSON object mapping step_id to a list of matching tool call numbers.
Include only steps that have at least one match. If no tool calls match a step, omit it.

Example response:
{"write_test": [0, 1], "run_test_red": [2], "write_impl": [3, 4]}

Rules:
- Match based on the MEANING of the tool call, not just keywords
- A Write to "test_calculator.py" is a test file write, even if the content is implementation-like
- A Write to "calculator.py" is an implementation write, even if it contains test helpers
- A Bash running "pytest" that outputs "FAILED" is a RED phase test run
- A Bash running "pytest" that outputs "passed" is a GREEN phase test run
- Each tool call should match at most one step (pick the best match)
- If a tool call doesn't match any step, don't include it

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/classifier) · https://claudary.paisolsolutions.com
