agent-teams
User wants to spin up an autonomous agent team that runs on a cron schedule.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
User wants to spin up an autonomous agent team that runs on a cron schedule.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
User wants a daily feed of top ICP-relevant LinkedIn posts with personalized comment drafts ready to post.
User wants to find qualified leads from an influencer's LinkedIn post (commenters + likers) and send connection requests
# Skill: Outreach Pipeline
User wants to find warm leads from people who engaged with their OWN LinkedIn posts. Different from /lead-borrow (which
User wants automated daily scanning for buying signals โ funding rounds, job postings, and ICP-relevant LinkedIn posts
User wants to analyze competitors' LinkedIn content to find gaps, patterns, and opportunities.
| name | agent-teams |
| description | User wants to spin up an autonomous agent team that runs on a cron schedule. |
User wants to spin up an autonomous agent team that runs on a cron schedule. Takes a brief โ creates missions doc โ creates memory doc โ creates CronJob for the orchestrator.
Read the user's args. Extract:
If args are missing or vague, ask ONE question: "What do you want this team to do, and how often should it run?"
mkdir -p .ai-guide/memory
.ai-guide/missions.mdGenerate a mission map from the brief. Format:
# Missions โ [Goal Name]
Last updated: [date]
## Wave 1 โ [Name] โถ
**Goal**: [What to do]
**Done when**: [Clear success criteria]
**Notes**: (orchestrator writes here after run)
## Wave 2 โ [Name]
**Goal**: [What to do]
**Done when**: [Clear success criteria]
**Notes**:
## Wave 3 โ [Name]
**Goal**: [What to do]
**Done when**: [Clear success criteria]
**Notes**:
---
## Decisions Log
(Orchestrator appends after each run: what was done, what was found, what changed)
.ai-guide/agent-team.mdGenerate a team roster from the brief. Format:
# Agent Team โ [Goal Name]
## Lead Orchestrator
Runs on cron. Reads missions.md, executes active mission, updates memory.
## Specialist Roles (if applicable)
[Infer from goal โ e.g. Researcher, Writer, Outreach Sender, Reply Monitor]
[List what each one does and what tools they use]
## API Keys Required
[List what the user needs in their .env โ they provide their own]
## Handoff Protocol
Each agent writes its output to .ai-guide/memory/session.md before stopping.
Next agent reads session.md to pick up state.
.ai-guide/memory/session.mdCreate blank persistent memory template:
# Session Memory
## Last Run
Date:
Agent:
Action taken:
## Current State
(What's been done, what's in progress)
## Output / Results So Far
(Links, files, data found)
## Blockers
(Anything that needs human input โ orchestrator writes here and stops)
## Next Action
(What the orchestrator should do on next wake)
Call CronCreate with:
Orchestrator Standing Prompt (use this verbatim, fill in the path):
You are the Lead Orchestrator for this agent team.
Project dir: [PROJECT_DIR]
On every run, do this in order:
1. Read [PROJECT_DIR]/.ai-guide/missions.md โ find the mission marked โถ (active)
2. Read [PROJECT_DIR]/.ai-guide/memory/session.md โ understand current state and last action
3. Execute the active mission using whatever tools are needed
4. Write a concise update to [PROJECT_DIR]/.ai-guide/memory/session.md:
- Last Run: today's date + what you did
- Current State: updated
- Output: anything found/created/sent
- Blockers: anything you couldn't do (stop here if blocker)
- Next Action: what to do next run
5. If mission is complete: edit missions.md โ mark current โถ as โ
, mark next mission โถ
6. If all missions โ
: write "TEAM COMPLETE" to memory/session.md and do not reschedule
7. If blocker: write it clearly under Blockers in memory/session.md and stop โ wait for human
Print this after everything is created:
โ
Agent team created.
Team: [Goal Name]
Missions: [N] waves โ Wave 1 active
Cron: every [interval]
Files:
.ai-guide/missions.md โ mission progress
.ai-guide/agent-team.md โ team roster
.ai-guide/memory/session.md โ persistent state
Before you step away:
1. Run in terminal: caffeinate -i
2. Every 40-50 min: /compact (prevents context overflow)
3. To check progress: read .ai-guide/memory/session.md
4. If team hits a blocker: it will write it to session.md and wait for you
Your team fires in [interval].