skills/skillxiv-v0.0.2-claude-opus-4.6/distilling-feedback-memory/SKILL.md
Convert inference-time feedback into persistent, retrievable guidelines stored as agent memory. Framework enables LLMs to improve performance over time by systematically accumulating and applying learned critiques. Augmented models rapidly match test-time refinement performance while drastically reducing inference cost. Memory-as-tool pattern enables agents to learn from feedback without expensive retraining.
npx skillsauth add ADu2021/skillXiv distilling-feedback-memoryInstall 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.
Standard LLM refinement approaches face limitations:
Agents need ways to learn from feedback that are cheaper than test-time refinement and don't require retraining.
Distilling Feedback into Memory introduces Memory-as-a-Tool:
The framework operates on the principle that feedback is learnable as stored guidelines:
Building feedback-learning agents with memory-as-tool:
# Conceptual: distilling feedback into agent memory
class FeedbackLearningAgent:
def __init__(self):
self.learned_guidelines = {} # rubric_id -> guideline_text
def process_task(self, task, evaluator):
# Step 1: Generate initial response
response = self.generate_response(task)
# Step 2: Get feedback
feedback = evaluator.evaluate(response)
# Step 3: Distill feedback into guideline
if feedback.is_corrective():
guideline = self.distill_to_rubric(feedback)
rubric_id = self.store_guideline(guideline)
self.learned_guidelines[rubric_id] = guideline
return response
def process_new_task(self, new_task):
# Step 1: Retrieve relevant guidelines from memory
relevant_guidelines = self.retrieve_guidelines(new_task)
# Step 2: Incorporate as system context
context = self.build_context_from_guidelines(relevant_guidelines)
# Step 3: Generate improved response using learned guidelines
response = self.generate_response(new_task, context=context)
return response
Key mechanisms:
For a document editing assistant:
This enables the agent to improve without model retraining.
The benchmark includes:
Use to train and evaluate feedback-learning agents.
Effective guidelines cover:
Mix types for comprehensive agent improvement.
Distilling Feedback into Memory recognizes that learning from feedback doesn't require model retraining. By treating guidelines as tools agents can query, it enables efficient, systematic improvement without the cost of full refinement loops or model updates.
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.