Refining Workflows From Artifacts logo

Refining Workflows From Artifacts

Community
abagames
refining-workflows-from-artifacts

Refines a reusable agent workflow based on an actual execution result, review, failure, or simulation output. Classifies problem causes (task/execution/workflow/evaluation/capability-boundary/output-format/overconstraint) before proposing the smallest workflow diff. Use when the user wants to improve a workflow, prompt, rubric, or agent skill after applying it to a real task.

Overview

Publisherabagames
Repositoryagentic-gamedev-skills
Skill namerefining-workflows-from-artifacts
Stars
39
Forks
6
Bundled files
1
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by abagames on GitHub. Read the source before you install it.

Installation

Install the Refining Workflows From Artifacts AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/refining-workflows-from-artifacts
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/abagames/agentic-gamedev-skills.git /tmp/agentic-gamedev-skills
mkdir -p .claude/skills
cp -r /tmp/agentic-gamedev-skills/.agents/skills/refining-workflows-from-artifacts .claude/skills/refining-workflows-from-artifacts
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Refining Workflows From Artifacts in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Refining Workflows From Artifacts on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Refining Workflows From Artifacts is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Refining Workflows from Artifacts

Purpose

Improve a reusable agent workflow based on an actual execution result.

Do not use this to improve the artifact itself. Use this to improve the workflow that produced the artifact.

The goal is to make the next run more reliable through a small, evidence-based workflow change.

When to Use

  • A workflow, prompt, skill, or agent process has been applied to a real task
  • There is an artifact, review, test result, simulation result, or human concern to examine
  • Similar tasks are expected to recur

When Not to Use

  • The artifact has no associated workflow to improve
  • The problem is clearly a one-off task issue with no recurrence risk
  • The goal is empirical prompt accuracy evaluation with subagent dispatch (use empirical-prompt-tuning instead)
  • The goal is extracting reusable knowledge from a completed project (use extracting-agent-skills instead)

Required Inputs

Use whatever is available:

text
1. Current workflow or skill
2. Task, seed, or input used
3. Artifact produced
4. Review, test result, simulation result, or human concern
5. Whether similar tasks will recur

Proceed with explicit uncertainty if inputs are incomplete. Treat missing evidence as an evaluation limitation, not as proof of workflow failure.

Core Principle

Do not treat every artifact failure as a workflow failure.

Classify the cause first. Only workflow-caused (C), evaluation-caused (D), and output-format-caused (F) problems should normally produce workflow changes.

For capability-boundary-caused problems (E), add a human review point, tool requirement, prototype test, or observation criterion — do not pretend the agent can verify it.

Role Execution Model

The four roles are Success Extractor, Failure Classifier, Workflow Diff Editor, and Deletion Reviewer.

Run them as a single pass for a small, localized workflow fix. Availability of subagents is not by itself a reason to dispatch them. Split the roles into independent reviewers (separate subagents, or isolated sequential passes when subagents are unavailable) when one of these holds:

  • The change affects several workflows or skills.
  • The evaluation criteria themselves are in dispute.
  • A wrong fix is expensive to undo.
  • Independence materially raises confidence in the conclusion.

In either mode, the Failure Classifier must classify causes before the Workflow Diff Editor proposes changes. The Workflow Diff Editor must not change the workflow for A (task-caused) or B (execution-caused) problems unless the same issue recurs across runs.

Cause Classification

Classify each important issue as one of:

text
A. Task-caused
   Input was ambiguous, excessive, contradictory, or not testable.

B. Execution-caused
   The workflow said what to do, but the agent failed to follow it.

C. Workflow-caused
   The workflow lacked a needed step, criterion, output field, or repair rule.

D. Evaluation-caused
   The success or failure standard was unclear.

E. Capability-boundary-caused
   Verification requires tools, prototypes, human testing, or external data.

F. Output-format-caused
   The result existed but was hard to inspect, reuse, compare, or audit.

G. Overconstraint-caused
   The workflow was too strict and damaged novelty, flexibility, or usefulness.

If unsure, classify conservatively as D or E. Do not add workflow rules from weak evidence.

Procedure

  1. Summarize the current workflow's intended purpose in 1–3 sentences.
  2. Identify 1–3 things that worked.
  3. Identify the most important problems (no hard cap — prioritize by impact).
  4. Classify each problem by cause (A–G). For each C or F: (a) did this problem appear in more than one run — if only one, prefer "only if recurs" unless the structural gap is unambiguous; (b) would this problem arise with a different artifact in this same workflow — if it depends on artifact-specific features, prefer B over C.
  5. Revise only C, D, and F problems. Leave A, B, E, G problems unless they recur.
  6. Propose the smallest useful workflow diff (one theme at a time).
  7. State likely side effects of each diff.
  8. Name at least one deletion candidate.
  9. Leave 1–3 validation points for the next run.

Revision Priority

Apply changes in this order:

text
1. Fix output format
2. Clarify inspection criteria
3. Change execution order
4. Shorten input format
5. Add repair rules
6. Split roles
7. Add constraints
8. Add human or external-tool intervention points

Constraints are a late remedy. Many failures come from poor output shape or missing cause classification, not from too few rules.

Deletion Rule

Every refinement must name at least one deletion candidate:

  • unused steps
  • duplicated checks
  • output fields that did not aid judgment
  • roles that only produced prose
  • constraints that weakened the artifact
  • long sections that were not used

If deletion is risky, mark it "observe next run" rather than deleting immediately. If every candidate is deferred, state explicitly why no actual deletion was made this run.

Capability Boundary

Easier to verify: format compliance, missing fields, explicit contradictions, unresolved definitions, simple strategy comparison, test-case coverage, repeated output failures.

Harder to verify: fun, taste, feel, beauty, rhythm, persuasion, brand fit, human satisfaction.

For hard-to-verify qualities, do not pretend certainty. Add human review points, prototype tests, sample comparisons, or observation criteria instead.

Anti-Patterns

  • Treating every artifact failure as a workflow failure, then adding constraints
  • Rewriting the whole workflow every run
  • Expanding checklists without deleting anything
  • Making unverifiable qualities look verified
  • Hiding uncertainty
  • Turning a compact workflow into a bureaucracy

Output

Load references/improvement-log-template.md at output time.

Keep changes small, reversible, and testable in the next run.

Companion Skills

  • empirical-prompt-tuning — empirical accuracy measurement of skills using subagent dispatch; use when you want to measure success rate across scenarios
  • extracting-agent-skills — extracting reusable skills from completed or abandoned projects

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Refining Workflows From Artifacts AI skill do?

Refines a reusable agent workflow based on an actual execution result, review, failure, or simulation output. Classifies problem causes (task/execution/workflow/evaluation/capability-boundary/output-format/overconstraint) before proposing the smallest workflow diff. Use when the user wants to improve a workflow, prompt, rubric, or agent skill after applying it to a real task.

Why use Refining Workflows From Artifacts on TypingMind?

Because you install it once and use it with any model. Refining Workflows From Artifacts is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Refining Workflows From Artifacts in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/abagames/agentic-gamedev-skills/tree/main/.agents/skills/refining-workflows-from-artifacts. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Refining Workflows From Artifacts?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Refining Workflows From Artifacts?

As many as you like. As long as a model supports skills, you can use Refining Workflows From Artifacts with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Refining Workflows From Artifacts AI skill free?

Yes. It is published on GitHub by abagames under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇