OpenCode plugin for async background delegation with context persistence. Operations teams can run research tasks while continuing other work. Integrates with Claude Code agents, supports TypeScript.
git clone https://github.com/kdcokenny/opencode-background-agents.gitOpenCode plugin for async background delegation with context persistence. Operations teams can run research tasks while continuing other work. Integrates with Claude Code agents, supports TypeScript.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/kdcokenny/opencode-background-agentsCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create an OpenCode background agent to research [TOPIC] for our [INDUSTRY] business. The agent should gather information on [SPECIFIC ASPECTS] and compile findings into a structured report. Set the agent to run asynchronously and persist context across sessions. Provide the TypeScript code needed to implement this agent.
I've created an OpenCode background agent to research emerging trends in sustainable packaging for the consumer goods industry. The agent will focus on materials innovation, regulatory developments, and consumer preferences. Here's the TypeScript implementation:
```typescript
const agent = new OpenCodeAgent({
name: 'SustainablePackagingResearch',
context: {
industry: 'consumer goods',
focusAreas: ['materials', 'regulations', 'consumer trends'],
lastUpdated: null
},
tasks: [
{
name: 'gatherMaterialsData',
description: 'Research innovative sustainable packaging materials'
},
{
name: 'trackRegulatoryChanges',
description: 'Monitor global regulations affecting packaging'
},
{
name: 'analyzeConsumerPreferences',
description: 'Identify shifting consumer attitudes toward sustainability'
},
{
name: 'compileReport',
description: 'Generate a structured report of findings'
}
]
});
agent.on('update', (data) => {
console.log('Agent progress:', data);
agent.context.lastUpdated = new Date();
});
agent.run();
```
The agent will run in the background, persisting its context across sessions. You can check its progress through the console updates. The final report will be structured with sections for each focus area, including key findings, data sources, and actionable insights for your business.AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Enterprise workflow automation and service management platform
Customer feedback management made simple
Complete help desk solution for growing teams
The AI automation platform built for everyone