askill
hugin-guide

hugin-guideSafety 90Repository

Comprehensive guide for creating Hugin AI agents. Use when building agents, working with configs, tasks, templates, or tools.

0 stars
1.2k downloads
Updated 2/7/2026

Package Files

Loading files...
SKILL.md

Hugin Agent Creation Guide

This skill helps you create Hugin AI agents. It provides an overview and directs you to detailed reference documentation.

How to Use This Skill

  1. Quick Start: Follow the minimal agent example below
  2. Detailed Info: Read the appropriate reference file for schemas and examples
  3. Scaffolding: Use /hugin-agent-creator:hugin-scaffold to generate starter files

Reference Files (Read These for Details)

When the user needs detailed information about a specific topic, read the appropriate reference file from this plugin directory:

TopicReference FileWhen to Read
Config filesreferences/config-reference.mdUser asks about config options, models, tools
Task filesreferences/task-reference.mdUser asks about tasks, parameters, prompts, pipelines
System templatesreferences/template-reference.mdUser asks about system prompts, agent personality
Custom toolsreferences/tool-reference.mdUser wants to create tools, use ToolResponse/AgentCall/AskHuman
Agent patternsreferences/patterns.mdUser needs architecture guidance, pattern examples

Important: These reference files contain detailed schemas, field descriptions, and complete examples. Read them when answering specific questions.

Starter Templates

When the user wants to create files, read and adapt the starter templates from this plugin:

TemplateFileUse For
Configtemplates/minimal-config.yamlCreating agent configs
Tasktemplates/minimal-task.yamlCreating task definitions
System templatetemplates/minimal-template.yamlCreating system prompts
Tool definitiontemplates/tool-definition.yamlCreating tool YAML
Tool implementationtemplates/tool-implementation.pyCreating tool Python code

Quick Start: Minimal Agent (3 Files)

A working agent needs just 3 files:

my_agent/
├── configs/my_agent.yaml      # Agent configuration
├── tasks/my_task.yaml         # Task definition
└── templates/my_system.yaml   # System prompt template

Run Command

uv run hugin run --task my_task --task-path ./my_agent

Core Concepts (Overview)

Config

Defines an agent's identity: model, system template, available tools.

  • Read references/config-reference.md for full schema

Task

Defines what an agent should do: prompt, parameters, optional pipeline.

  • Read references/task-reference.md for full schema

Template

System prompt that sets agent behavior and personality.

  • Read references/template-reference.md for examples

Tool

Extends agent capabilities with Python code.

  • Read references/tool-reference.md for implementation guide

Built-in Tools

Reference with builtins.<tool>:<alias>:

ToolDescription
builtins.finish:finishComplete task with success/failure
builtins.ask_user:ask_userAsk user a question (requires interactive: true)
builtins.save_insight:save_insightSave findings as artifacts
builtins.launch_agent:launch_agentSpawn sub-agents
builtins.list_agents:list_agentsList available agents
builtins.read_file:read_fileRead file contents (safe, read-only)
builtins.list_files:list_filesList directory contents with glob patterns
builtins.search_files:search_filesSearch files for patterns (grep-like)

Decision Tree: Which Pattern?

Do you need custom tools?
├── No → Minimal pattern
└── Yes → Tool pattern
    └── Does the tool spawn another agent?
        ├── No → Simple tool
        └── Yes → AgentCall pattern

Do you need human input during execution?
├── No → Set interactive: false
└── Yes → AskHuman pattern (interactive: true)

Do you need multiple processing stages?
├── No → Single task
└── Yes → Task sequence pattern (task_sequence + pass_result_as)

Do you need multiple agents running together?
└── Yes → Multi-agent pattern (shared state via env_vars)

For detailed pattern examples, read references/patterns.md

Common Patterns (Summary)

  1. Minimal Agent - Config + task + template, built-in tools only
  2. Tool Agent - Custom tools for specific capabilities
  3. Pipeline Agent - Multi-stage processing with result passing
  4. Human-in-the-Loop - Requires human approval during execution
  5. Agent Delegation - Spawns specialized sub-agents
  6. Multi-Agent - Multiple agents sharing state

Workflow for Helping Users

  1. Understand what they want to build - Ask clarifying questions if needed
  2. Recommend a pattern - Use the decision tree above
  3. Read the relevant reference - Get detailed schema information
  4. Read the starter template - Use as base for their files
  5. Customize for their use case - Replace placeholders, add their logic
  6. Provide the run command - Show how to test the agent

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

95/100Analyzed 2/12/2026

An exceptionally well-structured guide for creating Hugin AI agents, providing clear entry points, reference links, and architectural guidance through a decision tree.

90
100
85
98
95

Metadata

Licenseunknown
Version-
Updated2/7/2026
Publishergimlelabs

Tags

ci-cdgithub-actionspromptingtesting