task-coordination

Coordinate shared task directories using `.processing` marker file locks.

5.3k|652|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/alibaba/hiclaw --skill task-coordination
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: task-coordination
Source: https://github.com/alibaba/hiclaw/tree/main/manager/agent/skills/task-coordination
Command: npx skills add https://github.com/alibaba/hiclaw --skill task-coordination

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill prevents data corruption and race conditions by ensuring only one process (Manager or Worker) modifies a shared task workspace at a time.

Core Features & Use Cases

  • Locking Mechanism: Uses .processing marker files to signal active work on a task directory.
  • Conflict Prevention: Automatically checks for and respects these markers before allowing modifications.
  • Use Case: When a Manager needs to perform Git operations on a Worker's workspace, this Skill ensures the Worker doesn't simultaneously try to update the same files, preventing merge conflicts and data loss.

Quick Start

Use the task-coordination skill to check if the task with ID 'task-123' is currently being processed.

Frequently Asked Questions about task-coordination

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent workspace conflicts during concurrent agent modifications?

To prevent workspace conflicts during concurrent agent modifications, implement a locking mechanism using `.processing` marker files to signal active work and ensure only one process modifies a shared task workspace at a time.

What is a .processing marker file and how does it work for file synchronization?

A `.processing` marker file is an atomic lock used for file synchronization. It signals that a task directory is actively being modified, automatically preventing other agents from initiating concurrent changes to the same workspace.

How do I lock a task directory before performing Git delegation operations?

Lock a task directory before Git delegation by creating a `.processing` marker file. This ensures the Worker agent does not simultaneously update files, preventing merge conflicts and data loss during the operation.

When do I need to implement workspace locking for agent collaboration?

You need to implement workspace locking for agent collaboration when a Manager and Worker share a task workspace. It is required immediately before any concurrent modifications to prevent race conditions and data corruption.

Does workspace locking automatically expire if an agent stops responding?

Workspace locking supports timestamped expiration to handle unresponsive agents. If an agent stops responding, the timestamped marker file ensures the lock does not permanently block shared task directory access.