Перейти к содержанию
Skillpedia
Агенты7.8k · #13023

task-verification-checkpoints

Что он делает

Этот скилл дает ИИ-агенту три проверки перед завершением задачи. Он нужен тем, кто хочет, чтобы результат соответствовал запросу по формату, файлам и цели.

Когда использовать

  • ✓Когда задача требует определенного формата файла, например PDF, PPTX или DOCX.
  • ✓Когда предоставлено несколько исходных файлов, и каждый из них нужно использовать.
  • ✓Когда есть риск, что агент отошел от исходной задачи в ходе работы.

Ссылка на скилл

https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/task-verification-checkpoints/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/task-verification-checkpoints/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Перед тем как закончить, проверь, что результат является PDF, что ты использовал все три прикрепленных файла и что он по-прежнему отвечает на мой исходный вопрос.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент перечитывает задачу в поисках требований к формату и проверяет расширение и тип каждого выходного файла. Он составляет список исходных файлов, подтверждает, что каждый обработан, и сравнивает итоговый результат с исходной целью.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Task Verification Checkpoints

Before declaring a task as <COMPLETE>, perform these verification checks to ensure the deliverable matches requirements and prevents wrong-task completion.

Overview

This skill prevents common failures where agents:

  • Create outputs in wrong formats (PDF vs PPTX vs DOCX)
  • Skip processing some reference files
  • Drift from the actual task requirements

Three Critical Checkpoints

Checkpoint 1: Output Format Verification

Question: Does the output file format match task requirements?

Actions:

  1. Re-read the task prompt for explicit format requirements
  2. Check file extensions of all output files
  3. Verify the actual file type matches the extension
  4. Confirm against any format specifications (e.g., "revised PDF report")

Example validation:

def verify_output_format(task_prompt, output_files):
    """Check if output format matches task requirements."""
    required_format = extract_format_requirement(task_prompt)  # e.g., 'pdf', 'pptx'
    
    for f in output_files:
        actual_ext = f.split('.')[-1].lower()
        if actual_ext != required_format:
            return False, f"Expected .{required_format}, got .{actual_ext}"
    
    return True, "Format verified"

Checkpoint 2: Reference File Coverage

Question: Were ALL reference/input files processed?

Actions:

  1. List all files mentioned in the task as inputs
  2. Confirm each was read/analyzed/used (check file access logs)
  3. Document which content from each file contributed to output
  4. Flag any unprocessed reference files

Example validation:

def verify_reference_coverage(task_files, accessed_files):
    """Ensure all reference files were actually processed."""
    missing = set(task_files) - set(accessed_files)
    if missing:
        return False, f"Unprocessed files: {missing}"
    return True, "All references processed"

Checkpoint 3: Task Alignment Verification

Question: Does the deliverable address the ACTUAL task prompt?

Actions:

  1. Re-read the original task description verbatim
  2. Compare output purpose against stated task goal
  3. Check for scope creep or task drift
  4. Verify the output solves the stated problem (not a different one)

Example validation:

def verify_task_alignment(task_prompt, output_description):
    """Confirm output addresses the actual task."""
    task_verbs = extract_action_verbs(task_prompt)  # e.g., 'review', 'revise', 'create'
    output_verbs = extract_action_verbs(output_description)
    
    if not set(task_verbs).issubset(set(output_verbs)):
        return False, "Output actions don't match task requirements"
    
    return True, "Task alignment verified"

Pre-Completion Checklist

Execute this checklist before marking ANY task complete:

def pre_completion_verification(task_prompt, output_files, reference_files):
    """
    Complete verification before declaring task done.
    Returns (success, message) tuple.
    """
    checks = []
    
    # Check 1: Format
    format_ok, format_msg = verify_output_format(task_prompt, output_files)
    checks.append(('Format', format_ok, format_msg))
    
    # Check 2: Coverage
    coverage_ok, coverage_msg = verify_reference_coverage(reference_files, get_accessed_files())
    checks.append(('Coverage', coverage_ok, coverage_msg))
    
    # Check 3: Alignment
    alignment_ok, alignment_msg = verify_task_alignment(task_prompt, get_output_summary())
    checks.append(('Alignment', alignment_ok, alignment_msg))
    
    # Report results
    all_passed = all(ok for _, ok, _ in checks)
    
    if not all_passed:
        print("❌ VERIFICATION FAILED - Do not mark complete")
        for name, ok, msg in checks:
            status = "✓" if ok else "✗"
            print(f"  {status} {name}: {msg}")
        return False, "Verification failed"
    
    print("✓ All verification checkpoints passed")
    return True, "Ready for completion"

When to Apply

Use this skill whenever:

  • Creating deliverables from input/reference files
  • Task specifies output format requirements
  • Multiple files must be processed/analyzed
  • Task involves transformation, revision, or synthesis
  • Always before any <COMPLETE> declaration

Common Failure Modes to Catch

Failure Type Example Prevention
Format mismatch Created PPTX when PDF requested Checkpoint 1
Incomplete coverage Skipped Photographs.zi
Частые вопросы

Что такое проверка формата?

Она сравнивает тип файла каждого результата с форматом, который требовала задача.

Как проверяются исходные файлы?

Агент перечисляет все файлы, упомянутые в задаче, и подтверждает, что каждый обработан.

Что это за третья контрольная точка?

Она проверяет, что работа по-прежнему соответствует исходной задаче и не ушла в сторону.

Подробности

Оригинальное описание автора

Verify output format, file coverage, and task alignment before completing

repo: HKUDS/AgentPilot

Популярность

Звёзды на GitHub
7.8k
Место в рейтинге
#13023
Лицензия
MIT
Обновлён
01.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы