How Agent Skills Are Actually Invoked: Why Someone Else's Skill Doesn't Work for You

    This article breaks down how agent skills are discovered, indexed, matched, and executed, and why skill count rarely translates into actual usage. It explains the four common reasons an imported skill fails (missing environment prerequisites, different permissions and login state, mismatched I/O contracts, and absent acceptance criteria), the structural gaps in the current skill ecosystem, four criteria for deciding which skills are worth keeping, and why complex interaction flows are the best candidates to turn into skills. It also clarifies how skills differ from plugins and ends with a practical maintenance checklist.

    How Agent Skills Are Actually Invoked: Why Someone Else’s Skill Doesn’t Work for You

    The first time most people work with agent skills, they assume that more installed skills means more capability. So the skills directory fills up with dozens of entries, while only a handful are ever triggered in daily work. What is even more confusing is that borrowing a skill someone else wrote often produces results far from what you expected. To make sense of this, you have to separate out the chain of how a skill actually gets used.

    1. Installed Count vs. Invocation Count Are Two Different Numbers

    A typical inventory looks like this: a given AI coding tool has 39 skills locally, 32 of them built in and 7 installed by the user, yet no more than 6 are actually invoked day to day.

    Collecting these numbers is not difficult. Skills usually live as directories, each containing a declaration file (commonly SKILL.md by convention) plus optional scripts and resources. Scanning the directories and checking whether the declaration file exists gives you an accurate list. User-installed skills normally sit in a user-level configuration directory (such as ~/.xxx/skills/) and can be opened and verified one by one.

    The first thing this list reveals is that the stock of skills and the volume of invocations are badly out of proportion. The reason is simple: skills are loaded and invoked based on matching, not based on existence.

    2. The Invocation Chain: Skills Are Selected, Not “Run”

    A skill taking effect goes through roughly four steps:

    1. Discovery: the runtime scans the skills directory, reads each declaration file, and extracts the name and purpose description.
    2. Indexing: metadata about which skill fits which scenario is placed into the context so the model can judge.
    3. Matching: when the user’s intent lines up with a skill’s applicable scenario, that skill is selected.
    4. Execution: the skill body and its bundled scripts are loaded, and the steps described inside are carried out.

    Steps 2 and 3 are the ones that matter. The model never sees a skill’s full implementation, only its short purpose description. As a result:

    • A vague description leaves the model unable to tell when to use the skill, so the skill effectively does not exist;
    • An overly broad description makes several skills compete for the same trigger, so activation becomes unstable;
    • A genuinely rare scenario will simply stay at zero invocations.

    This explains a common pattern: among built-in skills, only three categories see real frequency — retrieval (finding material, locating files), spreadsheet handling, and document writing. The large remainder sit idle from the moment they are installed.

    3. Why Someone Else’s Skill Often Doesn’t Work

    When you drop in someone else’s skill and it fails, the skill itself is usually not the problem. Four prerequisites are out of alignment.

    First, missing environment prerequisites. Many skills depend on a runtime, browser, command-line tool, or specific directory structure already present on the author’s machine. Conditions that exist by default there may not exist at all on yours, and the skill fails at step one.

    Second, different permissions and login state. Operations that touch a local graphical interface or require login credentials will not work in a headless or sandboxed environment. Skills rarely declare these implicit dependencies explicitly.

    Third, mismatched input/output contracts. A skill typically assumes fixed file locations, field names, and data formats. When your actual data does not follow that convention, the script either fails silently or produces wrong output.

    Fourth, missing acceptance criteria. Someone else’s skill was written around their own definition of done. Without a corresponding check on your side, even a successful run leaves you unable to tell whether the result is acceptable.

    The conclusion is direct: a skill is a reusable encapsulation of a process, not a portable capability plugin. Reusing one across environments means re-verifying dependencies, permissions, and data contracts.

    4. The Real Ecosystem Problem: Multiple Implementations of the Same Need, and No Way to Tell Which Is Better

    A typical example is a daily points claim task: you install one implementation, later find another that does the same thing, keep both intending to compare stability, and never actually compare them.

    This is not personal laziness but a structural weakness in the current skill ecosystem:

    • A single need often has three or four implementations with similar names and near-identical descriptions;
    • There is no unified compatibility labeling or dependency declaration;
    • There is no authoritative evaluation or recommendation mechanism, so there is nothing to judge quality by at install time;
    • Overlapping skills coexisting also increases misfires.

    The practical recommendation is to maintain a minimal viable set: keep one implementation per need and move the rest to a pending-evaluation area; record the reason for adoption, the dependency conditions, and failure cases for what you keep; review zero-invocation skills periodically and remove them decisively.

    5. Which Skills Are Worth Keeping: Four Screening Criteria

    The retained list abstracts into general criteria:

    Dimension Explanation
    Breaks through environment limits For example, a page that requires login state cannot be handled headlessly and can only be driven through a local browser
    Fixes output quality For example, cleaning mechanical phrasing out of text so the wording reads more naturally
    Handles error-prone details For example, model calls with many parameters, where recalling fields from memory is guaranteed to be wrong and the spec must be checked
    Covers process risk Running through checkpoints one by one before delivery; what gets blocked is your own shortcut-taking

    Conversely, any skill that “the model can already do itself,” whose description is too vague to state its applicable scenario, or that gets used less than once a year should be moved out of the main set.

    6. Complex Interaction Scenarios: Why They Are Worth Writing a Skill For

    The tasks that get invoked again and again tend to be interaction flows that “look simple but are full of traps.” Take injecting content into a rich text editor. The common obstacles include:

    • The editor is built on controlled components, so direct assignment does not trigger internal state updates;
    • Traditional document editing command interfaces are intercepted or have no effect;
    • File upload controls do not respond to ordinary assignment; you have to construct a file object and dispatch a change event.

    Illustrative code:

    1. // Inject rich text via a clipboard event to bypass the controlled component's assignment limit
    2. const dt = new DataTransfer();
    3. dt.setData('text/html', html);
    4. dt.setData('text/plain', plain);
    5. el.dispatchEvent(new ClipboardEvent('paste', {
    6. clipboardData: dt, bubbles: true, cancelable: true
    7. }));
    8. // File control: construct a File and dispatch change to trigger the framework's onChange
    9. const file = new File([bytes], 'a.png', { type: 'image/png' });
    10. input.files = dt.files; // the file must first be appended to dt
    11. input.dispatchEvent(new Event('change', { bubbles: true }));

    Debugging this kind of flow once is expensive, but once it is captured as a skill, every subsequent task reproduces it reliably and the time saved is substantial. The test is simple: operations with a high one-time exploration cost and a high reuse rate afterward are the ones most worth turning into skills.

    7. Skills and Plugins Are Not the Same Thing

    The two terms get used interchangeably, but in most agent runtime systems they sit at different levels:

    • Skill: a directory plus a declaration file plus optional scripts — essentially an operations manual written for the model to read, loaded on demand, lightweight, and easy to version;
    • Plugin: usually registered by the host program, with its own lifecycle, permission boundary, and interface contract — heavier in capability and more costly to integrate.

    The practical value of understanding the difference is this: skills are for capturing processes and conventions, plugins are for extending runtime capability. Forcing a heavy capability that should be a plugin into a skill just leaves you with a pile of scripts that will not run.

    8. A Practical Checklist

    1. Inventory the skills directory quarterly, count invocation frequency, and remove zero-invocation entries;
    2. Keep one implementation per need; move duplicates to the pending-evaluation area with an evaluation deadline;
    3. Fill in three things for every self-installed skill: dependencies, permissions, and data format;
    4. Prioritize turning high-frequency, error-prone interaction flows into skills, with a minimal verification sample attached;
    5. Add a check step to the delivery process, using a skill to constrain your own oversights;
    6. If skills need to run on the cloud side, use a container platform for environment isolation, object storage for skill packages, and logging plus monitoring and alerting to track invocation behavior.

    A skill’s value lies not in how many you have but in whether it precisely hits your real scenario and whether its applicable boundaries are written down clearly. When someone else’s skill does not work for you, it is usually because it describes their environment. Treat it as a reference implementation and rewrite it against your own dependencies and acceptance criteria — that is the right way to use it.