OpenParable
Skip to content
← Back to skills

Glm5 Parallel

Agent Building
glm5-parallel

Glm5 Parallel is an Agent Skill for agent building published in the alfredolopez80/multi-agent-ralph-loop repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Model-agnostic parallel execution with Agent Teams coordination

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/alfredolopez80/multi-agent-ralph-loop/blob/HEAD/.claude/skills/glm5-parallel/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/glm5-parallel, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

GLM-5 Parallel Skill

Model-agnostic parallel execution with Agent Teams coordination for comprehensive task execution.

Note: Despite the name, this skill is model-agnostic as of v2.88.0. It works with any model configured in Agent Teams.

Usage

/glm5-parallel <task> [--roles coder,reviewer,tester]

Example

/glm5-parallel "Implement OAuth2 authentication" --roles coder,reviewer,tester

This spawns 3 teammates:

  1. coder - Implements OAuth2
  2. reviewer - Reviews the implementation
  3. tester - Generates tests

Execution Pattern

# Generate task ID
TASK_ID="parallel-$(date +%s)"

# Parse roles
ROLES="coder,reviewer,tester"

# Spawn in parallel
for ROLE in $(echo $ROLES | tr ',' ' '); do
    .claude/scripts/glm5-teammate.sh "$ROLE" "<task>" "${TASK_ID}-${ROLE}" &
done

# Wait for all
wait

# Aggregate results
for ROLE in $(echo $ROLES | tr ',' ' '); do
    echo "=== $ROLE ==="
    cat .ralph/teammates/${TASK_ID}-${ROLE}/status.json | jq '.output_summary'
done

Default Roles

If no --roles specified:

  • coder - Implementation
  • reviewer - Code review
  • tester - Test generation

Output

Creates parallel status files:

  • .ralph/teammates/{task_id}-coder/status.json
  • .ralph/teammates/{task_id}-reviewer/status.json
  • .ralph/teammates/{task_id}-tester/status.json

Aggregated in .ralph/team-status.json

Agent Teams Integration (v2.88)

Optimal Scenario: Pure Agent Teams (Native)

This skill uses Pure Agent Teams with native coordination - no custom subagent specialization needed.

Why Scenario A for This Skill

  • Parallel execution is a core Agent Teams capability
  • Standard Task tool supports native parallel execution
  • No specialized subagent configuration required
  • Native agent types provide all needed tools (Read, Edit, Write, Bash)
  • Lower complexity, faster setup

Configuration

  1. TeamCreate: Recommended for parallel execution coordination
  2. Task: Use native agent types with parallel execution
  3. Hooks: TeammateIdle + TaskCompleted for quality gates
  4. Simple: Leverage built-in Agent Teams parallelism

Workflow Pattern

TeamCreate
  → Task(prompt, subagent_type) for each parallel workstream
  → Native agents execute in parallel
  → Aggregate results
  → Complete

Parallel Execution Pattern

// Create team for coordination
TeamCreate(team_name="parallel-{timestamp}", description="Parallel execution for: {task}")

// Spawn native agents in parallel
const workstreams = [
  { task: "Implement feature X", files: ["src/a.ts"] },
  { task: "Implement feature Y", files: ["src/b.ts"] },
  { task: "Write tests", files: ["tests/*.test.ts"] }
];

workstreams.forEach(work => {
  Task(
    subagent_type="coder",  // Native agent type
    team_name="parallel-{timestamp}",
    input=work
  );
});

When This Is Sufficient

  • Parallel code execution across files
  • Standard implementation tasks
  • No specialized tool restrictions needed
  • Leverage native Agent Teams parallelism

Action Reporting (v2.93.0)

Esta skill genera reportes automáticos completos para trazabilidad:

Reporte Automático

Cuando esta skill completa, se genera automáticamente:

  1. En la conversación de Claude: Resultados visibles
  2. En el repositorio: docs/actions/glm5-parallel/{timestamp}.md
  3. Metadatos JSON: .claude/metadata/actions/glm5-parallel/{timestamp}.json

Contenido del Reporte

Cada reporte incluye:

  • ✅ Summary: Descripción de la tarea ejecutada
  • ✅ Execution Details: Duración, iteraciones, archivos modificados
  • ✅ Results: Errores encontrados, recomendaciones
  • ✅ Next Steps: Próximas acciones sugeridas

Ver Reportes Anteriores

# Listar todos los reportes de esta skill
ls -lt docs/actions/glm5-parallel/

# Ver el reporte más reciente
cat $(ls -t docs/actions/glm5-parallel/*.md | head -1)

# Buscar reportes fallidos
grep -l "Status: FAILED" docs/actions/glm5-parallel/*.md

Generación Manual (Opcional)

source .claude/lib/action-report-lib.sh
start_action_report "glm5-parallel" "Task description"
# ... ejecución ...
complete_action_report "success" "Summary" "Recommendations"

Referencias del Sistema