[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C18136BSX4600V6ZNMG29T":3,"skill-same:01M7C18136BSX4600V6ZNMG29T":44},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7C18136BSX4600V6ZNMG29T","enterprise-artifact-search",null,"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-GPT52-Gold31-Local30-20260924\u002Ftasks\u002Fenterprise-information-search\u002Frepaired_skill\u002Fenterprise-artifact-search\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: enterprise-information-search\ndescription: Answer multiple retrieval questions from \u002Froot\u002Fquestion.txt over the local enterprise dataset at \u002Froot\u002FDATA, writing a single \u002Froot\u002Fanswer.json with per-question {\"answer\": [...], \"tokens\": ...}.\n---\n\n# Enterprise Information Search Skill\n\nUse this skill when you must:\n- read **multiple questions** keyed like `q1`, `q2`, ... from `\u002Froot\u002Fquestion.txt`\n- retrieve answers **only from local files** under `\u002Froot\u002FDATA`\n- write a **single JSON file** to `\u002Froot\u002Fanswer.json` where each question key maps to an object:\n  - `\"answer\"`: **always a list** (even for a single item)\n  - `\"tokens\"`: **per-question** token usage (integer or string)\n\n---\n\n## Contract (must follow)\n\n### Inputs\n- Dataset directory: `\u002Froot\u002FDATA`\n- Questions file: `\u002Froot\u002Fquestion.txt` (format may be JSON or plain text)\n\n### Output\nWrite `\u002Froot\u002Fanswer.json` with this shape (every question key must appear exactly once):\n\n```json\n{\n  \"q1\": {\"answer\": [\"...\"], \"tokens\": 123},\n  \"q2\": {\"answer\": [], \"tokens\": 45}\n}\n```\n\nRules:\n- If an answer contains multiple items\u002Fids\u002Fnames, store them all in the list.\n- If only one item, still store it as a **one-element list**.\n- If nothing is found, store an **empty list**.\n- Log token usage **per question** inside each question object (do not use a single global count).\n\n---\n\n## Procedure\n\n### Step 1 — Parse `\u002Froot\u002Fquestion.txt` safely\n1) Read the file raw.\n2) Try parsing as JSON first:\n   - a dict like `{ \"q1\": \"...\", \"q2\": \"...\" }`\n   - or a list of objects like `[{\"id\":\"q1\",\"question\":\"...\"}, ...]`\n3) If JSON parse fails, treat it as text and extract `qN` blocks with robust parsing, e.g.:\n   - lines like `q1: ...`\n   - or `q1\\n\u003Cquestion text>\\nq2\\n...`\n\nNormalize into an internal dict:\n\n```python\nquestions = {\"q1\": \"...\", \"q2\": \"...\"}\n```\n\nNever rename keys.\n\n---\n\n### Step 2 — Inventory the dataset\n- Recursively list `\u002Froot\u002FDATA`.\n- Choose parsers by extension:\n  - `.csv\u002F.tsv`: pandas\u002Fcsv\n  - `.json\u002F.jsonl`: json module \u002F streaming for large files\n  - `.txt\u002F.md\u002F.log`: line-by-line scan\n  - Office\u002FPDF (if present): prefer any provided extracted text; otherwise search metadata\u002Ffilenames first.\n\nAvoid external\u002Fnetwork calls.\n\n---\n\n### Step 3 — Retrieve answers (per question)\nFor each `(qid, qtext)`:\n\n1) Identify likely entities requested (ids, names, dates, amounts, etc.).\n2) Use a deterministic strategy, preferring structured sources:\n   - If the question implies a table field (e.g., “employee id for Alice”), search structured directories first.\n   - Otherwise, use keyword\u002Fregex search across text-like files.\n3) When multiple matches are plausible, return **all** items that satisfy the question.\n4) Extract exact strings\u002Fids from source records (avoid inventing).\n\nNormalization rules:\n- Return `answer_list: list[str]` (or list of primitive JSON types if clearly requested).\n- Deduplicate while preserving order.\n\n---\n\n### Step 4 — Compute tokens per question\nRecord token usage **per question**.\n\nPreferred:\n- If a tokenizer is available in the runtime, compute tokens for (question text + minimal retrieved snippets used + produced answer).\n\nFallback (must be consistent):\n- Approximate tokens as `ceil(len(text)\u002F4)` where `text` is the concatenation of:\n  - the question text\n  - the serialized answer items joined with spaces\n\nStore as an integer (or cast to string if the evaluation environment strictly expects strings).\n\n---\n\n### Step 5 — Write `\u002Froot\u002Fanswer.json` atomically\n- Build a dict:\n\n```python\nout = {\n  qid: {\"answer\": answer_list, \"tokens\": token_count}\n  for qid in questions\n}\n```\n\n- Write to a temp file and rename to `\u002Froot\u002Fanswer.json` to avoid partial writes.\n- Ensure the JSON is loadable by Python `json.load`.\n\n---\n\n## Common failure modes to avoid\n- Writing scalar answers instead of lists.\n- Omitting question keys with no results (must include key with `[]`).\n- Writing the wrong schema (must be `{qid: {answer, tokens}}`).\n- Using a single global token count instead of per-question.\n- Guessing answers without evidence from `\u002Froot\u002FDATA`.\n","# Enterprise Information Search Skill\n\nUse this skill when you must:\n- read **multiple questions** keyed like `q1`, `q2`, ... from `\u002Froot\u002Fquestion.txt`\n- retrieve answers **only from local files** under `\u002Froot\u002FDATA`\n- write a **single JSON file** to `\u002Froot\u002Fanswer.json` where each question key maps to an object:\n  - `\"answer\"`: **always a list** (even for a single item)\n  - `\"tokens\"`: **per-question** token usage (integer or string)\n\n---\n\n## Contract (must follow)\n\n### Inputs\n- Dataset directory: `\u002Froot\u002FDATA`\n- Questions file: `\u002Froot\u002Fquestion.txt` (format may be JSON or plain text)\n\n### Output\nWrite `\u002Froot\u002Fanswer.json` with this shape (every question key must appear exactly once):\n\n```json\n{\n  \"q1\": {\"answer\": [\"...\"], \"tokens\": 123},\n  \"q2\": {\"answer\": [], \"tokens\": 45}\n}\n```\n\nRules:\n- If an answer contains multiple items\u002Fids\u002Fnames, store them all in the list.\n- If only one item, still store it as a **one-element list**.\n- If nothing is found, store an **empty list**.\n- Log token usage **per question** inside each question object (do not use a single global count).\n\n---\n\n## Procedure\n\n### Step 1 — Parse `\u002Froot\u002Fquestion.txt` safely\n1) Read the file raw.\n2) Try parsing as JSON first:\n   - a dict like `{ \"q1\": \"...\", \"q2\": \"...\" }`\n   - or a list of objects like `[{\"id\":\"q1\",\"question\":\"...\"}, ...]`\n3) If JSON parse fails, treat it as text and extract `qN` blocks with robust parsing, e.g.:\n   - lines like `q1: ...`\n   - or `q1\\n\u003Cquestion text>\\nq2\\n...`\n\nNormalize into an internal dict:\n\n```python\nquestions = {\"q1\": \"...\", \"q2\": \"...\"}\n```\n\nNever rename keys.\n\n---\n\n### Step 2 — Inventory the dataset\n- Recursively list `\u002Froot\u002FDATA`.\n- Choose parsers by extension:\n  - `.csv\u002F.tsv`: pandas\u002Fcsv\n  - `.json\u002F.jsonl`: json module \u002F streaming for large files\n  - `.txt\u002F.md\u002F.log`: line-by-line scan\n  - Office\u002FPDF (if present): prefer any provided extracted text; otherwise search metadata\u002Ffilenames first.\n\nAvoid external\u002Fnetwork calls.\n\n---\n\n### Step 3 — Retrieve answers (per question)\nFor each `(qid, qtext)`:\n\n1) Identify likely entities requested (ids, names, dates, amounts, etc.).\n2) Use a deterministic strategy, preferring structured sources:\n   - If the question implies a table field (e.g., “employee id for Alice”), search structured directories first.\n   - Otherwise, use keyword\u002Fregex search across text-like files.\n3) When multiple matches are plausible, return **all** items that satisfy the question.\n4) Extract exact strings\u002Fids from source records (avoid inventing).\n\nNormalization rules:\n- Return `answer_list: list[str]` (or list of primitive JSON types if clearly requested).\n- Deduplicate while preserving order.\n\n---\n\n### Step 4 — Compute tokens per question\nRecord token usage **per question**.\n\nPreferred:\n- If a tokenizer is available in the runtime, compute tokens for (question text + minimal retrieved snippets used + produced answer).\n\nFallback (must be consistent):\n- Approximate tokens as `ceil(len(text)\u002F4)` where `text` is the concatenation of:\n  - the question text\n  - the serialized answer items joined with spaces\n\nStore as an integer (or cast to string if the evaluation environment strictly expects strings).\n\n---\n\n### Step 5 — Write `\u002Froot\u002Fanswer.json` atomically\n- Build a dict:\n\n```python\nout = {\n  qid: {\"answer\": answer_list, \"tokens\": token_count}\n  for qid in questions\n}\n```\n\n- Write to a temp file and rename to `\u002Froot\u002Fanswer.json` to avoid partial writes.\n- Ensure the JSON is loadable by Python `json.load`.\n\n---\n\n## Common failure modes to avoid\n- Writing scalar answers instead of lists.\n- Omitting question keys with no results (must include key with `[]`).\n- Writing the wrong schema (must be `{qid: {answer, tokens}}`).\n- Using a single global token count instead of per-question.\n- Guessing answers without evidence from `\u002Froot\u002FDATA`.\n",{},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FSkillTTA-GPT52-Gold31-Local30-20260924\u002Ftasks\u002Fenterprise-information-search\u002Frepaired_skill\u002Fenterprise-artifact-search",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill enterprise-artifact-search",{"tool":36,"command":37},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill enterprise-artifact-search",{"tool":39,"command":40},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill enterprise-artifact-search","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillTTA-GPT52-Gold31-Local30-20260924\u002Ftasks\u002Fenterprise-information-search\u002Frepaired_skill\u002Fenterprise-artifact-search\u002FSKILL.md",true,[],[45,52,59,66,71,76],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"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":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"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":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"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":67,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"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":72,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"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":77,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"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",[],[]]