Cursor Agent Orchestrator
Chain multiple Cursor agent operations and batch-process files. Enable complex multi-step agent workflows with dependency management.
Orchestrate multi-step agent workflows in Cursor IDE. Chain operations, batch-process files, manage task dependencies, and implement error recovery with retry logic.
Capabilities
Use cases
Try it
Example prompts to use with this skill
Chain operations to refactor code and add tests
const workflow = {
name: 'refactor-and-test',
operations: [
{
id: 'refactor',
description: 'Refactor to modern patterns',
files: ['src/**/*.ts'],
prompt: 'Refactor to use async/await and TypeScript best practices'
},
{
id: 'add-tests',
description: 'Add unit tests',
files: ['src/**/*.ts'],
prompt: 'Add comprehensive unit tests using Jest',
dependsOn: ['refactor']
}
]
}
await orchestrator.run(workflow)
The test operation waits for refactoring to finish before running.Batch process multiple files with error handling
const batchOperation = {
id: 'add-logging',
description: 'Add error logging',
files: [
'src/routes/users.ts',
'src/routes/posts.ts',
'src/routes/auth.ts'
],
prompt: 'Add comprehensive error logging',
retries: 2,
timeout: 300000 // 5 minutes
}
await orchestrator.runOperation(batchOperation)
The operation processes all files with automatic retry on failure.Add to your AI assistant
Choose your AI assistant and run the command in your terminal
curl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/cursor-agent-orchestrator.md -o ~/.cursor/skills/cursor-agent-orchestrator.mdCopycurl -fsSL https://raw.githubusercontent.com/n3wth/newth-skills/main/skills/cursor-agent-orchestrator.md -o ~/.claude/skills/cursor-agent-orchestrator.mdCopyDiscussions
Sign in with GitHub to join the discussion.
Loading...
Related skills
Cursor ↔ Git Workflow
Integrate Cursor AI editor with Git workflows. Generate branch-specific contexts, create PR-based rules, validate with Git hooks, and auto-stash changes.
Cursor ↔ Linear Bridge
Create Cursor workspaces from Linear issues with bidirectional sync. Connect issue tracking with development context.