Token导航 LogoToken导航TokenDH.com
前端设计external-servicegithub未标认证来源可访问许可证需确认审计通过

agent-workflowAgent 工作流程

Agent Skill

agent-workflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,719

周安装

110

GitHub Stars

189

下载量

854
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-workflow(Agent 工作流程)
来源仓库:https://github.com/sharpdeveye/maestro
仓库路径:skills/agent-workflow
安装命令:
npx skills add https://github.com/sharpdeveye/maestro --skill agent-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sharpdeveye/maestro --skill agent-workflow

简介

agent-workflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

MANDATORY — Context Gathering Protocol

Before applying any workflow guidance, gather context:

  1. Check for Maestro context in the project root

- First check .maestro/context.md (v2 layout) - Then check .maestro.md (v1 layout — backward compatible) - If it exists → read it and use the workflow context within - If it doesn't exist → tell the user: *"No workflow context found. Run /teach-maestro to set up project-specific context for better results."*

  1. Check for decision history (optional)

- If .maestro/decisions.jsonl exists → read the last 5 decisions for session continuity - If it doesn't exist → proceed without it (no error)

  1. Minimum viable context (if no .maestro.md):

- What AI model(s) are being used? - What is the workflow's primary task? - Are there existing prompts, tools, or agents to work with? - What are the quality/speed/cost priorities?

  1. DO NOT proceed without at least understanding the model, task, and priorities.

Maestro — AI Agent Workflow Mastery

This skill provides the foundational knowledge for designing, building, and maintaining production-grade AI agent workflows. All Maestro commands build on these principles.

Core Principles

  1. Structure over improvisation — Workflows should be deliberate, not emergent
  2. Constraints are features — Explicit boundaries prevent failure modes
  3. Measure, don't assume — Every workflow needs evaluation, not just testing
  4. Appropriate complexity — Match the solution to the problem, not the ambition
  5. Graceful degradation — Every component should fail safely

1. Prompt Engineering

DO:

  • Use structured prompts with clear sections (role, context, instructions, output format)
  • Define output schemas explicitly (JSON schema, markdown template, typed response)
  • Use few-shot examples for ambiguous tasks
  • Chain-of-thought for multi-step reasoning
  • Keep system prompts focused — one clear role per prompt

DON'T:

  • Write wall-of-text prompts with no structure
  • Assume the model understands implicit output format
  • Use the same prompt for fundamentally different tasks
  • Put conflicting instructions in the same prompt
  • Rely on the model to "figure it out"

→ *Consult prompt engineering reference for structure, patterns, and output schemas.*


2. Context Management

DO:

  • Budget context window usage (system prompt, examples, user input, tool results, output)
  • Place critical information at the start AND end of context (attention gradient)
  • Use retrieval (RAG) instead of stuffing full documents
  • Maintain conversation state explicitly
  • Summarize long histories instead of passing raw transcripts

DON'T:

  • Dump entire codebases, databases, or documents into context
  • Ignore context window limits until you hit them
  • Assume the model pays equal attention to all context
  • Pass irrelevant information "just in case"
  • Rely on implicit memory across turns

→ *Consult context management reference for window optimization and memory patterns.*


3. Tool Orchestration

DO:

  • Give tools clear, specific names and descriptions
  • Define input/output schemas for every tool
  • Handle tool errors gracefully (the tool WILL fail eventually)
  • Keep tool sets focused — 3-7 tools per agent is ideal
  • Make tools idempotent where possible

DON'T:

  • Expose 30+ tools and hope the model picks the right one
  • Use vague tool descriptions ("does stuff with data")
  • Skip error handling in tool implementations
  • Let tools have side effects without confirmation for destructive operations
  • Create tools that overlap in functionality

→ *Consult tool orchestration reference for selection heuristics and composition patterns.*


4. Agent Architecture

DO:

  • Start with a single agent — add agents only when a single agent demonstrably fails
  • Define clear boundaries and responsibilities for each agent
  • Use structured handoff protocols between agents
  • Implement supervisor patterns for multi-agent systems
  • Design for observability — log agent decisions, not just outputs

DON'T:

  • Build multi-agent systems for problems a single agent handles
  • Create agents without clear boundaries (overlapping responsibilities = conflicts)
  • Use unstructured communication between agents
  • Skip the supervisor — autonomous agent swarms are unpredictable
  • Assume agents will coordinate without explicit protocols

→ *Consult agent architecture reference for topology patterns and delegation.*


5. Feedback Loops

DO:

  • Build evaluation into the workflow from day one
  • Create golden test sets with known-good inputs and outputs
  • Use automated evaluators for consistent quality scoring
  • Track regression — compare new outputs against baselines
  • Implement self-correction loops for critical outputs

DON'T:

  • Ship without evaluation ("it seems to work" is not evaluation)
  • Rely solely on human review at scale
  • Use the same model to evaluate its own output without structure
  • Skip regression testing when changing prompts or models
  • Conflate "the model ran without errors" with "the output is correct"

→ *Consult feedback loops reference for evaluation patterns and self-correction.*


6. Knowledge Systems

DO:

  • Choose retrieval strategy based on query type (semantic, keyword, hybrid)
  • Chunk documents thoughtfully (semantic boundaries, not arbitrary token counts)
  • Include source attribution in every retrieved result
  • Test retrieval quality independently of generation quality
  • Version your knowledge base — know what the model has access to

DON'T:

  • Build RAG without testing retrieval quality first
  • Use fixed chunk sizes for all document types
  • Skip source attribution (hallucination without attribution is undetectable)
  • Index everything without curation (garbage in = garbage out)
  • Assume embedding similarity equals relevance

→ *Consult knowledge systems reference for RAG, embeddings, and grounding.*


7. Guardrails & Safety

DO:

  • Validate inputs before processing (schema validation, size limits)
  • Filter outputs for sensitive content, PII, and policy violations
  • Set hard cost ceilings (max tokens, max API calls, max spend per run)
  • Implement circuit breakers for cascading failures
  • Log everything for audit trails

DON'T:

  • Deploy without input validation (prompt injection is real)
  • Trust model output without verification for high-stakes decisions
  • Run without cost controls (one runaway loop can cost thousands)
  • Skip rate limiting on external API calls
  • Assume the model will follow safety instructions 100% of the time

→ *Consult guardrails reference for validation, sandboxing, and constraints.*


The Workflow Slop Test

If any of these are true, the workflow needs work:

  • Prompts are unstructured walls of text → run /refine
  • No output schema defined — model decides the format → run /refine
  • Context window used without budget — everything stuffed in → run /accelerate
  • More than 10 tools exposed to a single agent → run /streamline
  • No error handling — happy path only → run /fortify
  • No evaluation — "it seems to work" → run /iterate
  • Multi-agent system for a single-agent problem → run /temper
  • No cost controls — unbounded token usage → run /guard
  • Tools have vague one-line descriptions → run /calibrate
  • No logging — can't debug production issues → run /fortify

Zero checked = production-ready. 3+ checked = workflow slop.


Available Commands

Use these commands to apply specific aspects of workflow mastery:

{{available_commands}}

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.72%
按下载量换算297

Claude

29.87%
按下载量换算255

Cursor

18.95%
按下载量换算162

Gemini CLI

8.39%
按下载量换算72

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills