skills/skillxiv-v0.0.2-claude-opus-4.6/chaining-evidence-rl/SKILL.md
Train search agents using citation-aware rubric rewards that decompose complex questions into verifiable single-hop facts. Agents learn to chain evidence through explicit source citations, preventing hallucinations and shortcut exploitation. Citation-aware Group Relative Policy Optimization (C-GRPO) combines rubric and outcome rewards, enabling agents to solve multi-hop reasoning tasks with high factual grounding and transparency.
npx skillsauth add ADu2021/skillXiv chaining-evidence-rlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Current search-based agents face three critical weaknesses:
Search agents need fine-grained supervision that rewards the reasoning process, not just final outcomes.
Chaining the Evidence introduces Citation-Aware Rubric Rewards (CaRR):
The framework operates on the principle that reasoning transparency enables robustness:
Building citation-aware agents with CaRR:
# Conceptual: rubric-based evidence chaining
def train_citation_aware_agent(query, reference_documents):
# Step 1: Decompose query into verifiable rubrics
rubrics = decompose_query(query)
# rubrics: ["Identify campaign manager", "Find birth year"]
# Step 2: Agent answers each rubric with citation
for rubric in rubrics:
answer, citation = agent.answer_with_citation(rubric, reference_documents)
# Rubric reward: verify citation supports answer
rubric_reward = verify_citation(answer, citation, reference_documents)
# Step 3: Final answer from evidence chain
final_answer = compose_from_evidence(rubric_answers)
# Step 4: Dual reward optimization
outcome_reward = evaluate_final_answer(final_answer, ground_truth)
combined_reward = alpha * rubric_reward + (1-alpha) * outcome_reward
# Update policy with combined signal
agent.optimize(combined_reward)
Key mechanisms:
For a research assistant agent:
This ensures the agent's reasoning is transparent and auditable.
The framework scales from simple binary questions (yes/no with single citation) to complex comparative reasoning (compare 3+ entities across dimensions) by adjusting rubric complexity.
CaRR advances RL for search agents by recognizing that reward signals should target reasoning quality, not just final correctness. This process-focused approach mirrors how humans learn to justify reasoning through evidence.
testing
Uses flow maps as look-ahead operators to enable principled reward-guided diffusion by predicting trajectory endpoints at any denoising step. Deploy when applying rewards or preferences to diffusion trajectories with meaningful gradients throughout generation.
testing
Train language models where each expert learns independently on closed datasets, enabling flexible inference with selective data inclusion or exclusion. 41% performance improvement while allowing users to opt out of specific data sources without retraining.
data-ai
Understand how token generation flexibility in diffusion LMs paradoxically constrains reasoning, as models exploit ordering flexibility to avoid uncertain tokens, and apply simplified approaches that preserve parallel decoding benefits. Use when optimizing diffusion-based language models for reasoning tasks.
devops
Enable LLM agents to improve continuously during deployment by constructing structured experience libraries through self-reflection on successes and failures—achieving 23% improvement on reasoning without gradient-based parameter updates or external training.