[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CG2W919JBD930JXXBGF3V1":3,"skill-same:01M6CG2W919JBD930JXXBGF3V1":69},{"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},"01M6CG2W919JBD930JXXBGF3V1","agent-first-app","智能体优先应用开发",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\u002Fagent-first-app\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师","PROFESSION","适用职业",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发","SCENARIO","使用场景",[29,30,31],"first","agent first app","app","2026-11-10 10:12:30",false,"---\nname: agent-first-app\ndescription: Use when building an app where AI agents are the users: agent-first product design, BYOT\u002FAWID team-certificate auth instead of accounts, no-signup services, team-scoped data, and server-plus-recipes application surfaces.\n---\n\n# Build an agent-first app\n\nLoad this before turning \"build an app for agents\", \"build a BYOT app\", or\n\"make an app for agent teams\" into code. Its job is to stop the classic\nmistake: building auth the old way.\n\n## The inversion, in three lines\n\n- The **agent is the user**.\n- A valid AWID team certificate **is being signed in**.\n- You ship a **server and exact recipes**, not a client agents must install.\n\nThe normal web-app reflex is backwards here. There is no signup button\nbecause the caller already has identity, team membership, and signing tools.\nYour service is a relying party.\n\n## What you do not build\n\nPush back if the plan includes:\n\n- signup or onboarding accounts;\n- OAuth, API keys, sessions, password reset, or dashboard write auth;\n- per-user account records as the security boundary;\n- a bespoke SDK\u002Fclient that duplicates `aw id request --team-auth`.\n\nBuild this instead:\n\n- one request-bound team-certificate verifier — load\n  `skills\u002Fteam-cert-verification\u002FSKILL.md` for that boundary;\n- team-scoped data keyed only from the verified certificate `team_id`;\n- structured errors: 401 fail-closed for auth;\n- team-unit billing: the human appears once to pay, not to authenticate;\n- usage measured per team from day one and reported to its members.\n\n## Agent-first surface checklist\n\nBefore you call the product usable by agents:\n\n- Document recipes only after running them verbatim from a fresh workspace.\n- Provide a plain-text `\u002Fllms.txt` twin for agents that fetch instead of\n  browse.\n- Make the landing page read like the terminal session it documents: shell\n  comments explain, commands are individually copyable, and stop points are\n  explicit.\n- Do not add \"copy all\" when the sequence has human or controller stop\n  points.\n- Prefer append-only versions with verified attribution when the domain\n  allows it; agent teams need auditability more than clever editing.\n\n## Process: SOT first\n\nWrite the source of truth before writing features. It should name the\nproduct contract, authority model, auth envelope, data model, API, validation\nstrategy, milestones, and non-goals. `docs\u002Fsot.md` is the worked example in\nthis repo.\n\nValidation is part of the spec, not a cleanup task. Load\n`skills\u002Fbyot-e2e-validation\u002FSKILL.md` while designing the auth and e2e\nsurface. Before any public claim, run a customer-shaped probe: fresh\ndirectory, released `aw`, documented commands verbatim.\n\n## Repo map lives elsewhere\n\nDo not duplicate the repo map here. The agent-first pattern and copy\u002Fadapt\u002F\nreplace map belongs in `docs\u002Fagent-first.md`. Link to that path from product\nor README work and coordinate with whoever is editing it.\n","# Build an agent-first app\n\nLoad this before turning \"build an app for agents\", \"build a BYOT app\", or\n\"make an app for agent teams\" into code. Its job is to stop the classic\nmistake: building auth the old way.\n\n## The inversion, in three lines\n\n- The **agent is the user**.\n- A valid AWID team certificate **is being signed in**.\n- You ship a **server and exact recipes**, not a client agents must install.\n\nThe normal web-app reflex is backwards here. There is no signup button\nbecause the caller already has identity, team membership, and signing tools.\nYour service is a relying party.\n\n## What you do not build\n\nPush back if the plan includes:\n\n- signup or onboarding accounts;\n- OAuth, API keys, sessions, password reset, or dashboard write auth;\n- per-user account records as the security boundary;\n- a bespoke SDK\u002Fclient that duplicates `aw id request --team-auth`.\n\nBuild this instead:\n\n- one request-bound team-certificate verifier — load\n  `skills\u002Fteam-cert-verification\u002FSKILL.md` for that boundary;\n- team-scoped data keyed only from the verified certificate `team_id`;\n- structured errors: 401 fail-closed for auth;\n- team-unit billing: the human appears once to pay, not to authenticate;\n- usage measured per team from day one and reported to its members.\n\n## Agent-first surface checklist\n\nBefore you call the product usable by agents:\n\n- Document recipes only after running them verbatim from a fresh workspace.\n- Provide a plain-text `\u002Fllms.txt` twin for agents that fetch instead of\n  browse.\n- Make the landing page read like the terminal session it documents: shell\n  comments explain, commands are individually copyable, and stop points are\n  explicit.\n- Do not add \"copy all\" when the sequence has human or controller stop\n  points.\n- Prefer append-only versions with verified attribution when the domain\n  allows it; agent teams need auditability more than clever editing.\n\n## Process: SOT first\n\nWrite the source of truth before writing features. It should name the\nproduct contract, authority model, auth envelope, data model, API, validation\nstrategy, milestones, and non-goals. `docs\u002Fsot.md` is the worked example in\nthis repo.\n\nValidation is part of the spec, not a cleanup task. Load\n`skills\u002Fbyot-e2e-validation\u002FSKILL.md` while designing the auth and e2e\nsurface. Before any public claim, run a customer-shaped probe: fresh\ndirectory, released `aw`, documented commands verbatim.\n\n## Repo map lives elsewhere\n\nDo not duplicate the repo map here. The agent-first pattern and copy\u002Fadapt\u002F\nreplace map belongs in `docs\u002Fagent-first.md`. Link to that path from product\nor README work and coordinate with whoever is editing it.\n",{},"main","e93dbd61326d317691715e339739fa5266f02232","naapp\u002Ffolio\u002Fskills\u002Fagent-first-app",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 agent-first-app",{"tool":51,"command":52},"bunx","bunx skills add awebai\u002Faweb --skill agent-first-app",{"tool":54,"command":55},"pnpm","pnpm dlx skills add awebai\u002Faweb --skill agent-first-app","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Fnaapp\u002Ffolio\u002Fskills\u002Fagent-first-app\u002FSKILL.md",true,[59,65],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"SOURCE.md","REFERENCE","参考文档",181,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002F1inch-ai\u002FSOURCE.md",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"TRUST.auto.yaml",2217,"https:\u002F\u002Fgithub.com\u002Fjiayaoqijia\u002Fcryptoskill\u002Fblob\u002Fmain\u002Fskills\u002Fmcp-servers\u002F1inch-ai\u002FTRUST.auto.yaml",[70,82,92,103,110,117],{"skillNo":71,"name":72,"nameZh":73,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":74,"categories":75,"keywords":81,"publishedAt":32},"01M6CG7FQ52R3DF9BPTSZW0PR6","review","代码审查","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[76,79],{"categoryNo":77,"categoryName":78,"taxonomyType":21,"taxonomyTypeDesc":22},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":80,"categoryName":73,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8CH8T3M7B4Y4V28A6YRCB0N",[72],{"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":91,"publishedAt":32},"01M6CG7DWVMW3CAV6E54JCK20G","implement","代码实现","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[88,89],{"categoryNo":77,"categoryName":78,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":90,"categoryName":85,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BT7QVANT4709358VEJK53E",[84],{"skillNo":93,"name":94,"nameZh":95,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":96,"categories":97,"keywords":102,"publishedAt":32},"01M6CG7C1TK4X48E909BEN4SN1","coordinate","任务协作协调","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fsource\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[98,99],{"categoryNo":77,"categoryName":78,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":100,"categoryName":101,"taxonomyType":26,"taxonomyTypeDesc":27},"01M8BRN0DBCRG4XGJMB6QQEP11","编码任务委派",[94],{"skillNo":104,"name":72,"nameZh":73,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":105,"categories":106,"keywords":109,"publishedAt":32},"01M6CG79Z76QPYG9478ANWN6BQ","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Freviewer\u002Fskills\u002Freview\u002FSKILL.md",[107,108],{"categoryNo":77,"categoryName":78,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":80,"categoryName":73,"taxonomyType":26,"taxonomyTypeDesc":27},[72],{"skillNo":111,"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":112,"categories":113,"keywords":116,"publishedAt":32},"01M6CG77V6E9E7STWA5NNCVWPV","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fdeveloper\u002Fskills\u002Fimplement\u002FSKILL.md",[114,115],{"categoryNo":77,"categoryName":78,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":90,"categoryName":85,"taxonomyType":26,"taxonomyTypeDesc":27},[84],{"skillNo":118,"name":94,"nameZh":95,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":7,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":7,"sourceHtmlUrl":119,"categories":120,"keywords":123,"publishedAt":32},"01M6CG766593VZADKEQ1Z0W6TT","https:\u002F\u002Fgithub.com\u002Fawebai\u002Faweb\u002Fblob\u002Fmain\u002Ftest-vectors\u002Fblueprints\u002Fengineering\u002Fnegatives\u002Ftoken\u002Fprofiles\u002Fcoordinator\u002Fskills\u002Fcoordinate\u002FSKILL.md",[121,122],{"categoryNo":77,"categoryName":78,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":100,"categoryName":101,"taxonomyType":26,"taxonomyTypeDesc":27},[94]]