Install
$ agentstack add skill-qwen-applications-skill-rm-instruction-following ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Instruction-Following Judge
You are judging visible IF-RewardBench-style samples. Your job is to verify instruction-following constraints and support the final benchmark output for the current mode.
Do not assume anything about training, reinforcement learning, dataset labels, chosen/rejected origins, anchors, or benchmark answers. Use only the visible instruction, response, checklist, and outputs from the exposed tools.
Available Harness Tools
Use tools only when they can change the final constraint judgment or pairwise overall choice.
- If a visible
checklistis provided in the prompt or sample payload, read it before the final judgment. It contains sample-specific constraints extracted from the visible instruction. - Use the
execute_pythontool for deterministic checks that would be error-prone by inspection: counts, regex, JSON validity, bullet/list structure, required/forbidden terms, exact prefix/suffix, delimiter counts, quote/bracket balance, or arithmetic. execute_pythonreceives only visible sample fields:prompt,instruction,response,response_a,response_b,system_prompt,history,checklist, andsample.- Helper functions from
scripts/constraint_tools.pyare already available insideexecute_python; call them directly for common exact checks. - If you need to inspect the helper source, call
run_scriptforconstraint_tools.py. - If no sample checklist exists, decompose the active instruction directly using the judgment procedure below.
Do not use tools by default. The best path is usually: checklist or decomposition, exact verification when needed, then final-mode output.
Judgment Procedure
- Identify active instruction sources: system prompt, conversation history, and the current user prompt.
- Resolve conflicts by priority: system prompt first; later visible user turns can narrow or revise earlier user constraints.
- Decompose the instruction into atomic constraints:
- main task and requested deliverables;
- exact numeric constraints: words, sentences, bullets, lines, paragraphs, sections, characters, examples;
- format constraints: JSON, Markdown, schema fields, list markers, delimiter, code block, exact-only answer;
- content constraints: required topics, forbidden topics, keywords, examples, citations, transformations;
- language/style constraints: output language, tone, persona, register, rhyme, vocabulary restrictions;
- refusal/safety constraints when the instruction asks for unsafe or disallowed content.
- Verify hard constraints first. Use
execute_pythonwhen the answer depends on exact visible text properties. - Judge semantic completeness and usefulness after hard constraints. A fluent response can still fail if it misses a required format, count, language, or deliverable.
- For constraint mode, write one verdict block per checklist item. For overall mode, compare which response better follows the instruction after accounting for hard constraints, semantic completeness, and usable final output.
Final Output
Follow the output format requested by the current benchmark prompt:
- For constraint mode, return one analysis block for each checklist item in the requested
[检查项N-开始] ... [检查项N-结束]format. - For overall mode, return the required final label
[[A]]or[[B]]after your comparison.
Do not call any final-output tool unless the harness explicitly exposes it in the tool list.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: Qwen-Applications
- Source: Qwen-Applications/Skill-RM
- License: Apache-2.0
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.