[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BHC6FN334MTHKCPBWNSH5V":3,"skill-same:01M7BHC6FN334MTHKCPBWNSH5V":54},{"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":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},"01M7BHC6FN334MTHKCPBWNSH5V","harnest-authentication",null,"Implement or review Harnest request authentication, AuthPrincipal propagation, browser-token pass-through or exchange, CredentialProvider policy, and trusted tool or library credential use. Use for auth extensions and downstream authorization flows; not for model-provider API keys configured directly on model connectors.","Usefused\u002Fharnest","Usefused","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F291847097?v=4","01M7BHBXMWEB9CR1KXMKQX0017","01M7BHBXNMKR588HF6DESR7TA9",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fcmd\u002Fharnest\u002Fauthoring_skill\u002Fharnest-authentication\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: harnest-authentication\ndescription: Implement or review Harnest request authentication, AuthPrincipal propagation, browser-token pass-through or exchange, CredentialProvider policy, and trusted tool or library credential use. Use for auth extensions and downstream authorization flows; not for model-provider API keys configured directly on model connectors.\n---\n\n# Harnest authentication\n\nBuild a tested trust path from an incoming connection to a downstream service\nwithout making credentials agent state.\n\nRead [references\u002Fcontract.md](references\u002Fcontract.md) before changing an auth or\ncredential flow.\n\n## Sensitive data handling\n\nUse placeholders, environment-variable names, and synthetic credentials when\nauthoring code or testing; do not request or read real secret values. If supplied\nin conversation, omit them from generated files, replies, and tool arguments.\nGenerated runtime code may validate incoming tokens or exchange them with the\nconfigured identity provider, and send credentials only to the authorized\ndownstream audience. Keep them opaque until that trusted request boundary;\nnever persist or expose their raw values to the model.\n\n## Required decisions\n\n1. Treat `@lifecycle.authenticate` as the only raw connection boundary. Validate\n   identity before returning `AuthPrincipal`.\n2. Put selected non-secret authorization facts in `principal.claims`. Wrap every\n   promoted token or signed header in `Credential` under\n   `principal.credentials`. Never copy the complete request.\n3. Implement downstream policy in one root `CredentialProvider`. Read identity,\n   claims, and incoming credentials only through `request.principal`; there is\n   no copied `CredentialRequest.user_id` field.\n4. In trusted tools, nodes, or `lib\u002F`, call\n   `context.credentials.resolve(fixed_audience, scopes)` and reveal only while\n   constructing the outbound request. Never make token, audience, or scopes\n   model-generated arguments.\n5. Prefer audience-specific token exchange. Permit pass-through only when the\n   incoming credential is valid for that exact destination.\n6. Keep credentials out of prompts, context resources, metadata, state,\n   sessions, checkpoints, tasks, logs, traces, and errors. Queued work stores a\n   grant reference and resolves later.\n\n## Verification\n\nTest invalid authentication, principal propagation, redacted representations,\nprovider policy, root\u002Fsubagent inheritance, revocation, and managed\u002Fnative\npaths that changed. Finish with a local HTTP request using a synthetic token,\nproving that an incoming header reaches the provider only as the explicitly\npromoted opaque credential. Run the repository quality gate for Harnest source\nchanges.\n","# Harnest authentication\n\nBuild a tested trust path from an incoming connection to a downstream service\nwithout making credentials agent state.\n\nRead [references\u002Fcontract.md](references\u002Fcontract.md) before changing an auth or\ncredential flow.\n\n## Sensitive data handling\n\nUse placeholders, environment-variable names, and synthetic credentials when\nauthoring code or testing; do not request or read real secret values. If supplied\nin conversation, omit them from generated files, replies, and tool arguments.\nGenerated runtime code may validate incoming tokens or exchange them with the\nconfigured identity provider, and send credentials only to the authorized\ndownstream audience. Keep them opaque until that trusted request boundary;\nnever persist or expose their raw values to the model.\n\n## Required decisions\n\n1. Treat `@lifecycle.authenticate` as the only raw connection boundary. Validate\n   identity before returning `AuthPrincipal`.\n2. Put selected non-secret authorization facts in `principal.claims`. Wrap every\n   promoted token or signed header in `Credential` under\n   `principal.credentials`. Never copy the complete request.\n3. Implement downstream policy in one root `CredentialProvider`. Read identity,\n   claims, and incoming credentials only through `request.principal`; there is\n   no copied `CredentialRequest.user_id` field.\n4. In trusted tools, nodes, or `lib\u002F`, call\n   `context.credentials.resolve(fixed_audience, scopes)` and reveal only while\n   constructing the outbound request. Never make token, audience, or scopes\n   model-generated arguments.\n5. Prefer audience-specific token exchange. Permit pass-through only when the\n   incoming credential is valid for that exact destination.\n6. Keep credentials out of prompts, context resources, metadata, state,\n   sessions, checkpoints, tasks, logs, traces, and errors. Queued work stores a\n   grant reference and resolves later.\n\n## Verification\n\nTest invalid authentication, principal propagation, redacted representations,\nprovider policy, root\u002Fsubagent inheritance, revocation, and managed\u002Fnative\npaths that changed. Finish with a local HTTP request using a synthetic token,\nproving that an incoming header reaches the provider only as the explicitly\npromoted opaque credential. Run the repository quality gate for Harnest source\nchanges.\n",{"name":5,"description":7},"main","b0d0756445296adf561d18c01922e354d45e54e5","cmd\u002Fharnest\u002Fauthoring_skill\u002Fharnest-authentication",1,"https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest","https:\u002F\u002Fgithub.com\u002FUsefused","2026-11-14 01:56:35",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Usefused\u002Fharnest --skill harnest-authentication",{"tool":36,"command":37},"bunx","bunx skills add Usefused\u002Fharnest --skill harnest-authentication",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Usefused\u002Fharnest --skill harnest-authentication","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fcmd\u002Fharnest\u002Fauthoring_skill\u002Fharnest-authentication\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"agents\u002Fopenai.yaml","REFERENCE","参考文档",256,"https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fcmd\u002Fharnest\u002Fauthoring_skill\u002Fharnest-authentication\u002Fagents\u002Fopenai.yaml",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fcontract.md",2222,"https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fcmd\u002Fharnest\u002Fauthoring_skill\u002Fharnest-authentication\u002Freferences\u002Fcontract.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7BHCSTPD8YWBB0SW2NWN1VW","company-support","Help employees resolve support requests using approved services.","https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fexamples\u002Fstudio-packs\u002Fcompany-support\u002Fskills\u002Fsupport\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7BHCRCMSZJ40JQWH77WK6VQ","company-builder","Build agents using the company support catalog and native Harnest contracts.","https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fexamples\u002Fstudio-packs\u002Fcompany-support\u002Fskills\u002Fbuilder\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7BHCNFPZ68XGFF591KST5H6","incident-triage","Triage customer-reported service incidents when production impact, errors, authentication failures, or integrations are mentioned.","https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fexamples\u002Fself-serve\u002Fagents\u002Fhelpdesk\u002Fskills\u002Fincident-triage\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M7BHCH3GPMM1PP1C0W7Y048P","harnest-studio","Configure Harnest Studio workspaces, loaded packs, company distributions, and builder model, endpoint, credential references, budgets, or CA settings. Use for Studio launch and pack configuration; use harnest-studio-ui for visual customization.","https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fcmd\u002Fharnest\u002Fauthoring_skill\u002Fharnest-studio\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7BHCDSG27YX9DRKZ5K162CD","harnest-studio-ui","Customize Harnest Studio through UI packs: themes, layouts, isolated views, trusted modules, or shell replacements. Use for Studio styling, Tailwind or Panda CSS builds, section swaps, and UI recovery; not agent runtime configuration.","https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fcmd\u002Fharnest\u002Fauthoring_skill\u002Fharnest-studio-ui\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M7BHCA2PGF22J5QCAZCZENVR","harnest-authoring","Build, modify, test, or review Harnest agents and source, including folders, APIs, frameworks, resources, extensions, plugins, lifecycle, MCP, skills, evals, compilation, running, and serving.","https:\u002F\u002Fgithub.com\u002FUsefused\u002Fharnest\u002Fblob\u002Fmain\u002Fcmd\u002Fharnest\u002Fauthoring_skill\u002Fharnest-authoring\u002FSKILL.md",[],[]]