Command Palette

Search for a command to run...

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

agenthero-ai

БесплатноЗапускает вложенные скриптыНе проверен

AgentHero AI - Hierarchical multi-agent orchestration system with PM coordination, file-based state management, and interactive menu interface. Use when…

Interstellar-codeот Interstellar-code★ 18 звёзд на GitHub

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

AgentHero AI Skill (V2.0)

Comprehensive orchestration utilities for managing hierarchical multi-agent systems with PM coordination, state management, and topic-based organization.

Overview

This skill provides Python-based utilities for:

  • State Management: Create, read, update state files for orchestration (V2.0)
  • Topic Lifecycle: Initialize, resume, archive project topics
  • Task Coordination: Manage sub-agent tasks and dependencies
  • Token Tracking: Monitor and report token usage across agents
  • SessionStart Hook: Display active topics on Claude Code startup

When Claude Should Use This Skill

Auto-activate when:

  • PM orchestrator needs to manage state files
  • Creating or updating topic metadata
  • Initializing sub-agent task states
  • Archiving completed topics
  • Reading orchestration state for resume

Directory Structure (V2.0)

.claude/
├── agents/
│   ├── agenthero-ai/                    # PM agent
│   │   ├── agent.md
│   │   └── orchestrated-sub-agent-template.md
│   └── state/                            # Runtime state
│       └── agenthero-ai/                # V2.0 namespace
│           ├── topics.json               # ✅ Single source of truth
│           ├── topics/                   # Topic directories
│           │   └── {topic-slug}/
│           │       ├── task-{id}-{name}.json
│           │       └── messages.json
│           └── archive/                  # Completed topics
│
└── skills/
    └── agenthero-ai/
        ├── skill.md                      # This file
        ├── scripts/                      # Python utilities (V2.0)
        │   ├── topic_manager.py          # Topic lifecycle
        │   ├── state_manager.py          # State CRUD operations
        │   ├── utils.py                  # Shared utilities
        │   ├── setup_project_structure.py # Directory setup
        │   ├── finalize_topic.py         # Topic completion
        │   ├── check_topics_file.py      # Validation
        │   └── get_topics_quiet.sh       # SessionStart hook
        └── templates/
            └── state-templates.json      # State file schemas

Python Utilities (V2.0)

1. Topic Manager (scripts/topic_manager.py)

Purpose: Manage topic lifecycle (V2.0 - uses topics.json)

Commands:

  • create_topic <title> - Initialize new topic in topics.json
  • list_active_topics - List non-completed topics
  • list_completed_topics - List completed topics
  • get_topic_status <slug> - Get topic progress and metrics
  • touch_topic <slug> - Update last active time
  • update_topic_progress <slug> - Recalculate progress from tasks
  • archive_topic <slug> - Move topic to archive directory
  • resume_topic <slug> - Update last active and return status
  • get_active_topics_summary - Get summary for SessionStart hook
  • complete_topic <slug> - Mark as completed and archive
  • delete_topic <slug> - Delete topic (use with caution)

Usage Examples:

# Create new topic (V2.0)
python .claude/skills/agenthero-ai/scripts/topic_manager.py \
  create_topic \
  "Add JWT authentication" \
  --description "Implement JWT-based auth with tokens and middleware"

# List active topics
python .claude/skills/agenthero-ai/scripts/topic_manager.py \
  list_active_topics

# Get topic status (reads from topics.json)
python .claude/skills/agenthero-ai/scripts/topic_manager.py \
  get_topic_status \
  "auth-system-jwt"

# Archive completed topic
python .claude/skills/agenthero-ai/scripts/topic_manager.py \
  archive_topic \
  "auth-system-jwt"

# Get active topics summary (SessionStart hook)
python .claude/skills/agenthero-ai/scripts/topic_manager.py \
  get_active_topics_summary

2. State Manager (scripts/state_manager.py)

Purpose: CRUD operations for state files (V2.0)

Commands:

  • create_state_file <path> <template> - Initialize state file from template
  • read_state <path> <field> - Read specific field from state
  • update_state <path> <field> <value> - Update state field
  • append_log <path> <level> <message> - Append log entry
  • set_task_status <path> <status> - Update task status
  • track_file_change <path> <file> <change_type> - Track file change
  • update_progress <path> <progress> - Update progress (0-100)
  • validate_state <path> - Validate JSON structure
  • set_blocking_question <path> <question> - Set blocking question
  • answer_question <path> <answer> - Answer blocking question
  • set_task_result <path> <result> - Set task completion result

Usage Examples:

# Create new task state
python .claude/skills/agenthero-ai/scripts/state_manager.py \
  create_state_file \
  ".claude/agents/state/agenthero-ai/topics/auth-system/task-001-backend.json" \
  "task-state"

# Append log entry
python .claude/skills/agenthero-ai/scripts/state_manager.py \
  append_log \
  ".claude/agents/state/agenthero-ai/topics/auth-system/task-001-backend.json" \
  "info" \
  "Starting database schema design"

# Read current status
python .claude/skill
Полный SKILL.md на GitHub

Установить agenthero-ai в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

INTERACTIVE-MENU-WORKFLOW.mdscripts/audit_viewer.pyscripts/cache.pyscripts/check_topics_file.pyscripts/dry_run.pyscripts/event_bus.pyscripts/finalize_topic.pyscripts/get_topics_quiet.batscripts/get_topics_quiet.shscripts/hooks.pyscripts/migrate_settings.pyscripts/migrate_to_v2.pyscripts/monitor-dashboard.pyscripts/monitor-dashboard.shscripts/multi_topic_dashboard.pyscripts/parallel_executor.pyscripts/performance.pyscripts/setup_project_structure.pyscripts/state_manager.pyscripts/sync_topics_to_dashboard.pyscripts/test_e2e.pyscripts/test_integration.pyscripts/test_workflow.pyscripts/todowrite_integration.pyscripts/topic_manager.pyscripts/utils.pyscripts/workflow_manager.pytemplates/state-templates.json

FAQ

Что делает скилл agenthero-ai?

AgentHero AI - Hierarchical multi-agent orchestration system with PM coordination, file-based state management, and interactive menu interface. Use when managing complex multi-agent workflows, coordinating parallel sub-agents, or organizing large project tasks with multiple specialists. All created agents use aghero- prefix.

Как установить скилл agenthero-ai?

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

Скилл agenthero-ai запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить agenthero-ai с