optimize-skill

Analyze Datus skill usage logs to identify optimization opportunities.

1.5k|222|Updated Jul 4, 2025
One-click install
npx skills add https://github.com/Datus-ai/Datus-agent --skill optimize-skill-datus-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimize-skill
Source: https://github.com/Datus-ai/Datus-agent/tree/main/datus/resources/skills/optimize-skill
Command: npx skills add https://github.com/Datus-ai/Datus-agent --skill optimize-skill-datus-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the hassle of manually tuning underperforming Datus skills that fail to trigger correctly, have ambiguous instructions, or don't align with how agents actually use them in real workflows.

Core Features & Use Cases

  • Usage-Based Analysis: Reviews real session logs and tool call records to identify exactly where a skill is failing or being ignored by agents.
  • Targeted Optimization: Generates specific, actionable improvements for skill descriptions, instructions, and bundled resources to boost triggering accuracy and agent performance.
  • Use Case: If your team's custom Datus skill for generating SQL queries only triggers 30% of the time for common user requests, use this Skill to analyze usage gaps, update the skill's description with relevant trigger phrases, and refine instructions to match real agent behavior.

Quick Start

Use the optimize-skill tool to analyze and improve the performance of your existing Datus skill named 'sql-query-skill'.

Frequently Asked Questions about optimize-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I improve skill triggering accuracy for agents that ignore my instructions?

You can optimize underperforming skills by analyzing real usage session logs and tool call records to identify performance gaps, then refining descriptions and instructions to boost triggering accuracy and agent performance.

What is the best way to optimize Datus skills that fail to trigger correctly?

The best way to optimize Datus skills is by reviewing real session logs and agent action history to find where a skill fails, then applying data-driven updates to descriptions, instructions, and bundled helper resources.

Can I use usage logs to update skill descriptions with relevant trigger phrases?

Yes, you can analyze tool call transcripts and real session data to identify usage gaps, then update skill descriptions with relevant trigger phrases to generate targeted optimization recommendations.

Do I need access to agent action history to perform skill optimization?

Yes, skill optimization requires access to agent action history, skill usage logs, and tool call transcripts to generate data-driven recommendations for instruction refinement and triggering accuracy.

Why does my custom SQL query skill only trigger 30% of the time for common requests?

Your custom SQL query skill likely has ambiguous instructions or description gaps; analyzing usage logs and agent action history identifies these trigger failures to apply targeted instruction refinement.

What are the limitations of manual skill tuning without real usage data?

Manual skill tuning without real usage data fails to align with how agents actually use skills in workflows, missing performance gaps and trigger optimization opportunities that session logs reveal.