yesmem-agents
Skill42 starsChanged 8 months agoApache-2.0View on GitHub
Use when orchestrating multi-agent work, spawning parallel agents, coordinating swarm tasks, or managing agent communication. Trigger on "/schwarm", parallel work requests, or any inter-agent coordination need.
In this repository9 other files it gives its agents.
- redditSkill
- risk-based-code-reviewSkill
- security-reviewSkill
- subagent-driven-developmentSkill
- yesloopSkill
- yesmem-cap-builderSkill
- yesmem-configSkill
- yesmem-rememberSkill
- yesresearchSkill
The file
Files
Agent Orchestration
Spawn, manage, and communicate with parallel agents via Claude Code or opencode.
Workflow
spawn_agent(project, section)— create agent for a task sectionlist_agents(project)— see all agents and their statusrelay_agent(to, content)— inject message into running agentstop_agent(to)— gracefully stop an agent
spawn_agent Parameters
| Parameter | Purpose | Default |
project | Project name | required |
section | Task section name | required |
model | Model override (sonnet, opus, haiku, deepseek-chat, deepseek-v4-pro) | inherited |
max_turns | Turn limit (0=unlimited) | 0 |
token_budget | Max tokens (0=config default) | 0 |
caller_session | Parent session for callbacks | optional |
backend | "claude", "codex", or "opencode" | "claude" |
Backend choice:
| Backend | Binary | Models | Notes |
claude | claude | sonnet, opus, haiku | Anthropic only. Proxy-integrated prompt cache. Full MCP access. |
codex | codex | deepseek-chat, deepseek-v4-pro, GPT models | OpenAI-compatible endpoint. Uses opencode.json provider config. |
opencode | opencode | deepseek-chat, deepseek-v4-pro, GPT models | Same as codex but uses opencode binary name. |
Gotchas:
backend: "claude"+model: "deepseek-v4-pro"→ silent failure (0 turns, no output). The claude binary has no DeepSeek endpoint. Always pair DeepSeek models withbackend: "codex"orbackend: "opencode".- Resume is only supported for
backend: "claude".
Communication
| Action | Tool |
| Send to specific agent | relay_agent(to, content) |
| Send to specific session | send_to(target, content) |
| Broadcast to all sessions | broadcast(content, project) |
| Check agent status | get_agent(to) |
| Resume stopped agent | resume_agent(to) |
| Stop all agents | stop_all_agents(project) |
CRITICAL: relay_agent / send_to content MUST end with \n — without trailing newline the prompt stays in the tmux input line and is never submitted. The agent appears unresponsive despite receiving multiple pushes. Always: relay_agent(to, "instruction text\n").
Tips
toaccepts agent ID or section namemsg_type: "command" (expects reply), "status" (no reply), "ack" (confirmation)- Agents run in their own terminal — use
list_agentsto monitor scratchpad_write/readfor shared state between agents
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

