Agent skill

feedback-vector-loop

Build reusable directional-feedback loops for any creative/agentic pipeline. Use when replacing binary thumbs-up/down with structured critique vectors (more/less/avoid/replace), compiling feedback into weight adjustments, ranking candidates with those vectors, and iteratively improving outputs with deterministic artifacts.

Stars 9
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/delorenj/skills/tree/main/feedback-vector-loop

SKILL.md

Feedback Vector Loop

Use this skill to operationalize directional feedback:

  • not just "good/bad"
  • but "move output toward X and away from Y"

This pattern is reusable across brands (e.g., Jacksnaps, Digipop, any creative pipeline).

When to use

  • You have candidate outputs and human critique.
  • Binary labels are too weak for improvement.
  • You want iterative quality gains while preserving deterministic control.

Core model

Each feedback record should include:

  1. Verdict: up | revise | down
  2. Direction:
    • more[]
    • less[]
    • avoid[]
    • replace{old:new}
  3. Optional candidate context (title, slogan, rationale, etc.)

Deterministic pipeline

  1. Capture feedback log (feedback_log.jsonl).
  2. Compile vector profile (feedback_vector.json).
  3. Rank new candidates with base score + vector score.
  4. Apply replacement rules and penalties/bonuses.
  5. Emit stage trace and artifacts for auditability.

Runbook

1) Compile vector from feedback

bash
python scripts/compile_feedback_vector.py \
  --input <feedback_log.jsonl> \
  --output <feedback_vector.json>

2) Rank candidates with vector

bash
python scripts/rank_candidates_with_vector.py \
  --candidates <candidates.json> \
  --vector <feedback_vector.json> \
  --output <ranked_candidates.json>

3) Validate data contract

Use references/feedback-data-contract.md for required fields.

Design invariants

  • Keep feedback rows append-only.
  • Use weighted token adjustments, not opaque hidden state.
  • Persist artifacts every run (traceability).
  • Separate creative generation from deterministic scoring.

Suggested artifact set per run

  • feedback_log.jsonl
  • feedback_vector.json
  • ranked_candidates.json
  • stage_trace.jsonl
  • summary.json

Expand your agent's capabilities with these related and highly-rated skills.

delorenj/skills

openclaw-upgrade

Upgrade OpenClaw installations to the latest version. Handles global npm installs, local development setups, release channels (stable/beta/dev), configuration preservation, and platform-specific requirements. Use when updating OpenClaw, switching release channels, or troubleshooting update issues.

9 0
Explore
delorenj/skills

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

9 0
Explore
delorenj/skills

security-monitor

Real-time security monitoring for Clawdbot. Detects intrusions, unusual API calls, credential usage patterns, and alerts on breaches.

9 0
Explore
delorenj/skills

event-driven-architecture

Kafka, RabbitMQ, SQS/SNS, event sourcing, CQRS, saga patterns, dead letter queues, and idempotency. Use when designing asynchronous systems, implementing message-driven workflows, or building event streaming pipelines.

9 0
Explore
delorenj/skills

shadcn-ui

Expert guidance for integrating and building applications with shadcn/ui components, including component discovery, installation, customization, and best practices.

9 0
Explore
delorenj/skills

just-fucking-cancel

Find and cancel unwanted subscriptions by analyzing bank transactions. Detects recurring charges, calculates annual waste, and helps you cancel with direct URLs and browser automation. Use when: 'cancel subscriptions', 'audit subscriptions', 'find recurring charges', 'what am I paying for', 'save money', 'subscription cleanup', 'stop wasting money'. Supports CSV import (Apple Card, Chase, Amex, Citi, Bank of America, Capital One, Mint, Copilot) OR Plaid API for automatic transaction pull. Outputs interactive HTML audit with one-click cancel workflow. Pairs with Plaid integration for real-time transaction access without CSV exports.

9 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results