Classifier
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
fill the variables
This prompt has 2 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{steps_description}{tool_calls}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo OpenAgentHQ/linkedin-ai-comment-copilot (MIT). A "Classifier" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
productivitycommunitydeveloper
source
OpenAgentHQ/linkedin-ai-comment-copilot · MIT
more in Productivity
Productivity✓ tested
Summarize a doc into decisions & actions
chief of staff who extracts what to DO, not just what was said
Productivity✓ tested
Draft a reply to a hard email
calm, direct communicator who de-escalates without caving
Productivity✓ tested
Turn a brain-dump into a weekly plan
planning coach who protects your focus, not just your calendar