/worker-integration
Worker-Agent integration for intelligent task dispatch and performance tracking
$ npx -y skills add ruvnet/ruflo --skill worker-integration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/worker-integration
Context preview
The summary Claude sees to decide when to auto-load this skill.
Worker-Agent integration for intelligent task dispatch and performance tracking
SKILL.md
worker-integration.SKILL.mdname: worker-integration
description: Worker-Agent integration for intelligent task dispatch and performance tracking
user-invocable: true
Worker-Agent Integration Skill
Intelligent coordination between background workers and specialized agents.
Quick Start
# View agent recommendations for a trigger
npx agentic-flow workers agents ultralearn
npx agentic-flow workers agents optimize
# View performance metrics
npx agentic-flow workers metrics
# View integration stats
npx agentic-flow workers stats --integration
Agent Mappings
Workers automatically dispatch to optimal agents based on trigger type:
| Trigger | Primary Agents | Fallback | Pipeline Phases | |---------|---------------|----------|-----------------| | `ultralearn` | researcher, coder | planner | discovery → patterns → vectorization → summary | | `optimize` | performance-analyzer, coder | researcher | static-analysis → performance → patterns | | `audit` | security-analyst, tester | reviewer | security → secrets → vulnerability-scan | | `benchmark` | performance-analyzer | coder, tester | performance → metrics → report | | `testgaps` | tester | coder | discovery → coverage → gaps | | `document` | documenter, researcher | coder | api-discovery → patterns → indexing | | `deepdive` | researcher, security-analyst | coder | call-graph → deps → trace | | `refactor` | coder, reviewer | researcher | complexity → smells → patterns |
Performance-Based Selection
The system learns from execution history to improve agent selection:
// Agent selection considers:
// 1. Quality score (0-1)
// 2. Success rate
// 3. Average latency
// 4. Execution count
const { agent, confidence, reasoning } = selectBestAgent('optimize');
// agent: "performance-analyzer"
// confidence: 0.87
// reasoning: "Selected based on 45 executions with 94.2% success"Memory Key Patterns
Workers store results using consistent patterns:
{trigger}/{topic}/{phase}
Examples:
- ultralearn/auth-module/analysis
- optimize/database/performance
- audit/payment/vulnerabilities
- benchmark/api/metricsBenchmark Thresholds
Agents are monitored against performance thresholds:
{
"researcher": {
"p95_latency": "<500ms",
"memory_mb": "<256MB"
},
"coder": {
"p95_latency": "<300ms",
"quality_score": ">0.85"
},
"security-analyst": {
"scan_coverage": ">95%",
"p95_latency": "<1000ms"
}
}Feedback Loop
Workers provide feedback for continuous improvement:
import { workerAgentIntegration } from 'agentic-flow/workers/worker-agent-integration';
// Record execution feedback
workerAgentIntegration.recordFeedback(
'optimize', // trigger
'coder', // agent
true, // success
245, // latency ms
0.92 // quality score
);
// Check compliance
const { compliant, violations } = workerAgentIntegration.checkBenchmarkCompliance('coder');Integration Statistics
$ npx agentic-flow workers stats --integration
Worker-Agent Integration Stats
══════════════════════════════
Total Agents: 6
Tracked Agents: 4
Total Feedback: 156
Avg Quality Score: 0.89
Model Cache Stats
─────────────────
Hits: 1,234
Misses: 45
Hit Rate: 96.5%
Configuration
Enable integration features in `.claude/settings.json`:
{
"workers": {
"enabled": true,
"parallel": true,
"memoryDepositEnabled": true,
"agentMappings": {
"ultralearn": ["researcher", "coder"],
"optimize": ["performance-analyzer", "coder"]
}
}
}Read more
name: worker-integration description: Worker-Agent integration for intelligent task dispatch and performance tracking user-invocable: true
Worker-Agent Integration Skill
Intelligent coordination between background workers and specialized agents.
Quick Start
# View agent recommendations for a trigger npx agentic-flow workers agents ultralearn npx agentic-flow workers agents optimize # View performance metrics npx agentic-flow workers metrics # View integration stats npx agentic-flow workers stats --integration
Agent Mappings
Workers automatically dispatch to optimal agents based on trigger type:
| Trigger | Primary Agents | Fallback | Pipeline Phases | |---------|---------------|----------|-----------------| | `ultralearn` | researcher, coder | planner | discovery → patterns → vectorization → summary | | `optimize` | performance-analyzer, coder | researcher | static-analysis → performance → patterns | | `audit` | security-analyst, tester | reviewer | security → secrets → vulnerability-scan | | `benchmark` | performance-analyzer | coder, tester | performance → metrics → report | | `testgaps` | tester | coder | discovery → coverage → gaps | | `document` | documenter, researcher | coder | api-discovery → patterns → indexing | | `deepdive` | researcher, security-analyst | coder | call-graph → deps → trace | | `refactor` | coder, reviewer | researcher | complexity → smells → patterns |
Performance-Based Selection
The system learns from execution history to improve agent selection:
// Agent selection considers:
// 1. Quality score (0-1)
// 2. Success rate
// 3. Average latency
// 4. Execution count
const { agent, confidence, reasoning } = selectBestAgent('optimize');
// agent: "performance-analyzer"
// confidence: 0.87
// reasoning: "Selected based on 45 executions with 94.2% success"Memory Key Patterns
Workers store results using consistent patterns:
{trigger}/{topic}/{phase}
Examples:
- ultralearn/auth-module/analysis
- optimize/database/performance
- audit/payment/vulnerabilities
- benchmark/api/metricsBenchmark Thresholds
Agents are monitored against performance thresholds:
{
"researcher": {
"p95_latency": "<500ms",
"memory_mb": "<256MB"
},
"coder": {
"p95_latency": "<300ms",
"quality_score": ">0.85"
},
"security-analyst": {
"scan_coverage": ">95%",
"p95_latency": "<1000ms"
}
}Feedback Loop
Workers provide feedback for continuous improvement:
import { workerAgentIntegration } from 'agentic-flow/workers/worker-agent-integration';
// Record execution feedback
workerAgentIntegration.recordFeedback(
'optimize', // trigger
'coder', // agent
true, // success
245, // latency ms
0.92 // quality score
);
// Check compliance
const { compliant, violations } = workerAgentIntegration.checkBenchmarkCompliance('coder');Integration Statistics
$ npx agentic-flow workers stats --integration Worker-Agent Integration Stats ══════════════════════════════ Total Agents: 6 Tracked Agents: 4 Total Feedback: 156 Avg Quality Score: 0.89 Model Cache Stats ───────────────── Hits: 1,234 Misses: 45 Hit Rate: 96.5%
Configuration
Enable integration features in `.claude/settings.json`:
{
"workers": {
"enabled": true,
"parallel": true,
"memoryDepositEnabled": true,
"agentMappings": {
"ultralearn": ["researcher", "coder"],
"optimize": ["performance-analyzer", "coder"]
}
}
}An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.
Repo: ruvnet/ruflo
Other skills on claude-flow.
- /agentdb-advanced
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.
Open skill - /agentdb-learning
Create and train AI learning plugins with AgentDB's 9 reinforcement learning algorithms. Includes Decision Transformer, Q-Learning, SARSA, Actor-Critic, and more. Use when building self-learning agents, implementing RL, or optimizing agent behavior through experience.
Open skill - /agentdb-memory-patterns
Implement persistent memory patterns for AI agents using AgentDB. Includes session memory, long-term storage, pattern learning, and context management. Use when building stateful agents, chat systems, or intelligent assistants.
Open skill - /agentdb-optimization
Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.
Open skill - /agentdb-vector-search
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.
Open skill - /agentic-jujutsu
Quantum-resistant, self-learning version control for AI agents with ReasoningBank intelligence and multi-agent coordination
Open skill

