How to Choose AI Agent Skills: From Practical Workflows to Evaluation and Governance

    This article explains how to select, build, evaluate, and govern AI agent skills. It covers what makes a skill worth adopting, five practical skill categories, layered context loading, evaluation methods, release controls, and runtime monitoring, helping teams turn agent capabilities into reliable task outcomes.

    1. What Makes an Agent Skill Worth Recommending

    As agent skills continue to grow in number, developers often fall into two traps: treating the number of skills as a measure of capability, and treating a single successful demo as proof of long-term reliability.

    A skill worth adopting should solve a clear problem: it should help an agent complete a specific task with fewer trial-and-error cycles, clearer boundaries, and more stable output.

    In this context, a “skill” can be understood as a reusable task knowledge package. It usually includes applicable conditions, execution steps, tool usage rules, output requirements, and, when necessary, scripts and reference materials. It is not the same as a single tool, nor is it simply a collection of prompts stitched together.

    For example, a data query tool executes queries, while a data query skill tells the agent how to understand metric definitions, confirm time ranges, choose data sources, limit query cost, and explain results. The former provides execution capability; the latter organizes how execution should happen.

    When recommending skills, four dimensions should be considered first:

    • Task value: Does it cover high-frequency, time-consuming, or error-prone work?
    • Workflow determinism: Are there operational rules that can be clearly described?
    • Result verifiability: Can correctness be judged through data, tests, or manual review?
    • Risk controllability: Can incorrect execution be prevented in advance or reversed promptly?

    High-frequency tasks with clear rules are usually good candidates for the first pilot. For low-frequency, high-risk tasks whose results are difficult to verify, skills are better suited for assisting analysis rather than directly driving automated execution.

    2. Five Practical Skill Categories to Prioritize

    2.1 Data Query and Metric Interpretation

    This type of skill is suitable for questions about business metrics, trends, and system runtime data. Its value is not only generating query statements, but also reducing misunderstandings about metric definitions and ineffective exploration.

    A complete query skill should include the following steps:

    1. Confirm the metric the user actually cares about, as well as the time range and statistical granularity.
    2. Check existing data documentation and verify field meanings and metric definitions.
    3. Determine relationships between tables or fields to avoid duplicate counting or missing filters.
    4. Execute the query within allowed permissions and control scan size.
    5. Check for null values, anomalies, and result size.
    6. Output conclusions while explaining data sources, statistical conditions, and limitations.

    If a user asks, “Why has revenue declined recently?”, the skill should not directly pick a revenue field and provide a cause. It should first clarify the business definition of revenue, the comparison period, and whether data ingestion is still incomplete.

    Security design should also be part of the workflow: use read-only permissions by default, add checks for high-cost queries, and avoid writing sensitive details directly into the answer. Causal judgments without sufficient data support should be clearly marked as hypotheses to be verified.

    2.2 Code Change and Review Preparation

    Code collaboration skills are suitable for preparing change descriptions, organizing tests, checking changes, and producing review materials. The core is not generating more code, but making the submission process more complete and easier to review.

    The workflow can be divided into four stages: understand the change — inspect the implementation — verify impact — prepare the description. The skill can guide the agent to identify affected modules, check interface compatibility, confirm test coverage, and summarize possible release risks.

    The output should not be limited to “change completed.” It should also include:

    • The purpose and scope of the change.
    • Verification already performed and its results.
    • Checks not yet performed and the reasons.
    • Potential risks and rollback methods.
    • Parts that reviewers should focus on.

    It is important to distinguish between “tests have already been run” and “tests are recommended.” If the environment does not support verification, the agent should clearly state the limitation and must not present expected results as confirmed facts.

    For operations such as merging, releasing, or deleting resources, separate authorization or manual confirmation should be required. Skill text itself cannot replace permission controls in the execution system.

    2.3 Incident Analysis and Troubleshooting Records

    Incident analysis skills are suitable for organizing scattered logs, metrics, and change information into a traceable troubleshooting process.

    An effective skill should require the agent to first describe the incident symptoms, then build a timeline, and then propose hypotheses based on evidence. Each hypothesis should include supporting evidence, counter-evidence, and the next verification action, rather than directly presenting a seemingly certain root cause.

    A consistent record structure can be used:

    • Symptoms: Which functions are affected, and whether the impact is still expanding.
    • Timeline: The sequence of anomalies, releases, configuration changes, and other events.
    • Hypotheses: Which causes can explain the current evidence.
    • Verification: What to check next and how to determine whether a hypothesis holds.
    • Conclusion: Confirmed facts and what remains unknown.

    Troubleshooting skills should default to read-only diagnosis. Actions such as restarting, scaling, rolling back, or modifying configurations should require additional permission checks, impact assessment, and audit records.

    2.4 Weekly Reports and Business Analysis Documents

    Reporting skills are suitable for turning information from multiple sources into documents with a consistent structure. Their most important capability is preserving the correspondence between sources and conclusions.

    The skill should specify which content is factual, which is inferential, and which is an action recommendation. For key numbers, the statistical period and source should be recorded. For cross-period comparisons, it should check whether definitions are consistent.

    If data is missing, the missing items should be marked rather than filled in just to make the document look complete. If a metric only appears to change at the same time as another metric, the report should not directly state a causal relationship.

    Report quality can be evaluated from four aspects: completeness, numerical accuracy, source traceability, and actionability of recommendations. Fluent language is only a basic condition and cannot replace factual correctness.

    2.5 Knowledge Retrieval and Issue Routing

    Knowledge retrieval skills are suitable for internal policies, operational procedures, and support questions. They should help the agent determine which materials are valid, which are outdated, and when human handling is required.

    A recommended workflow is: identify the issue — find supporting material — check validity — organize the answer — escalate if necessary. For conflicting materials, the agent should first check publication time, applicable scope, and maintenance responsibility rather than simply concatenating content.

    Permission boundaries are especially important: being able to retrieve a document does not mean all of its content can be shown to every user. Both the retrieval layer and the output layer need to consider access control and sensitive information handling.

    3. Use a Layered Structure to Avoid Skill Context Crowding

    As the number of skills increases, loading all instructions into the model context at once can increase processing overhead and may cause instructions to interfere with each other.

    A more reasonable approach is on-demand loading:

    Layer 1: Discovery information.
    Provide only the skill name, a short description, applicable scenarios, and key limitations so the system can decide whether to enable the skill.

    Layer 2: Execution instructions.
    After a skill is selected, load task steps, input requirements, output formats, and validation rules.

    Layer 3: Supporting resources.
    Only when execution reaches a specific step should scripts, templates, field descriptions, or detailed reference materials be read.

    An example directory organization is as follows:

    1. skill-directory/
    2. metadata
    3. execution-instructions
    4. scripts/
    5. references/
    6. output-templates/
    7. evaluation-cases/

    This is not a mandatory standard, but an organizational approach that is easier to maintain. The key is to separate “how to discover a skill” from “how to execute a task.”

    Skill descriptions should also clearly state non-applicable cases. For example, a data query skill should state whether it supports write operations, and a troubleshooting skill should state whether it can perform recovery actions. Clear exclusion conditions can reduce the risk of incorrect triggering.

    4. Skill Effectiveness Cannot Be Judged by Invocation Count Alone

    Invocation count can show how many times a skill was used, but it cannot alone prove that it improved task outcomes. Invocation growth may come from more users, default enablement, or entry-point changes. It may also mean the agent repeatedly attempted a task without completing it.

    A data query comparison case from the source material used a persuasive design: two groups of agents received the same real requests, and reviewers who did not know the group assignment compared the answers. The group using the skill won in 87% of comparisons; the group without the skill made 13% more tool calls, had six times as many tool errors, and took 31% longer.

    These numbers reflect results under a specific task and experimental setup. They cannot be directly generalized to all skills. What is truly worth borrowing is the controlled evaluation method.

    4.1 Build a Representative Task Set

    Evaluation tasks should cover normal requests, ambiguous requests, missing information, insufficient permissions, tool failures, and boundary conditions. Testing only the smoothest path will overestimate skill quality.

    When real business data is involved, proper anonymization and access control are required. The task set should also retain some samples that were not used during skill authoring to avoid maintainers repeatedly optimizing for known cases.

    4.2 Control Experimental Variables

    The two groups, with and without the skill, should use the same model version, tool permissions, data environment, and execution budget as much as possible. Otherwise, it is difficult to determine whether the difference comes from the skill or from other conditions.

    For tasks with high variance in execution results, multiple runs can be performed, and the distribution should be reported rather than selecting only the best run.

    4.3 Measure Quality, Efficiency, and Risk Together

    Common metrics can include:

    • Whether the task was completed and whether completion criteria were met.
    • Whether the answer was correct and whether key conclusions were supported.
    • Number of tool calls, tool errors, and ineffective retries.
    • Execution latency and resource consumption.
    • Whether unauthorized access, sensitive information leakage, or dangerous operations occurred.
    • Whether uncertainty was expressed accurately.

    It is not advisable to pursue fewer tool calls alone. Removing necessary verification steps may make answers faster but less reliable. Evaluation should prioritize correctness and safety before comparing efficiency.

    4.4 Combine Automated Checks with Human Review

    Rule-based checks are suitable for format completeness, test results, and permission violations. Judging whether analysis is sufficient or explanations are clear may require human review.

    Model-assisted review can expand coverage, but it should not be the sole basis. Important tasks should use human sampling to calibrate scoring standards and pay attention to reviewer consistency.

    5. Establish a Release Mechanism from Trial to Default Enablement

    The more widely a skill is used, the larger the impact of its errors. Therefore, release requirements should increase with usage scope.

    Skills can be divided into three levels:

    • Experimental skills: Limited to specific users and scenarios, focusing on validating task value.
    • Domain skills: Maintained by business or technical teams, with clear ownership and evaluation baselines.
    • General skills: Covering more users and requiring stricter compatibility, security, and regression checks.

    Default enablement should be the result of validation, not a promotion method. Before a skill enters a broader usage level, it should be confirmed that it does not conflict with existing skills, can handle common exceptions, and has a clear rollback plan.

    Maintenance records should include at least the owner, reason for change, version information, applicable scope, and evaluation results. The release process should support review, staged rollout, and rollback, and should not rely on manually copying files to maintain consistency.

    Installation and invocation methods may differ across agent environments, so workflow content and environment adaptation can be maintained separately. However, this separation does not imply full compatibility: tool permissions, script execution methods, and resource locations still need to be verified item by item.

    6. Continuously Identify Failing Skills Through Runtime Observation

    Models, tool interfaces, data structures, and business processes all change. A skill that once worked may gradually become redundant or start producing errors.

    Runtime records should help maintainers answer: which version was triggered, which step execution reached, why it failed, whether the user accepted the result, and whether human intervention was required. Records should follow the principle of minimal necessity and avoid directly storing full sensitive content.

    The following signals deserve priority review:

    • Failure rates for similar tasks continue to rise.
    • Tool errors or retries increase significantly.
    • Users frequently modify results generated by the skill.
    • The skill is triggered but often does not match the actual need.
    • Skill benefits decline significantly under a new model version.

    In such cases, simply adding more instructions is not the right response. Removing the skill, replacing a local step, or simplifying instructions can be used in controlled experiments to identify which parts are truly effective and which have become obsolete.

    When the base model can already complete certain steps stably, removing redundant constraints may also be a reasonable optimization. Skill maintenance includes not only adding capabilities, but also merging duplicate workflows, correcting applicable boundaries, and retiring low-value content.

    7. Start with One High-Value Task

    For teams just beginning to build a skill system, it is recommended to first choose a high-frequency task with clear boundaries and easy acceptance criteria, such as read-only metric queries, change description preparation, or fixed-format report generation.

    First collect real requests and common failure cases, then turn mature operating methods into a minimal workflow. Verify the benefit through controlled tests with and without the skill, then release it to a small scope and continue observing.

    A “great” skill is not necessarily complex. It may solve only one very specific problem, but it can be triggered stably, executed correctly, supported by evidence, and exit safely on failure. Rather than collecting many unverified skills, it is better to build a small number of workflows that are evaluable, traceable, and maintainable, so that improvements in agent capability truly translate into better task outcomes.