[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FKYVVKMEJ0P483X5KBVD61":3,"skill-same:01M6FKYVVKMEJ0P483X5KBVD61":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":6,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M6FKYVVKMEJ0P483X5KBVD61","feishu_file_fetch",null,"Implements a Clawdbot extension tool that downloads Feishu files by message_id and file_key, streams to disk with sha256, size limits, and path traversal protection. Use when the user asks to build or update the feishu_file_fetch tool, Feishu file download workflow, or Clawdbot extension handling message_id\u002Ffile_key inputs.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdingshuxin353\u002Ffeishu-file-fetch\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"feishu file fetch","file","fetch","feishu","feishu file","build","streams","with","extension","id","message","clawdbot","path traversal","workflow","files","use","tool","disk","downloads","update","2026-11-10 10:12:30",false,"---\nname: feishu_file_fetch\ndescription: Implements a Clawdbot extension tool that downloads Feishu files by message_id and file_key, streams to disk with sha256, size limits, and path traversal protection. Use when the user asks to build or update the feishu_file_fetch tool, Feishu file download workflow, or Clawdbot extension handling message_id\u002Ffile_key inputs.\n---\n\n# feishu_file_fetch\n\n## Quick start\n\nCreate or update the reference implementation at `scripts\u002Ffeishu_file_fetch.py`. It should:\n\n1. Accept JSON input: `{ message_id, file_key, type=\"file\", outdir=\"\u002Froot\u002Fclawd\u002Fuploads\", max_bytes=104857600 }`\n2. Output JSON: `{ ok, path, filename, bytes, sha256, error? }`\n3. Use `FEISHU_APP_ID` \u002F `FEISHU_APP_SECRET` to fetch and cache `tenant_access_token` (refresh 2 minutes before expiry).\n4. Download via `GET https:\u002F\u002Fopen.feishu.cn\u002Fopen-apis\u002Fim\u002Fv1\u002Fmessages\u002F{message_id}\u002Fresources\u002F{file_key}?type={type}` with `Authorization: Bearer \u003Ctoken>`.\n5. Stream to `outdir\u002FyyyyMMdd\u002F`, parse filename from `Content-Disposition`, fallback to `file_key.bin`.\n6. Compute sha256 while streaming; enforce `max_bytes` strictly (terminate and delete temp file if exceeded).\n7. Prevent path traversal by ensuring final path stays within `outdir`.\n8. Never log tokens or secrets.\n\n## Runtime notes\n\n- Use only stdlib to avoid dependency installs.\n- If `Content-Length` exceeds `max_bytes`, fail early.\n- Use a temp file in the target directory and `os.replace` on success.\n\n## Example usage\n\n```\necho '{\"message_id\":\"om_xxx\",\"file_key\":\"file_xxx\"}' | python scripts\u002Ffeishu_file_fetch.py\n```\n\n## Additional resources\n\n- For API details and error handling notes, see [reference.md](reference.md)\n","# feishu_file_fetch\n\n## Quick start\n\nCreate or update the reference implementation at `scripts\u002Ffeishu_file_fetch.py`. It should:\n\n1. Accept JSON input: `{ message_id, file_key, type=\"file\", outdir=\"\u002Froot\u002Fclawd\u002Fuploads\", max_bytes=104857600 }`\n2. Output JSON: `{ ok, path, filename, bytes, sha256, error? }`\n3. Use `FEISHU_APP_ID` \u002F `FEISHU_APP_SECRET` to fetch and cache `tenant_access_token` (refresh 2 minutes before expiry).\n4. Download via `GET https:\u002F\u002Fopen.feishu.cn\u002Fopen-apis\u002Fim\u002Fv1\u002Fmessages\u002F{message_id}\u002Fresources\u002F{file_key}?type={type}` with `Authorization: Bearer \u003Ctoken>`.\n5. Stream to `outdir\u002FyyyyMMdd\u002F`, parse filename from `Content-Disposition`, fallback to `file_key.bin`.\n6. Compute sha256 while streaming; enforce `max_bytes` strictly (terminate and delete temp file if exceeded).\n7. Prevent path traversal by ensuring final path stays within `outdir`.\n8. Never log tokens or secrets.\n\n## Runtime notes\n\n- Use only stdlib to avoid dependency installs.\n- If `Content-Length` exceeds `max_bytes`, fail early.\n- Use a temp file in the target directory and `os.replace` on success.\n\n## Example usage\n\n```\necho '{\"message_id\":\"om_xxx\",\"file_key\":\"file_xxx\"}' | python scripts\u002Ffeishu_file_fetch.py\n```\n\n## Additional resources\n\n- For API details and error handling notes, see [reference.md](reference.md)\n",{"name":5,"description":7},"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fdingshuxin353\u002Ffeishu-file-fetch",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add kbarbel640-del\u002Fskills --skill feishu_file_fetch",{"tool":56,"command":57},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill feishu_file_fetch",{"tool":59,"command":60},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill feishu_file_fetch","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdingshuxin353\u002Ffeishu-file-fetch\u002FSKILL.md",true,[64,70,74,78],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"_meta.json","REFERENCE","参考文档",293,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdingshuxin353\u002Ffeishu-file-fetch\u002F_meta.json",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"README.md",6418,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdingshuxin353\u002Ffeishu-file-fetch\u002FREADME.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"reference.md",821,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdingshuxin353\u002Ffeishu-file-fetch\u002Freference.md",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"scripts\u002Ffeishu_file_fetch.py","SCRIPT","脚本",6437,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fdingshuxin353\u002Ffeishu-file-fetch\u002Fscripts\u002Ffeishu_file_fetch.py",[85,109,132,149,154,174],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":38},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[92,93,94,25,95,96,97,98,99,100,101,34,102,103,104,105,106,107,108],"crowd prompting","prompting","api","tokens","domain","world","prompts","operations","instructions","text","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":38},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[116,94,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,98,33],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":38},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[139,140,141,142,143,144,145,25,20,130,33,146,94,147,148],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","read","http","via",{"skillNo":150,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":38},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[142,141,140,139,148,144,145,25,143,130,33,20,146,94,147],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":38},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[161,162,163,164,165,166,167,168,169,170,171,172,173],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":38},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[181,182,183,184,25,185,186,43,187,146,188,189,190,191,192,106,193,194,195],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]