Glm5
Agent Buildingglm5Glm5 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.
GLM-5 Agent Teams skill for spawning teammates with thinking mode
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/glm5, 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 Agent Teams Skill
Spawn GLM-5 powered teammates with native thinking mode.
Quick Usage
# Spawn single teammate
/glm5 coder "Implement auth"
# Spawn for review
/glm5 reviewer "Review this code"
# Spawn for testing
/glm5 tester "Generate tests"
Integration with Other Commands
This skill integrates with:
/orchestrator- GLM-5 as teammate option/parallel- GLM-5 for parallel review/iterate- GLM-5 for iterative tasks
Agent Types
| Type | Role | Best For |
|---|---|---|
coder | Implementation | Features, refactoring, bugs |
reviewer | Code Review | Security, quality, patterns |
tester | Test Generation | Unit tests, coverage |
planner | Architecture | Design, planning |
researcher | Documentation | Docs, exploration |
Execution
When this skill is invoked:
- Parse Arguments: Extract role and task from
$ARGUMENTS - Generate Task ID:
task-{timestamp} - Call GLM-5 API: With thinking mode enabled
- Capture Output: Reasoning + result
- Fire Hooks: SubagentStop (native Claude Code hook)
Bash Commands
Spawn Teammate
.claude/scripts/glm5-teammate.sh <role> "<task>" "<task_id>"
Check Status
cat .ralph/team-status.json
View Logs
tail -f .ralph/logs/teammates.log
Output Files
| File | Content |
|---|---|
.ralph/teammates/{id}/status.json | Task status & metadata |
.ralph/reasoning/{id}.txt | GLM-5 reasoning |
.ralph/logs/teammates.log | Activity log |
Example Session
User: /glm5 coder "Implement factorial in TypeScript"
[GLM-5 thinking...]
Reasoning: The user wants a TypeScript factorial function...
Output: function factorial(n: number): number { ... }
✅ Task completed
📁 Status: .ralph/teammates/task-123/status.json
🧠 Reasoning: .ralph/reasoning/task-123.txt