本文へスキップ
Skillpedia
エージェント81k · #1541

worker-integration

できること

このスキルは、バックグラウンドのワーカーがどのようにタスクを専門のエージェントに渡し、その結果がどう追跡されるかを説明します。バックグラウンドのワーカーを動かし、どのエージェントがどの仕事を担当するかを知りたい人のためのものです。

使う場面

  • ✓バックグラウンドのタスクに推奨されるエージェントを見たいとき。
  • ✓ワーカーとエージェントの組み合わせの性能の指標がほしいとき。
  • ✓タスクが専門家にどう振り分けられるかを理解したいとき。

スキルのリンク

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/worker-integration/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/.agents/skills/worker-integration/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“optimizeのトリガーを担当するエージェントと、これまでの性能を見せてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、トリガーの対応表を調べ、記録された指標を確認し、主なエージェント、予備のエージェント、パイプラインの段階を表示します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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$metrics

Benchmark 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"]
    }
  }
}
よくある質問

トリガーとは何ですか?

optimizeやauditなど、バックグラウンドのワーカーのタスクを始めるキーワードや出来事です。

システムはどのエージェントが最適かを学びますか?

スキルは、システムが実行の履歴を使ってエージェントの選択を改善すると述べています。

指標はどこで見られますか?

スキルには、指標と統合の統計を表示するコマンドがあります。

詳細

作者による元の説明

Worker-Agent integration for intelligent task dispatch and performance tracking

repo: ruvnet/ruflo

人気

GitHubのスター
81k
ランキング
#1541
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル