[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C3BP7GN77EY3S2TV348G9R":3,"skill-same:01M7C3BP7GN77EY3S2TV348G9R":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7C3BP7GN77EY3S2TV348G9R","skilltta-task-guidance",null,"Task-specific operational guidance synthesized at test time from retrieved training examples.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002Fskilltta-synthesis-opus47-tatumass-failed15-20260923\u002Ftasks\u002Fazure-bgp-oscillation-route-leak\u002Frepaired_run\u002Finputs\u002Fskills\u002Fskilltta-task-guidance\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: skilltta-task-guidance\ndescription: Task-specific operational guidance synthesized at test time from retrieved training examples.\n---\n\n# SKILL.md\n\n## When to use\nApply this skill when a task asks you to analyze a small network\u002Frouting topology from JSON inputs, detect specific policy violations (e.g., BGP oscillation cycles and valley-free \u002F route-leak violations), evaluate a list of candidate remediations, and write a structured JSON report to a fixed output path.\n\nThe binding contract for the target is defined only by the task prompt: input filenames under a given data directory, the exact output path, and an output schema showing required keys (detection flags, cycle\u002FAS lists, per-leak records with typed endpoints, and a `solution_results` map keyed by the exact solution description strings).\n\nBefore acting, gather:\n- Every input JSON referenced in the prompt (routes advertised, hub-to-hub preferences, relationship-type weights, and the list of candidate solutions).\n- The precise schema and key names shown in the prompt's example (do not invent new keys or rename).\n- The exact criteria the prompt gives for what counts as \"resolved\" for each phenomenon.\n\n## Possible Failure Modes\n- Treating the example JSON in the prompt as the answer: copying its numeric ASNs, cycle members, or the sample solution string verbatim instead of computing them from the actual inputs.\n- Confusing the two phenomena: reporting a cycle as a route leak, or vice versa. Oscillation = a cycle in routing\u002Fhub preferences; route leak = violation of valley-free export (e.g., a hub re-advertising routes learned from one neighbor to another neighbor when the relationship types forbid it).\n- Missing that \"valley-free\" depends on relationship types (customer\u002Fprovider\u002Fpeer) loaded from the local-pref \u002F relationship file — hardcoding rules without consulting that file.\n- Emitting `solution_results` keyed by paraphrased solution text rather than the exact strings from `possible_solutions.json` (evaluators typically match on the raw string).\n- Marking timer\u002Fkeepalive tweaks as resolving oscillation — they don't break preference cycles. Only changes that alter the preference graph (removing an edge, reordering preferences) resolve oscillation. Only changes that stop hub-to-hub re-advertisement via Virtual WAN resolve the leak.\n- Setting `oscillation_detected` or `route_leak_detected` inconsistently with the populated `oscillation_cycle` \u002F `route_leaks` arrays (empty arrays with `true`, or non-empty with `false`).\n- Writing output to the wrong directory or filename, or forgetting to create the output directory.\n- Producing non-JSON-serializable values (sets, tuples, numpy ints) in the report.\n\n## Possible procedures\n1. **Load inputs defensively.** Read each JSON from the specified data directory; validate the top-level shape (dict vs list) before indexing. Build in-memory structures: an AS\u002Fhub adjacency, a preference graph (edges = \"prefers over\"), and a map from AS\u002Fhub to relationship types.\n2. **Detect oscillation.** Construct a directed graph from the routing-preferences file and run cycle detection (e.g., DFS with a recursion stack, or `networkx.simple_cycles`). If any cycle exists, set `oscillation_detected=true`, put the cycle's AS list in `oscillation_cycle`, and union the ASes across all cycles into `affected_ases`.\n3. **Detect route leaks (valley-free check).** For each advertised route, look at the ingress relationship and egress relationship using the relationship-type weights. A leak occurs when a route learned from a peer or provider is re-advertised to another peer or provider (only customer routes may be freely re-advertised). Record one entry per leak with `leaker_as`, `source_as`, `destination_as`, `source_type`, `destination_type` — using the exact keys and lowercase type strings shown in the schema.\n4. **Evaluate each candidate solution independently.** For every entry in `possible_solutions.json`:\n   - `oscillation_resolved`: true only if the change removes at least one edge from every detected preference cycle (e.g., reorders\u002Fremoves a hub preference).\n   - `route_leak_resolved`: true only if the change stops the offending hub from re-advertising routes across Virtual WAN to the other hub (e.g., disables inter-hub propagation, filters exports).\n   - Timer\u002Fkeepalive\u002Fholdtime changes: neither resolves oscillation nor a valley-free leak on their own.\n   - Key each result by the solution's exact description string.\n5. **Assemble and write the report.** Match the schema keys exactly, ensure booleans and lists are consistent, `os.makedirs` the output directory, and `json.dump` with a stable indent. Convert any sets to sorted lists.\n\nDecision points:\n- If no cycle: `oscillation_detected=false`, `oscillation_cycle=[]`, `affected_ases=[]`.\n- If no leak: `route_leak_detected=false`, `route_leaks=[]`.\n- Still emit `solution_results` for every provided solution regardless of whether issues were detected (both sub-flags can be `false` if nothing to resolve or the fix is irrelevant — follow the prompt's definition literally).\n\n## Verification Checklist\n- [ ] All input files listed in the prompt were opened from the correct data directory; none were assumed.\n- [ ] Output written to the exact path specified in the prompt (`\u002Fapp\u002Foutput\u002Foscillation_report.json` per the target contract), with the directory created if missing.\n- [ ] JSON top-level keys match the schema exactly: `oscillation_detected`, `oscillation_cycle`, `affected_ases`, `route_leak_detected`, `route_leaks`, `solution_results`.\n- [ ] Each element in `route_leaks` has all five fields with correct types; `source_type`\u002F`destination_type` values come from the relationship data, not guessed.\n- [ ] `solution_results` contains one entry per solution in `possible_solutions.json`, keyed by the raw description string (not paraphrased), each with both `oscillation_resolved` and `route_leak_resolved` booleans.\n- [ ] Detection booleans are consistent with their corresponding arrays (empty ⇔ false).\n- [ ] No values, ASNs, cycles, or solution strings were copied from the prompt's illustrative example or from retrieved examples; all are derived from the actual inputs.\n- [ ] Output is valid JSON (no sets, tuples, or numpy scalars); re-load it with `json.load` to confirm.\n- [ ] Recovery: if a file is malformed or a key is missing, fail loudly with a clear message rather than silently emitting a partial report.\n","# SKILL.md\n\n## When to use\nApply this skill when a task asks you to analyze a small network\u002Frouting topology from JSON inputs, detect specific policy violations (e.g., BGP oscillation cycles and valley-free \u002F route-leak violations), evaluate a list of candidate remediations, and write a structured JSON report to a fixed output path.\n\nThe binding contract for the target is defined only by the task prompt: input filenames under a given data directory, the exact output path, and an output schema showing required keys (detection flags, cycle\u002FAS lists, per-leak records with typed endpoints, and a `solution_results` map keyed by the exact solution description strings).\n\nBefore acting, gather:\n- Every input JSON referenced in the prompt (routes advertised, hub-to-hub preferences, relationship-type weights, and the list of candidate solutions).\n- The precise schema and key names shown in the prompt's example (do not invent new keys or rename).\n- The exact criteria the prompt gives for what counts as \"resolved\" for each phenomenon.\n\n## Possible Failure Modes\n- Treating the example JSON in the prompt as the answer: copying its numeric ASNs, cycle members, or the sample solution string verbatim instead of computing them from the actual inputs.\n- Confusing the two phenomena: reporting a cycle as a route leak, or vice versa. Oscillation = a cycle in routing\u002Fhub preferences; route leak = violation of valley-free export (e.g., a hub re-advertising routes learned from one neighbor to another neighbor when the relationship types forbid it).\n- Missing that \"valley-free\" depends on relationship types (customer\u002Fprovider\u002Fpeer) loaded from the local-pref \u002F relationship file — hardcoding rules without consulting that file.\n- Emitting `solution_results` keyed by paraphrased solution text rather than the exact strings from `possible_solutions.json` (evaluators typically match on the raw string).\n- Marking timer\u002Fkeepalive tweaks as resolving oscillation — they don't break preference cycles. Only changes that alter the preference graph (removing an edge, reordering preferences) resolve oscillation. Only changes that stop hub-to-hub re-advertisement via Virtual WAN resolve the leak.\n- Setting `oscillation_detected` or `route_leak_detected` inconsistently with the populated `oscillation_cycle` \u002F `route_leaks` arrays (empty arrays with `true`, or non-empty with `false`).\n- Writing output to the wrong directory or filename, or forgetting to create the output directory.\n- Producing non-JSON-serializable values (sets, tuples, numpy ints) in the report.\n\n## Possible procedures\n1. **Load inputs defensively.** Read each JSON from the specified data directory; validate the top-level shape (dict vs list) before indexing. Build in-memory structures: an AS\u002Fhub adjacency, a preference graph (edges = \"prefers over\"), and a map from AS\u002Fhub to relationship types.\n2. **Detect oscillation.** Construct a directed graph from the routing-preferences file and run cycle detection (e.g., DFS with a recursion stack, or `networkx.simple_cycles`). If any cycle exists, set `oscillation_detected=true`, put the cycle's AS list in `oscillation_cycle`, and union the ASes across all cycles into `affected_ases`.\n3. **Detect route leaks (valley-free check).** For each advertised route, look at the ingress relationship and egress relationship using the relationship-type weights. A leak occurs when a route learned from a peer or provider is re-advertised to another peer or provider (only customer routes may be freely re-advertised). Record one entry per leak with `leaker_as`, `source_as`, `destination_as`, `source_type`, `destination_type` — using the exact keys and lowercase type strings shown in the schema.\n4. **Evaluate each candidate solution independently.** For every entry in `possible_solutions.json`:\n   - `oscillation_resolved`: true only if the change removes at least one edge from every detected preference cycle (e.g., reorders\u002Fremoves a hub preference).\n   - `route_leak_resolved`: true only if the change stops the offending hub from re-advertising routes across Virtual WAN to the other hub (e.g., disables inter-hub propagation, filters exports).\n   - Timer\u002Fkeepalive\u002Fholdtime changes: neither resolves oscillation nor a valley-free leak on their own.\n   - Key each result by the solution's exact description string.\n5. **Assemble and write the report.** Match the schema keys exactly, ensure booleans and lists are consistent, `os.makedirs` the output directory, and `json.dump` with a stable indent. Convert any sets to sorted lists.\n\nDecision points:\n- If no cycle: `oscillation_detected=false`, `oscillation_cycle=[]`, `affected_ases=[]`.\n- If no leak: `route_leak_detected=false`, `route_leaks=[]`.\n- Still emit `solution_results` for every provided solution regardless of whether issues were detected (both sub-flags can be `false` if nothing to resolve or the fix is irrelevant — follow the prompt's definition literally).\n\n## Verification Checklist\n- [ ] All input files listed in the prompt were opened from the correct data directory; none were assumed.\n- [ ] Output written to the exact path specified in the prompt (`\u002Fapp\u002Foutput\u002Foscillation_report.json` per the target contract), with the directory created if missing.\n- [ ] JSON top-level keys match the schema exactly: `oscillation_detected`, `oscillation_cycle`, `affected_ases`, `route_leak_detected`, `route_leaks`, `solution_results`.\n- [ ] Each element in `route_leaks` has all five fields with correct types; `source_type`\u002F`destination_type` values come from the relationship data, not guessed.\n- [ ] `solution_results` contains one entry per solution in `possible_solutions.json`, keyed by the raw description string (not paraphrased), each with both `oscillation_resolved` and `route_leak_resolved` booleans.\n- [ ] Detection booleans are consistent with their corresponding arrays (empty ⇔ false).\n- [ ] No values, ASNs, cycles, or solution strings were copied from the prompt's illustrative example or from retrieved examples; all are derived from the actual inputs.\n- [ ] Output is valid JSON (no sets, tuples, or numpy scalars); re-load it with `json.load` to confirm.\n- [ ] Recovery: if a file is malformed or a key is missing, fail loudly with a clear message rather than silently emitting a partial report.\n",{"name":5,"description":7},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002Fskilltta-synthesis-opus47-tatumass-failed15-20260923\u002Ftasks\u002Fazure-bgp-oscillation-route-leak\u002Frepaired_run\u002Finputs\u002Fskills\u002Fskilltta-task-guidance",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill skilltta-task-guidance",{"tool":37,"command":38},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill skilltta-task-guidance",{"tool":40,"command":41},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill skilltta-task-guidance","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002Fskilltta-synthesis-opus47-tatumass-failed15-20260923\u002Ftasks\u002Fazure-bgp-oscillation-route-leak\u002Frepaired_run\u002Finputs\u002Fskills\u002Fskilltta-task-guidance\u002FSKILL.md",true,[],[46,53,60,67,72,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":68,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":73,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":78,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]