Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

create-inspect-task

БесплатноБез исполняемых скриптовНе проверен

Create custom inspect-ai evaluation tasks through interacted, guided workflow.

niznik-devот niznik-dev★ 15 звёзд на GitHub19 установок в других каталогах

Об этом скилле

Create Inspect Task

You help users create custom inspect-ai evaluation tasks through an interactive, guided workflow. Create well-documented, reusable evaluation scripts that follow inspect-ai best practices.

Your Task

Guide the user through designing and implementing a custom inspect-ai evaluation task. Create a complete, runnable task file and comprehensive documentation that explains the design decisions and usage.

Operating Modes

This skill supports two modes:

Mode 1: Experiment-Guided (Recommended)

When an experiment_summary.yaml file exists (created by design-experiment skill), extract configuration to pre-populate:

  • Dataset path and format
  • Model information
  • Evaluation objectives
  • System prompts
  • Common parameters

Usage: Run skill from experiment directory or provide path to experiment_summary.yaml

Mode 2: Standalone

Create evaluation tasks from scratch without experiment context. User provides all configuration manually.

Usage: Run skill when no experiment exists or when creating general-purpose evaluation tasks

Workflow

Initial Setup (Both Modes)

  1. Check for experiment context
    • Look for experiment_summary.yaml in current directory
    • If found, ask user: "I found an experiment summary. Would you like me to use it to configure the evaluation task?"
    • If user says yes, proceed with Mode 1
    • If no or not found, proceed with Mode 2

Mode 1: Experiment-Guided Workflow

  1. Read experiment_summary.yaml - Extract configuration
  2. Confirm extracted info - Show user what was found (dataset, models, etc.)
  3. Understand evaluation objective - What specific aspect to evaluate?
  4. Configure task-specific details - Solver chain, scorers (guided by experiment context)
  5. Add task parameters - Make the task flexible and reusable
  6. Generate code - Create the complete task file with experiment integration
  7. Create documentation - Write design documentation with experiment context
  8. Create log - Document all decisions in logs/create-inspect-task.log
  9. Provide usage guidance - Show user how to run the task with their models

Mode 2: Standalone Workflow

  1. Understand the objective - What does the user want to evaluate?
  2. Configure dataset - Guide dataset format selection and loading
  3. Design solver chain - Build the solver pipeline (prompts, generation, etc.)
  4. Select scorers - Choose appropriate scoring mechanisms
  5. Add task parameters - Make the task flexible and reusable
  6. Generate code - Create the complete task file
  7. Create documentation - Write design documentation with rationale
  8. Create log - Document all decisions in logs/create-inspect-task.log
  9. Provide usage guidance - Show user how to run the task

Extracting Information from experiment_summary.yaml (Mode 1)

When operating in experiment-guided mode, extract the following information from the YAML structure:

YAML Structure Overview

experiment:
  name: string
  project: string
  question: string

data:
  training:
    path: string
    dataset_label: string
    format: string
    splits:
      train: int
      validation: int
      test: int

models:
  base:
    - name: string
      path: string

evaluation:
  system_prompt: string
  temperature: float

runs:
  - name: string
    type: string  # "fine-tuned" or "control"
    model: string

Extraction Algorithm

import yaml
from pathlib import Path

def extract_from_experiment_summary(path):
    """Extract configuration from experiment_summary.yaml"""
    with open(path, 'r') as f:
        config = yaml.safe_load(f)

    # Extract dataset configuration
    dataset_path = config['data']['training']['path']
    dataset_format = config['data']['training']['format']
    dataset_splits = config['data']['training']['splits']

    # Extract system prompt from evaluation section
    system_prompt = config['evaluation']['system_prompt']

    # Extract research question
    research_question = config['experiment']['question']
    project = config['experiment']['project']

    # Extract model information (first base model)
    base_models = config['models']['base']
    model_name = base_models[0]['name'] if base_models else None
    model_path = base_models[0]['path'] if base_models else None

    # Extract run names for documentation examples
    run_names = [run['name'] for run in config['runs']]
    control_runs = [run['name'] for run in config['runs'] if run['type'] == 'control']

    return {
        'dataset_path': dataset_path,
        'dataset_format': dataset_format,
        'dataset_splits': dataset_splits,
        'system_prompt': system_prompt,
        'research_question': research_question,
        'project': project,
        'model_name': model_name,
        'model_path': model_path,
        'run_names': run_names,
        'control_runs': control_runs
    }

Key Fields to Extract

**From `experiment

Полный SKILL.md на GitHub

Установить create-inspect-task в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл create-inspect-task?

Create custom inspect-ai evaluation tasks through interacted, guided workflow.

Как установить скилл create-inspect-task?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл create-inspect-task запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить create-inspect-task с