Skillpedia
الوكلاء48k · #3666

agent-orchestration-improve-agent

ما الذي تفعله

تساعد هذه المهارة على تحسين أداء مساعدي الذكاء الاصطناعي الموجودين. تحلل طريقة عملهم، وتعدّل التعليمات التي يتلقونها، وتُجري تحسينات مستمرة.

متى تستخدمها

  • ✓عندما لا يستجيب مساعد الذكاء الاصطناعي بشكل جيد.
  • ✓لتحليل سبب وقوع المساعد في خطأ.
  • ✓لاختبار نسخ مختلفة من تعليمات مساعد الذكاء الاصطناعي.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-improve-agent/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-improve-agent/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“حسّن طريقة رد مساعد المبيعات على الأسئلة المتعلقة بمنتجاتنا.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تجمع المهارة بيانات عن أداء المساعد، وتحدد المشكلات، وتطبّق تحسينات على التعليمات. ثم تختبر التغييرات للتأكد من أن كل شيء صار أفضل.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Agent Performance Optimization Workflow

Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.

[Extended thinking: Agent optimization requires a data-driven approach combining performance metrics, user feedback analysis, and advanced prompt engineering techniques. Success depends on systematic evaluation, targeted improvements, and rigorous testing with rollback capabilities for production safety.]

Use this skill when

  • Improving an existing agent's performance or reliability
  • Analyzing failure modes, prompt quality, or tool usage
  • Running structured A/B tests or evaluation suites
  • Designing iterative optimization workflows for agents

Do not use this skill when

  • You are building a brand-new agent from scratch
  • There are no metrics, feedback, or test cases available
  • The task is unrelated to agent performance or prompt quality

Instructions

  1. Establish baseline metrics and collect representative examples.
  2. Identify failure modes and prioritize high-impact fixes.
  3. Apply prompt and workflow improvements with measurable goals.
  4. Validate with tests and roll out changes in controlled stages.

Execution boundaries

Do not run hosted evaluations, delegate, message teams, configure recurring reports or deploy merely because a phase names them. Follow the user's existing authorization and actual host workflow. Keep traces private/redacted, cap cost and steps, isolate candidate changes, and require supported exact-version checks. parallel-test-runner and named agent roles are not bundled; use a real harness or report the gap.

Safety

  • Avoid deploying prompt changes without regression testing.
  • Roll back quickly if quality or safety metrics regress.

Phase 1: Performance Analysis and Baseline Metrics

Analyze supplied traces and available metrics. Named roles below are optional roles, not installed executables or permission to delegate.

1.1 Gather Performance Data

Use: context-manager
Task: analyze the authorized trace window using actual available tools
No analyze-agent-performance command is bundled.

Collect metrics including:

  • Task completion rate (successful vs failed tasks)
  • Response accuracy and factual correctness
  • Tool usage efficiency (correct tools, call frequency)
  • Average response time and token consumption
  • User satisfaction indicators (corrections, retries)
  • Hallucination incidents and error patterns

1.2 User Feedback Pattern Analysis

Identify recurring patterns in user interactions:

  • Correction patterns: Where users consistently modify outputs
  • Clarification requests: Common areas of ambiguity
  • Task abandonment: Points where users give up
  • Follow-up questions: Indicators of incomplete responses
  • Positive feedback: Successful patterns to preserve

1.3 Failure Mode Classification

Categorize failures by root cause:

  • Instruction misunderstanding: Role or task confusion
  • Output format errors: Structure or formatting issues
  • Context loss: Long conversation degradation
  • Tool misuse: Incorrect or inefficient tool selection
  • Constraint violations: Safety or business rule breaches
  • Edge case handling: Unusual input scenarios

1.4 Baseline Performance Report

Generate quantitative baseline metrics:

Performance Baseline:
- Task Success Rate: [X%]
- Average Corrections per Task: [Y]
- Tool Call Efficiency: [Z%]
- User Satisfaction Score: [1-10]
- Average Response Latency: [Xms]
- Token Efficiency Ratio: [X:Y]

Phase 2: Prompt Engineering Improvements

Apply advanced prompt optimization techniques using prompt-engineer agent.

2.1 Chain-of-Thought Enhancement

Implement structured reasoning patterns:

Use: prompt-engineer
Technique: chain-of-thought-optimization
  • Add explicit reasoning steps: "Let's approach this step-by-step..."
  • Include self-verification checkpoints: "Before proceeding, verify that..."
  • Implement recursive decomposition for complex tasks
  • Collect concise decision explanations and observable tool traces, not hidden chain-of-thought

2.2 Few-Shot Example Optimization

Curate high-quality examples from successful interactions:

  • Select diverse examples covering common use cases
  • Include edge cases that previously failed
  • Show both positive and negative examples with explanations
  • Order examples from simple to complex

…

الأسئلة الشائعة

ما هي «مقاييس الأساس»؟

هي الأرقام التي تُظهر الأداء الحالي للمساعد قبل أي تحسين. مثلًا، كم مرة يُصيب أو يخطئ في الإجابة.

ما هي «هندسة الأوامر»؟

هي فن كتابة تعليمات الذكاء الاصطناعي بوضوح وفعالية، حتى يفهم ما المطلوب منه ويُنتج أفضل النتائج.

ما هي «اختبارات الانحدار»؟

هي اختبارات تضمن أنه عند إجراء تحسين ما، لا يتوقف عن العمل شيء كان يعمل بشكل جيد من قبل.

التفاصيل

الوصف الأصلي من المؤلف

Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#3666
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة