agentleFS
however-yirhowever-yir/claude-skills/skills/ai-agent-workflow/SKILL.md

ai-agent-workflow

Skill2 starsChanged 7 months agoMITView on GitHub

Use when designing or improving AI engineering workflows after the stack direction is already mostly known. Covers prompt pipelines, MCP integrations, tool-using agents, reusable workflow specs, evaluation loops, and workflow decomposition. Trigger this for agent architecture, prompt refinement, tool grounding, workflow design, and turning repeatable AI tasks into durable systems. If the main question is local model selection, deployment path, or LM Studio versus Ollama versus MLX, use local-ai-systems-studio instead. If the main request is to create, rewrite, benchmark, or improve a skill itself, use skill-creator instead even when the skill is AI-related.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the goal is not just to get one answer, but to build a repeatable AI-assisted workflow and the main stack direction is …

    line 12
  2. Very specific:

    If the decision is still mainly about local stack choice, deployment path, or hardware fit, hand the problem to local-ai-systems-studio …

    line 68
  3. Very specific:

    If the user is explicitly asking to author, package, validate, benchmark, or optimize a skill, hand the task to skill-creator instead of …

    line 69
  4. Distinctive:

    Keep the workflow explicit.

    line 71
  5. Distinctive:

    If quality matters, include a loop:

    line 81
  6. Very specific:

    stop and switch to skill-creator if the next concrete ask becomes "write the skill" or "evaluate the skill itself"

    line 108
  7. Distinctive:

    Use these when appropriate:

    line 121
  8. Distinctive:

    Read references/checklist.md when you need a compact workflow design checklist.

    line 146

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

AI Agent Workflow

Use this skill when the goal is not just to get one answer, but to build a repeatable AI-assisted workflow and the main stack direction is already mostly known.

This skill is for taking AI ideas and turning them into structured loops: prompts, tools, retrieval, checks, and reusable building blocks.

Inputs

Useful inputs for this skill include:

  • the repeatable task you want the workflow to handle
  • current prompt, script, tool, or skill draft if one exists
  • model constraints such as local-only or API limits when the basic stack is already chosen
  • available tools, MCP servers, files, or data sources
  • quality bar, failure modes, and evaluation expectations

Outputs

Strong outputs from this skill usually include one or more of:

  • a reusable workflow specification
  • a prompt template or prompt stack
  • a tool integration or MCP plan
  • an evaluation loop or quality rubric
  • a recommendation for whether this should be a prompt, skill, script, or MCP server
  • a minimal implementation path with clear next steps

Non-goals

This skill is not the best fit for:

  • choosing between local deployment stacks such as MLX, GGUF, LM Studio, Ollama, or vLLM
  • hardware-first local LLM decisions or local serving setup questions
  • creating a new skill from scratch or rewriting the skill artifact itself
  • benchmarking a skill, improving skill triggering, or building a skill eval harness
  • one-off content writing with no reusable workflow need
  • generic code fixes unrelated to AI systems or tooling
  • visual design, portfolio packaging, or office-document polish
  • hand-wavy AI brainstorming that never needs an explicit operating loop

Workflow

  1. Define the unit of work. Clarify what the workflow should repeatedly accomplish:
  • generate
  • transform
  • evaluate
  • retrieve
  • route
  • summarize
  • orchestrate tools
  1. Choose the right control surface. Decide whether the problem is best solved by:
  • better prompting
  • a reusable skill
  • MCP tool integration
  • structured references
  • evaluation and iteration
  • a small script or automation

If the decision is still mainly about local stack choice, deployment path, or hardware fit, hand the problem to local-ai-systems-studio first. If the user is explicitly asking to author, package, validate, benchmark, or optimize a skill, hand the task to skill-creator instead of keeping it here.

  1. Keep the workflow explicit. Spell out:
  • inputs
  • steps
  • tool calls
  • expected outputs
  • failure handling
  • validation points
  1. Design for iteration. If quality matters, include a loop:
  • draft
  • inspect
  • revise
  • compare
  • finalize

Examples

Example 1: Local LLM workflow design

User request:

I want to use my local Qwen model to summarize PDFs, extract tasks, and save clean notes.

Good use of this skill:

  • assume the local stack is already basically chosen
  • separate extraction, cleanup, and summarization stages
  • define what can stay prompt-only versus what should call tools
  • specify stable input and output shapes so the workflow can be repeated

Example 2: Skill or MCP decision

User request:

Should this document-processing task become a skill, a script, or an MCP server?

Good use of this skill:

  • compare control surfaces honestly
  • optimize for reuse, tool access, and maintenance cost
  • recommend the smallest durable abstraction that solves the real problem
  • stop and switch to skill-creator if the next concrete ask becomes "write the skill" or "evaluate the skill itself"

Example 3: Evaluation loop

User request:

Help me build an eval loop for this agent so I can tell if the outputs are getting better.

Good use of this skill:

  • define success criteria and failure categories
  • design draft, review, revise, and compare steps
  • suggest lightweight evaluation before overbuilding infrastructure

Pairing With Other Skills

Use these when appropriate:

  • local-ai-systems-studio when the main question is local model choice, deployment path, or hardware-to-stack fit
  • mcp-server-builder for real tool integration
  • skill-creator when the request becomes "turn this into a skill", "improve this skill", or "benchmark this skill"
  • skill-reviewer for reviewing an already-written skill against best practices
  • skills-search before building from scratch
  • prompt-optimizer for prompt quality work
  • deep-research when the workflow depends on structured external knowledge

Triggers

Common requests that should trigger this skill:

  • "Help me turn this into an agent workflow"
  • "How should I structure this workflow now that I know the stack?"
  • "Should this be a skill, prompt, script, or MCP server?"
  • "Make this AI task reusable"
  • "Design an eval loop for this workflow"

Requests that should usually go somewhere else:

  • "Create a skill for this workflow" -> skill-creator
  • "Benchmark or improve this skill" -> skill-creator
  • "Help me choose between LM Studio and Ollama" -> local-ai-systems-studio

Reference

Read references/checklist.md when you need a compact workflow design checklist.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.