How to Choose Skills for an AI Agent: Evaluation Metrics and a Practical Guide

    Choosing skills for an AI agent is less about adding more capabilities and more about building a reliable task chain. This article explains why usage and success rankings cannot be compared at face value, how to break a task into requirements, and what to verify for browser automation and office documents before a skill is put into production.

    1. Start with the problem: agents need task capability, not more skills

    Installing skills on an agent looks like adding features. In practice, it is designing a reliable chain of task execution. More skills do not automatically make an agent stronger. Overlapping responsibilities, vague descriptions, or excessive permissions can increase wrong calls, execution cost, and security risk.

    A skill can be understood as a set of operating rules and callable capabilities an agent needs for a class of tasks. It may include task instructions, input and output constraints, scripts, document templates, and methods for interacting with external systems. Implementations do not define “skill” in exactly the same way. Before selecting one, confirm what it actually provides: guidance for the model, or real executable tools; a local environment, or a remote service; and whether it has a clear version, permissions, and runtime conditions.

    When people ask for a directory ranked by usage and success rate, separate two layers:

    • Discovering candidates: finding possible options through catalogs, documentation, or an internal skill library.
    • Validating fit: confirming, on your own tasks, data, and runtime environment, that the option actually works.

    A catalog can lower search cost. It cannot replace validation. There is no reliable way to decide, from a single popularity number, that a skill fits every agent.

    2. Break down the task before searching for skills

    Matching starts with defining the task, not with search.

    Take “collect industry updates every day and produce a briefing.” It has at least five stages:

    1. Reach the specified sources.
    2. Judge whether page content has loaded completely.
    3. Extract titles, body text, publish times, and source information.
    4. Deduplicate, filter, and summarize.
    5. Write a document and record the run result and failure reasons.

    Those stages do not have to live in one skill. Page access and extraction can be combined; summarization and document output can be split. For complex work, several capabilities with clear boundaries are often easier to test and maintain than one skill that claims to do everything.

    Write a requirement card for each task:

    Dimension Questions to settle
    Input Is it a web address, a file, a natural-language instruction, or structured data?
    Output Do you need text, a table, a modified file, or a system action result?
    Environment Does it depend on a signed-in session, a local application, network access, or specific runtime conditions?
    Acceptance What counts as success, and which errors are unacceptable?
    Risk Does it involve personal information, account permissions, or irreversible actions?
    Constraints Are there limits on time, cost, concurrency, or human review?

    “Clean up the report” is not an acceptance criterion. A usable one is: “Reorder the report under the specified heading levels, keep every table and comment, generate a table of contents, and write a new file that opens correctly without overwriting the original.”

    The more specific the requirement, the easier it is to move selection from subjective impression to objective checks.

    3. Browser automation: decide whether you really need to operate the page

    Browser-related capabilities fall roughly into three levels: reading content, interacting with the page, and reusing a session.

    3.1 Reading content: better for simple, stable retrieval

    If the page content is already present in the returned data, a lightweight read-and-parse capability is usually a better fit. It does not need a full browser, the execution chain is shorter, and batch processing is easier.

    That approach may miss information that appears only after interaction. A page may need scrolling to load more items, or a click to reveal details. Reading the initial payload is not the same as reading the full page.

    Check for “access succeeded but content is missing.” For collection tasks, silent errors of this kind are often more dangerous than an explicit failure, because incomplete data can still flow into aggregation and analysis.

    3.2 Page interaction: better for dynamic content and workflows

    When the task needs scrolling, clicking, switching page regions, uploading files, or filling forms, consider browser automation.

    A reliable interaction plan should not depend only on screen coordinates. Prefer page structure, element semantics, accessibility information, and explicit state checks. Screenshots can support evidence, but they do not by themselves prove that a business action succeeded.

    After clicking submit, continue to check:

    • whether a confirmation appeared;
    • whether the page entered the expected state;
    • whether validation errors appeared;
    • whether the corresponding record can be found in the result list.

    Natural language lowers the cost of describing an action. It is not inherently more accurate than explicit element targeting. Repeated critical flows usually need stable locators, state assertions, and human confirmation where it matters.

    3.3 Session reuse: convenience and permission risk rise together

    Some tasks need pages the user is already signed into. Reusing an authorized session reduces repeated sign-in, but it can also give the agent the access and actions available in that session.

    Prefer a separate, permission-limited session, and restrict which pages and actions are allowed. For high-risk actions such as publishing, deleting, paying, or changing permissions, add an extra approval step.

    Reusing a signed-in state does not mean a platform cannot detect automation, and it does not mean access controls can be bypassed. Automated actions can still trigger rate limits, verification, or account risk controls. Use must follow the applicable rules.

    3.4 Batch collection: completeness, increments, and traceability

    Collection is not only “can open the page.” It also includes whether pagination is complete, whether records are duplicated, whether publish times are accurate, and whether a failure can be recovered.

    Keep source identifiers, collection time, and necessary original evidence, and use incremental updates. Set reasonable limits on request frequency, and classify failed tasks instead of retrying everything the same way.

    Browser automation and data collection are not mutually exclusive categories. The same execution capability can be used for interaction or for collection. What matters is stability, resource cost, and maintenance cost on the target task.

    4. Office documents: read and write support is not delivery quality

    Document skills often cover portable documents, word-processing files, presentations, and spreadsheets. “Supports this format” is only the baseline.

    4.1 Portable documents: separate text extraction from image recognition

    Files with a text layer and scanned pages need different paths. The first focuses on reading order, paragraph structure, and table parsing. The second also needs text recognition, layout analysis, and checks on recognition results.

    If the task involves contract amounts, dates, or identifiers, success is not “text was recognized.” Check the format of critical fields, and send uncertain recognition to human review.

    After splitting, merging, or filling a form, also check that the output file is complete, page order is correct, and key content was not cropped or shifted.

    4.2 Word-processing documents: structure and edit boundaries

    Working with word-processing documents is not only replacing body text. It also involves heading styles, headers and footers, tables of contents, tables, comments, and revision history.

    If a skill cannot preserve those structures, state the limitation. Do not treat “a file was generated” as “the edit succeeded.” For important materials, default to saving a copy and providing a change list.

    “Move the third paragraph” also needs a definition of “third paragraph”: whether headings, empty paragraphs, or text inside tables count. Locating by section heading plus target text is usually more stable than relying on position alone.

    4.3 Presentations: verify content and visual layout separately

    Extracting slide text, restructuring content, and editing layout are different capabilities. Being able to read the text on each slide does not mean charts, animations, or master settings are preserved.

    Acceptance should at least cover content accuracy, slide order, text overflow, overlapping graphics, and overall readability. For materials that will be shown externally, rendered previews and human spot checks still matter.

    4.4 Spreadsheets: check calculation logic

    Spreadsheet work hides errors easily. Numbers may be stored as text, formula references may shift, dates may be interpreted inconsistently, or existing formulas may be replaced by fixed values.

    Verify together:

    • whether data types match expectations;
    • whether formula ranges are correct;
    • whether totals can be checked against sampled calculations;
    • whether hidden rows, columns, or filters change the result;
    • whether source data and calculation areas stay clearly separated.

    A file that opens only shows that the format is basically readable. It does not show that the business calculation is correct.

    4.5 Live local editing: confirm compatibility and concurrent behavior

    Editing a local file directly can reduce import and export steps. Whether the result appears immediately in an editor depends on the integration, file locks, and how the application refreshes.

    If a person and the agent edit the same file at the same time, one change can overwrite the other. Plan for version snapshots, a pre-edit check, conflict warnings, and rollback, rather than simply aiming for “changes are visible at once.”

    5. Why usage and success rates cannot be compared directly

    Rankings often share metric names while using different definitions.

    5.1 Usage needs a clear denominator

    Call count, active users, task coverage, and repeat-use rate describe different things.

    One skill may have many calls because it retries often. Another may be called less often but handle critical work. A high call volume does not mean higher efficiency, and it does not by itself mean higher quality.

    5.2 Success rate needs a clear definition of success

    At minimum, separate three outcomes:

    • Execution success: the operation finished without a program error.
    • Task success: the output meets predefined acceptance criteria.
    • Business success: the result was accepted and produced the intended business effect.

    A tool that returns normally but extracts the wrong table has finished execution. It has not succeeded at the task.

    Also state whether failed requests are counted, whether retries are allowed, whether human fixes are included, and whether task difficulty is comparable. Without that, two success-rate numbers usually cannot be compared.

    5.3 Small samples create false certainty

    Passing a few simple tasks does not prove a skill is stable. For critical scenarios, cover different input types, failure conditions, and edge cases, and record sample size and test time.

    Results also depend on the model, the skill version, and the runtime environment. A ranking that is not updated for a long time may not reflect current behavior.

    Ready-made directories or leaderboards are useful for finding candidates. They are not a production selection decision by themselves. Whether a unified, trustworthy, and comparable public ranking exists has to be checked against the specific source and evaluation method. A position on a page is not enough.

    6. A reproducible skill-selection process

    Step 1: Set hard gates first

    Drop candidates that miss basic requirements, for example:

    • they cannot run in the target environment;
    • their permission scope clearly exceeds the task;
    • they lack a required output format;
    • they cannot record the execution process;
    • important changes have no backup or recovery path.

    Security and compliance should not be traded away for popularity or speed.

    Step 2: Build a representative test set

    Include normal tasks, complex tasks, failure cases, and security-boundary cases.

    Browser tasks can cover dynamic loading, element changes, expired sessions, and duplicate-submit risk. Document tasks can cover scanned pages, tables that span pages, complex styles, formula references, and damaged files.

    Use desensitized test data where possible, and define an independent acceptance criterion for each case.

    Step 3: Record the full execution chain

    Do not keep only the final output. Also keep call steps, duration, retry count, error type, and human intervention. That is how you tell whether a problem came from task understanding, skill execution, an external system, or the acceptance rule.

    On repeated runs, watch side effects. A failed read can usually be retried. Before sending a message, submitting a form, or overwriting a file, confirm whether the previous action already took effect.

    Step 4: Compare across dimensions, not success rate alone

    Dimension What to focus on
    Task quality Whether explicit output requirements are met
    Stability Whether repeated runs produce consistent results
    Efficiency Time, resource use, and retry cost
    Security Least privilege, handling of sensitive data, and approval
    Maintainability Documentation, versions, dependencies, and fault isolation
    Recoverability Whether state can be kept, duplicate side effects avoided, and execution resumed

    Business priorities set the weights. An internal information digest may care more about coverage and cost. Contract editing should weight accuracy and traceability more heavily.

    Step 5: Roll out narrowly, then keep regressing

    Start with limited permissions and a limited task scope. After launch, keep watching task pass rate, human takeover rate, average retries, and exception types.

    When the skill, model, page structure, or document template changes, rerun the test set. Selecting skills is not a one-time install. It is ongoing maintenance.

    7. Make skills easier for the agent to call correctly

    Even a reliable capability can be misused if its description is unclear. For each skill, state:

    • tasks it fits and tasks it does not;
    • input conditions and output form;
    • required permissions and prerequisites;
    • whether it changes external state;
    • how failures are handled;
    • when human confirmation is required.

    “Handle web pages” is too broad. “Extract specified fields from an authorized page, and do not submit, delete, or publish” sets a stable boundary.

    When several skills are similar, reduce overlapping descriptions and define a default selection rule. The goal of a skill set is not the largest count. It is clear duties, smooth composition, and results that can be checked.

    8. Conclusion: directories discover; tests decide

    Matching skills to an agent is finding a workable combination of task requirements, execution capability, and risk control.

    For browsers, verify dynamic content, interaction results, and session permissions. For office documents, verify structure preservation, calculation correctness, and whether edits can be recovered. In either case, a successful call, a generated file, or a successful page visit is not the same as a completed task.

    Usage and success rates can inform a decision only when the definitions are transparent, tasks are comparable, the data is current, and the sample is reasonable. A more reliable path is to find candidates in a catalog, validate them on your own test set, and confirm long-term behavior with monitoring and regression tests.