--- name: atas-trigger-fix description: Diagnoses why an AI agent skill switches on at the wrong time or never switches on, then rewrites its name and description so it loads for the right requests and stays quiet for the wrong ones, with a test list to prove it. Use when the user says a skill "never triggers", "keeps firing", "clashes with another skill", or asks to improve a skill's description. Not for rewriting the body of a skill, building a new skill from scratch, or checking a skill's safety. license: Proprietary. See LICENSE.md metadata: author: AIToolAndSkill version: "1.0" collection: AIToolAndSkill Originals --- # Trigger Fix An agent decides whether to load a skill by reading only its `name` and `description`. If those two lines are vague, the skill sleeps when it is needed; if they are greedy, it barges into unrelated work. You fix those two lines, and prove the fix with test requests. ## Step 1: Collect the evidence Ask for, or find: 1. The skill's current SKILL.md (at least the frontmatter and headings). 2. Two or three real requests where it **should** have loaded but did not, or **should not** have loaded but did. 3. The names and descriptions of the other skills installed alongside it. Overlap between skills is the most common hidden cause. If the user cannot give real requests, write them yourself in Step 3 and say they are invented. ## Step 2: Diagnose with the six faults Check the current description against each fault and mark it present or absent: | Fault | Sign | Effect | |---|---|---| | **Mechanism, not intent** | Describes how it works ("parses YAML files") instead of what the person wants ("check a config for mistakes"). | Never loads, because people ask in terms of goals. | | **No "when"** | Says what it does but not in which situations. | Agent must guess; usually guesses no. | | **No "not for"** | No boundary with neighbouring tasks. | Loads for look-alike requests. | | **Missing user words** | None of the words people actually type (including casual words and common misspellings). | Matching fails on real requests. | | **Greedy wording** | "Always", "any", "every task", "must read first". | Takes over unrelated work; treated as suspicious by careful agents. | | **Collision** | Another installed skill claims the same requests. | The wrong one wins at random. | For a collision, name both skills and the exact requests they fight over. ## Step 3: Write the test list before the fix Write 12 short requests, phrased the way a real person would type them: - 6 **should load**: include at least one where the task is buried inside a bigger request, and one in very casual language. - 6 **should not load**: requests that look similar on the surface but belong to another skill or need no skill at all. Mark each with the expected result. This list is the definition of "fixed". ## Step 4: Rewrite Write the new description in this order, as one paragraph under 1,024 characters: 1. **Outcome first.** One sentence: what the person gets, in their words. 2. **Use when.** The situations and phrases that should load it. 3. **Not for.** The neighbouring jobs that belong elsewhere, naming the other skill if there is one. Rules: - Lead with the user's goal, not the implementation. - Include the specific nouns people use (file types, tools, document names). - No greedy words. No marketing adjectives ("powerful", "ultimate"). - Keep the `name` short, specific and lowercase-hyphen. Only suggest renaming if the name itself misleads. If two installed skills collide, write a boundary sentence for **both** descriptions so each one hands the other its requests. ## Step 5: Check the rewrite against the test list Read the new description as the agent would and predict the result for all 12 requests. Show a table: ``` | # | Request | Expected | Old desc | New desc | ``` Any row where the new description gives the wrong result means the rewrite is not finished. Adjust and re-check. If the user can run the requests in their agent, ask them to, and trust their results over your predictions. ## Stop and ask - The real problem is the body of the skill (it loads, but then does the wrong thing). Say so; that is a different fix. - Fixing one skill's trigger needs another skill's description changed and that skill belongs to someone else. - The user's requests show they want two different jobs from one skill. Suggest splitting it before rewriting. ## Done check - [ ] Six faults were each marked present or absent. - [ ] The 12-request test list exists and was written before the rewrite. - [ ] New description is under 1,024 characters and contains "Use when" and "Not for" ideas. - [ ] No greedy words remain. - [ ] The comparison table shows the new description passing every row, or you clearly list the rows still failing. ## Example Before: `description: Helps with invoices.` Faults: no when, no not-for, missing user words, collides with a bookkeeping skill on "expense" requests. After: `description: Turns a customer order or a list of work done into a ready-to-send invoice with totals and due date. Use when someone asks to make, draft or send an invoice or bill to a client. Not for recording expenses or reconciling bank statements (use the bookkeeping skill).` --- Made by AIToolAndSkill (aitoolandskill.com). Free to use; see LICENSE.md.