huashu-agent-swarm_skill

This skill enables a git-swarm workflow where multiple autonomous agents collaboratively develop by pulling tasks, coding, and pushing in parallel.
  • Python

49

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill alchaincyf/huashu-skills --skill huashu-agent-swarm

  • SKILL.md3.6 KB

Overview

This skill runs a multi-agent swarm for parallel project development using pure git self-organization. It launches multiple independent agents that claim tasks, work in isolated git worktrees, push changes, and continuously loop until stopped. The setup is lightweight, tmux-driven, and designed for large codebases where concurrent work and autonomous tasking speed up delivery.

How this skill works

I initialize a repository scaffold (agent prompt, task list, task locks, logs) and spawn N agents, each in its own git worktree and tmux pane. Each agent repeatedly pulls, claims an unlocked task via lock files, edits code/tests, commits and pushes, then sleeps before the next loop. A dashboard and CLI tools provide live telemetry, per-agent logs, manual inputs, and coordinated shutdown/merge routines.

When to use it

  • You want parallel autonomous development across many small tasks
  • Project is in a git repo and can be partitioned into independent subtasks
  • You need continuous background contribution from many agents (e.g., writing tests, refactors)
  • You want reproducible, self-organizing multi-agent workflows without a central master
  • You need observable, controllable long-running agent loops for large feature sets

Best practices

  • Prepare a clear AGENT_PROMPT with coding standards, test commands, and merge rules
  • Start with a moderate agent count (default 8) and increase based on CPU, API quotas, and repo size
  • Keep tasks small and well-scoped to reduce merge conflicts and wasted cycles
  • Use the dashboard to monitor logs and stop the swarm if unproductive loops appear
  • Tune sleep interval and session limits to manage API rate limits and costs

Example use cases

  • Large project refactor where many files can be improved independently (linting, types, small API changes)
  • Bulk test generation and repair across a codebase by autonomous agents
  • Creating content pipelines: generate outlines, draft files, and collect assets in parallel
  • Prototype a feature set by splitting features into discrete tickets and letting agents iterate autonomously
  • Continuous improvement: agents detect TODOs and incrementally implement or document them

FAQ

Agents use lock files in current_tasks to claim tasks and git worktrees to isolate changes; they pull frequently and resolve conflicts via prompts in the agent prompt.

Can I control or send commands to agents while running?

Yes. The dashboard and send_input script write HUMAN_INPUT for agents to pick up; you can also attach to the tmux session to interact directly.

What are the main resource risks?

API rate limits, cost from model usage, and disk growth from worktrees. Mitigate by lowering agent count, increasing sleep intervals, and using stop/cleanup scripts.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational