[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CG3667AZM3WMZZ70QPQ7XE":3,"skill-same:01M6CG3667AZM3WMZZ70QPQ7XE":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":16,"categories":17,"keywords":28,"publishedAt":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":42,"ownerHtmlUrl":43,"ownerBlogUrl":7,"ownerDescription":7,"updatedAt":44,"install":45,"resources":58},"01M6CG3667AZM3WMZZ70QPQ7XE","set-theme","主题样式设置",null,"","awebai\u002Faweb","awebai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F258851262?v=4","01M6CG2164V80VQVXFEXSFQ3P0","01M6CG21ARN03ENSNQ3AKA9HTB",129,"MIT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Fnaapp\u002Ffolio\u002Fskills\u002Fset-theme\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BQ6TQMKHSMFVQHR2KYAEVN","界面设计师","PROFESSION","适用职业",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8CFXMQXQCMC5B5STPCEBPMS","作品主题样式设计","SCENARIO","使用场景",[29,30,31],"SET","set theme","theme","2026-11-10 10:12:30",false,"---\nname: set-theme\ndescription: Use when an agent needs to brand folio presentation pages for its team: read or update GET\u002FPUT \u002Fv1\u002Ftheme with colors, fonts, header\u002Ffooter, and an optional base64 raster logo. This is for USING folio, not changing server code.\n---\n\n# Set an folio team theme\n\nUse this when a team wants its `\u002Fpresent\u002F\u003Ctoken>` pages to carry brand colors,\nfonts, a logo, or header\u002Ffooter text. Theme is team-scoped and applies when\npublic present pages render.\n\n## Prerequisites\n\nRun from a workspace with an active AWID team certificate:\n\n```bash\naw workspace status\naw id cert show\nexport FOLIO_ORIGIN=https:\u002F\u002Ffolio.aweb.ai\n```\n\nFor local development, use `http:\u002F\u002F127.0.0.1:8765` instead.\n\n## 1. Read the current theme\n\n```bash\naw id request GET \"$FOLIO_ORIGIN\u002Fv1\u002Ftheme\" --team-auth --raw\n```\n\nAn empty theme returns default tokens plus null logo\u002Fheader\u002Ffooter fields.\n\n## 2. Build a theme request\n\nSupported token groups:\n\n- `colors`: `background`, `surface`, `text`, `muted`, `border`, `accent`\n- `fonts`: `body`, `heading` with values `system`, `serif`, or `mono`\n- `header`, `footer`: optional strings\n- `logo`: optional base64 raster image with content type `image\u002Fpng`,\n  `image\u002Fjpeg`, `image\u002Fgif`, or `image\u002Fwebp`\n- `clear_logo`: set true to remove the current logo\n\nLogo bytes must match the declared content type and be no larger than 256 KiB.\nSVG and HTML are rejected.\n\n```bash\npython3 - \u003C\u003C'PY'\nimport base64, json\nfrom pathlib import Path\n\npayload = {\n    \"tokens\": {\n        \"colors\": {\n            \"background\": \"#fffaf0\",\n            \"surface\": \"#ffffff\",\n            \"text\": \"#17201a\",\n            \"muted\": \"#5f685f\",\n            \"border\": \"#ded6c4\",\n            \"accent\": \"#246b49\",\n        },\n        \"fonts\": {\"body\": \"system\", \"heading\": \"serif\"},\n    },\n    \"header\": \"Presented by the Example team\",\n    \"footer\": \"Shared by capability link\",\n}\nlogo = Path(\"logo.png\")\nif logo.exists():\n    payload[\"logo\"] = {\n        \"content_type\": \"image\u002Fpng\",\n        \"data_base64\": base64.b64encode(logo.read_bytes()).decode(\"ascii\"),\n    }\nPath(\"theme.json\").write_text(json.dumps(payload), encoding=\"utf-8\")\nPY\n```\n\n## 3. Set the theme\n\n```bash\naw id request PUT \"$FOLIO_ORIGIN\u002Fv1\u002Ftheme\" --team-auth --raw --body-file theme.json\n```\n\nThe response includes sanitized `tokens`, optional `logo_asset_id` and\n`logo_url`, `header`, `footer`, and `updated_at`. Unsupported token keys or\nunsafe values are ignored; invalid logo input returns 400.\n\n## 4. Verify with a present link\n\nMint or open any existing present link. The public page should render with the\nteam's current theme. The document markdown itself is still sanitized and\nserver-rendered.\n","# Set an folio team theme\n\nUse this when a team wants its `\u002Fpresent\u002F\u003Ctoken>` pages to carry brand colors,\nfonts, a logo, or header\u002Ffooter text. Theme is team-scoped and applies when\npublic present pages render.\n\n## Prerequisites\n\nRun from a workspace with an active AWID team certificate:\n\n```bash\naw workspace status\naw id cert show\nexport FOLIO_ORIGIN=https:\u002F\u002Ffolio.aweb.ai\n```\n\nFor local development, use `http:\u002F\u002F127.0.0.1:8765` instead.\n\n## 1. Read the current theme\n\n```bash\naw id request GET \"$FOLIO_ORIGIN\u002Fv1\u002Ftheme\" --team-auth --raw\n```\n\nAn empty theme returns default tokens plus null logo\u002Fheader\u002Ffooter fields.\n\n## 2. Build a theme request\n\nSupported token groups:\n\n- `colors`: `background`, `surface`, `text`, `muted`, `border`, `accent`\n- `fonts`: `body`, `heading` with values `system`, `serif`, or `mono`\n- `header`, `footer`: optional strings\n- `logo`: optional base64 raster image with content type `image\u002Fpng`,\n  `image\u002Fjpeg`, `image\u002Fgif`, or `image\u002Fwebp`\n- `clear_logo`: set true to remove the current logo\n\nLogo bytes must match the declared content type and be no larger than 256 KiB.\nSVG and HTML are rejected.\n\n```bash\npython3 - \u003C\u003C'PY'\nimport base64, json\nfrom pathlib import Path\n\npayload = {\n    \"tokens\": {\n        \"colors\": {\n            \"background\": \"#fffaf0\",\n            \"surface\": \"#ffffff\",\n            \"text\": \"#17201a\",\n            \"muted\": \"#5f685f\",\n            \"border\": \"#ded6c4\",\n            \"accent\": \"#246b49\",\n        },\n        \"fonts\": {\"body\": \"system\", \"heading\": \"serif\"},\n    },\n    \"header\": \"Presented by the Example team\",\n    \"footer\": \"Shared by capability link\",\n}\nlogo = Path(\"logo.png\")\nif logo.exists():\n    payload[\"logo\"] = {\n        \"content_type\": \"image\u002Fpng\",\n        \"data_base64\": base64.b64encode(logo.read_bytes()).decode(\"ascii\"),\n    }\nPath(\"theme.json\").write_text(json.dumps(payload), encoding=\"utf-8\")\nPY\n```\n\n## 3. Set the theme\n\n```bash\naw id request PUT \"$FOLIO_ORIGIN\u002Fv1\u002Ftheme\" --team-auth --raw --body-file theme.json\n```\n\nThe response includes sanitized `tokens`, optional `logo_asset_id` and\n`logo_url`, `header`, `footer`, and `updated_at`. Unsupported token keys or\nunsafe values are ignored; invalid logo input returns 400.\n\n## 4. Verify with a present link\n\nMint or open any existing present link. The public page should render with the\nteam's current theme. The document markdown itself is still sanitized and\nserver-rendered.\n",{},"main","e93dbd61326d317691715e339739fa5266f02232","naapp\u002Ffolio\u002Fskills\u002Fset-theme",13,"https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb","https:\u002F\u002Faweb.ai","https:\u002F\u002Fgithub.com\u002Fawebai","2026-11-15 03:33:47",{"source":9,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add awebai\u002Faweb --skill set-theme",{"tool":51,"command":52},"bunx","bunx skills add awebai\u002Faweb --skill set-theme",{"tool":54,"command":55},"pnpm","pnpm dlx skills add awebai\u002Faweb --skill set-theme","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Fnaapp\u002Ffolio\u002Fskills\u002Fset-theme\u002FSKILL.md",true,[],[60,72,82,93,100,107],{"skillNo":61,"name":62,"nameZh":63,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":64,"categories":65,"keywords":71,"publishedAt":32},"01M6CG7FQ52R3DF9BPTSZW0PR6","review","代码审查","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[66,69],{"categoryNo":67,"categoryName":68,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":70,"categoryName":63,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8CH8T3M7B4Y4V28A6YRCB0N",[62],{"skillNo":73,"name":74,"nameZh":75,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":76,"categories":77,"keywords":81,"publishedAt":32},"01M6CG7DWVMW3CAV6E54JCK20G","implement","代码实现","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[78,79],{"categoryNo":67,"categoryName":68,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":80,"categoryName":75,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BT7QVANT4709358VEJK53E",[74],{"skillNo":83,"name":84,"nameZh":85,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":86,"categories":87,"keywords":92,"publishedAt":32},"01M6CG7C1TK4X48E909BEN4SN1","coordinate","任务协作协调","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[88,89],{"categoryNo":67,"categoryName":68,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":90,"categoryName":91,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BRN0DBCRG4XGJMB6QQEP11","编码任务委派",[84],{"skillNo":94,"name":62,"nameZh":63,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":95,"categories":96,"keywords":99,"publishedAt":32},"01M6CG79Z76QPYG9478ANWN6BQ","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[97,98],{"categoryNo":67,"categoryName":68,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":70,"categoryName":63,"taxonomyType":26,"taxonomyTypeDesc":27},[62],{"skillNo":101,"name":74,"nameZh":75,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":102,"categories":103,"keywords":106,"publishedAt":32},"01M6CG77V6E9E7STWA5NNCVWPV","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[104,105],{"categoryNo":67,"categoryName":68,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":80,"categoryName":75,"taxonomyType":26,"taxonomyTypeDesc":27},[74],{"skillNo":108,"name":84,"nameZh":85,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":109,"categories":110,"keywords":113,"publishedAt":32},"01M6CG766593VZADKEQ1Z0W6TT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[111,112],{"categoryNo":67,"categoryName":68,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":90,"categoryName":91,"taxonomyType":26,"taxonomyTypeDesc":27},[84]]