radiantlogicinc/fastworkflow/optimize-workflow-with-feedback
Claude Code and agent skill by radiantlogicinc/fastworkflow
- community
Checking that the SKILL.md file is still in the repository.
Improve a fastWorkflow application using recorded traces, component-level human feedback, regression benchmarks and paired experiments. Use when asked to improve task completion, answer quality, latency, cost or repeated clarification, or to turn review comments into verified workflow changes. Diagnose a single failure with debug-workflow-conversations.
Install
npx vskill@latest install radiantlogicinc/fastworkflow/optimize-workflow-with-feedbackSKILL.md
Optimize workflows using evidence and feedback
Start with a concrete user problem and the recorded behavior that demonstrates it. Deliver a trace-supported diagnosis, a scoped change, regression coverage and a comparison of observed outcomes. If new execution is not authorized or available, deliver the diagnosis, change and prepared comparison inputs, and clearly identify which claims remain unmeasured.
Find the evidence in run_chatbot
Select the application workflow and use benchmark → experiment → conversation on the left. For ordinary chats use ad-hoc conversations → UTC date → conversation. Inspect turns and then planning, execution steps and individual calls on the right. The right breadcrumb retains the entire drill-down path; the left tree ends at conversations.
Record the evidence store identity/path, benchmark version/digest, experiment ID, task ID, attempt, channel/conversation, turn key and relevant span IDs. Conversation IDs alone are not unique across channels or recordings. Follow the selected experiment's bound store; do not assume all results are in the currently selected workflow's default database.
Use debug-workflow-conversations for trace reads and stage-specific diagnosis. Before interpreting a missing call, inspect writer health and redaction: redacted, truncated, dropped and absent evidence are different conditions. Do not rerun a workflow merely to obtain an answer already present in its recording.
Use human feedback precisely
The Feedback box on a turn, phase, step or span appends a timestamped comment, categorized with one of three categories and its two subcategories: Observations / Analysis (observation, analysis), Conclusions (what_went_right, what_went_wrong) and Recommendations (what_to_do, what_not_to_do). The comment itself is free text and no heading in it is parsed. Comment on the narrowest component with recorded spans that explains the problem; if the component has no span anchor, comment on the turn. Useful comments state:
- What the user expected and what was observed.
- The concrete example or evidence supporting the difference.
- The desired behavior, including cases where the current behavior is already right.
For example: “The order lookup returned two candidates, but this step selected one without asking. Ask which order the customer means before requesting a refund.” This identifies a decision and an outcome to test. Treat any proposed fix as a hypothesis to verify against the trace.
Read the full comment history, including disagreements and later corrections. The UI shows comments matching the selected component; list_human_feedback(turn_key) returns all anchors for that turn with comment, category/subcategory and the frozen anchors, and list_task_feedback(experiment_id=, task_id=) returns everything said about a whole task. Comments written before the taxonomy read back with no category and are shown as unclassified; do not guess which of the six they would have been. Preserve original comments; record an agent's interpretation in analysis rather than inventing or overwriting a human judgment.
Keep three mechanisms distinct:
| Mechanism | Meaning | |
|---|---|---|
human_feedback | Developer/operator annotations attached to recorded evidence; no automatic retraining, prompt injection or score change | |
The agent-memory feedback table | Removed with its dspy.History injection (fix-9eg.16). Recorded comments are never replayed into a prompt |
Comments are recorded in the workflow's live database. Never modify an archived experiment to insert feedback.
Diagnose and choose the smallest useful change
Walk from the earliest wrong decision to its effects. Compare the intended task, plan, actual command, extracted parameters, command response and final answer. Typical evidence-to-change paths:
| Evidence | Candidate change | |
|---|---|---|
| Wrong command or repeated ambiguity | Context reachability, duplicate capabilities, seeds; use the routing companion skills | |
| Missing handle or unnecessary request for an ID | Producer hints (available_from) and lookup visibility | |
| Valid entity rejected or wrong fuzzy correction | db_lookup candidates and thresholds | |
| Unusable values reach business logic | Validation hook and actionable correction messages | |
| Correct tools but missing/incorrect final information | Response content, presentation requirements, output limits | |
| Long latency/high cost | Identify costly LLM calls, repeated tools or waits before changing models or budgets | |
| A rule is answered but asked again | Context/state retention and use of prior answers; distinguish invalid prior answers from forgotten valid ones |
A successful command is not proof of a satisfied task; check the actual application state or other designated outcome evidence. A model's assertion of completion is not independent evidence. Likewise an honest clarification can be correct behavior. Distinguish necessary clarification, redundant confirmation, repeated questions after valid answers, and retries after invalid answers.
Preserve the regression and comparison
Use create-workflow-benchmarks to add the failing case and nearby successful cases. A single prompt or short conversation is enough when it captures the failure; use build-task-benchmarks for failures that require longer sequences. Store fixture assumptions, expected outcomes and their evidence requirements using the application's driver conventions. Remove secrets and replace transient customer data with reproducible test fixtures. Verify fixture claims; do not invent backend facts.
Freeze the test input before comparing the existing and changed workflows. Keep benchmark pin, fixtures, responder policy, repetitions, model routes, cache policy and budgets matched except for the variable under study. If the corpus must change, create a new version and compare both implementations on that version; do not call a task-set change an implementation improvement. Keep tuning cases separate from held-out checks. Do not copy evaluation wording into training seeds.
Create a new experiment identity for the candidate. Record the hypothesis/control/change and baseline identity; use the project's pre-run setup review when it is part of the workflow. The runner reference covers registration, optional review receipts and execution handoff. Registration and review do not launch anything. Use existing execution authorization; when approval is required, present the exact run command, model routes, estimated cost and limits after preparing the runnable comparison.
For interactive runs define a bounded responder/timeout policy and preserve every question and answer. Incomplete attempts remain visible. Do not silently retry until success, omit failures, or mix an unreported model/budget change into a workflow fix. Use focused local validation for the changed feature before spending on measured execution.
Compare and record what changed
Check evidence validity and the attempt's recorded runtime configuration before reading score differences. An invalid experiment carries no defensible score. Missing runtime snapshots limit claims about configuration; today's readiness response does not prove what ran yesterday. Respect comparison refusals instead of bypassing them to produce a ranking.
Pair results by task ID and attempt where appropriate. Report the counts and denominators, including missing/incomplete attempts. Keep these dimensions separate as relevant:
- Verified task outcomes and answer quality, including human judgments and unresolved disagreement.
- Command/routing failures and the first consequential error.
- Necessary and repeated clarification; the operator policy used.
- Latency (separating user wait), LLM calls/tokens, reported cost and output truncation.
For checklist grading of benchmark runs, read grade-benchmark-runs. For keep-or-revert decisions over repeated LLM runs, read judge-changes-against-noise.
Compare regressions as well as improvements. Runtime completed and command success are not business-success grades. Missing cost/usage is unknown, not zero. Total LLM usage and cost with fastworkflow.observability.comparison.usage_rollup(spans). It folds re-emitted and wrapper fw.llm.call records, so do not sum the rows or the parent roll-ups yourself. A completion equal to max_tokens is a cutoff clue, not by itself proof that the answer is incomplete.
Write per-run conclusions in experiment notes and cross-run synthesis in benchmark analysis. Benchmark analysis can hold prose or structured JSON; notes are free text. They do not compute scores. Include evidence identifiers, the change, observed differences, counterexamples and limitations. Recommend adoption, revision or another investigation based on those observations; retain the original recordings. The handoff should distinguish locally tested changes from measured improvements and identify any pending execution or human rating explicitly.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingfastworkflow/skills_for_coding_fastworkflows/optimize-workflow-with-feedback/SKILL.md
Popularity
- Repository stars
- 52
- Repository forks
- 16
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/radiantlogicinc/fastworkflow/optimize-workflow-with-feedback)