[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCEJH56V8VXEC7R7J3P80B":3,"skill-same:01M6MCEJH56V8VXEC7R7J3P80B":92},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":45,"linkOnly":46,"markdownContent":47,"markdownBody":48,"frontMatter":49,"refName":56,"commitSha":57,"skillDirectory":58,"forksCount":59,"repositoryHtmlUrl":60,"repositoryHomepageUrl":61,"ownerHtmlUrl":62,"ownerBlogUrl":63,"ownerDescription":64,"updatedAt":65,"install":66,"resources":79},"01M6MCEJH56V8VXEC7R7J3P80B","htmx-security",null,"Review and harden security for htmx and server-driven web apps. Use when handling user-supplied HTML, escaping or sanitizing fragments, adding CSP, evaluating XSS risk, configuring CSRF or cookies, loading htmx from a CDN, using SRI hashes, accepting hx-* attributes from content, or reviewing htmx request headers and history caching.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-security\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],"security","htmx security","htmx","html","when","request","for","attributes","headers","loading","apps","caching","frontend","history","csrf","risk","xss","cookies","server","code","review","2026-11-10 10:12:30",false,"---\nname: htmx-security\ndescription: Review and harden security for htmx and server-driven web apps. Use when handling user-supplied HTML, escaping or sanitizing fragments, adding CSP, evaluating XSS risk, configuring CSRF or cookies, loading htmx from a CDN, using SRI hashes, accepting hx-* attributes from content, or reviewing htmx request headers and history caching.\nlicense: MIT\ncompatibility: Codex, Claude Code, and other Agent Skills-compatible clients.\nmetadata:\n  version: \"0.1.0\"\n  displayName: htmx Security\n  category: Frontend\n  tags: htmx,security,xss,csp,frontend\n---\n\n# htmx Security\n\nUse this skill before shipping htmx features that render user content, accept rich HTML, add third-party scripts, change Content Security Policy, or expose new mutation endpoints.\n\n## Threat Model\n\nhtmx keeps rendering on the server, but unsafe HTML is still unsafe HTML. A fragment swap can insert scripts, event handlers, dangerous URLs, or htmx attributes that cause requests. Treat every fragment as executable browser surface unless it is escaped or sanitized.\n\n## Baseline Rules\n\n- Escape user-supplied text by default.\n- Sanitize rich HTML on the server with a strict allowlist.\n- Strip or block `hx-*`, `data-hx-*`, `hx-on`, inline event handlers, `script`, dangerous URLs, and style features that the product does not explicitly allow.\n- Keep auth, authorization, and validation on the server.\n- Use CSRF protection for same-origin mutations.\n- Do not put secrets, privileged object IDs, or authorization decisions in HTML attributes.\n- Keep htmx requests same-origin unless CORS, CSRF, cookies, and credentials are deliberately designed.\n\n## User Content\n\nChoose one content policy:\n\n| User content type | Policy |\n| --- | --- |\n| Plain text | Escape and render as text |\n| Markdown | Render through a sanitizer and allow only safe tags\u002Fattributes |\n| Rich HTML | Sanitize with a narrow allowlist and strip htmx\u002Fevent\u002Fscript capabilities |\n| Trusted admin HTML | Still sanitize unless the trust boundary is documented and access is tightly controlled |\n\nDo not mark content safe merely because it was stored in the database earlier.\n\n## htmx-Specific Risks\n\n- User-controlled `hx-get`, `hx-post`, `hx-put`, `hx-patch`, `hx-delete`, or `hx-trigger` can create unintended requests.\n- User-controlled `hx-on` or inline handlers can execute JavaScript.\n- User-controlled `hx-vals` can smuggle unexpected parameters.\n- Fragment responses can replace more of the page than intended if targets are broad.\n- History caching can retain sensitive HTML on the client.\n\nUse `hx-history=\"false\"` on sensitive pages or containers that should not be stored in htmx history cache.\n\n## CSRF And Cookies\n\n- Prefer the framework's standard CSRF mechanism.\n- Configure htmx to send the CSRF header once in the base layout or startup script.\n- Keep CSRF tokens out of logs and analytics.\n- Use `Secure`, `HttpOnly`, and `SameSite` cookie settings appropriate to the app.\n- Avoid cross-site htmx mutations unless the app has a clear credential policy.\n\n## CDN And Script Loading\n\nPrefer vendored static assets for reproducibility. If loading htmx or extensions from a CDN:\n\n- pin the exact version;\n- include Subresource Integrity where possible;\n- set `crossorigin` when required by SRI;\n- document why CDN loading is acceptable for the app;\n- monitor version changes deliberately rather than floating to latest.\n\n## Content Security Policy\n\nDesign CSP around the actual frontend stack:\n\n- htmx can work with a strict CSP when inline scripts and unsafe eval are avoided.\n- Inline event handlers, `hx-on`, Alpine default builds, and `_hyperscript` can require looser policies unless replaced with CSP-compatible patterns.\n- Start with report-only mode for existing apps, then tighten.\n- Include reporting endpoints only when someone reviews reports.\n- Test swapped fragments under the final CSP, not just the initial page load.\n\n## Review Checklist\n\n- Are all mutation endpoints protected by auth, authorization, and CSRF?\n- Does every endpoint re-check permissions server-side?\n- Are user values escaped in fragments and full pages?\n- Is any rich content sanitized with an allowlist?\n- Can user content inject `hx-*`, `hx-on`, event handlers, scripts, or dangerous URLs?\n- Are sensitive fragments excluded from htmx history cache?\n- Are third-party scripts pinned and integrity-checked?\n- Does CSP match Alpine, `_hyperscript`, and htmx usage?\n- Do tests cover both htmx and non-htmx paths?\n\n## Testing Ideas\n\n- Submit text containing HTML tags and confirm it renders as text.\n- Submit sanitized rich content with attempted event handlers and htmx attributes.\n- Attempt unauthorized htmx mutations directly with forged headers.\n- Verify login redirects do not get swapped into small targets.\n- Run browser checks with CSP enabled and inspect violations.\n\n## Avoid\n\n- Do not rely on htmx headers as proof of trust.\n- Do not trust hidden inputs, `hx-vals`, or client-side state for authorization.\n- Do not allow user-authored htmx attributes in normal rich content.\n- Do not loosen CSP globally to fix one component without documenting the tradeoff.\n- Do not expose JSON or HTML endpoints with different authorization assumptions.\n","# htmx Security\n\nUse this skill before shipping htmx features that render user content, accept rich HTML, add third-party scripts, change Content Security Policy, or expose new mutation endpoints.\n\n## Threat Model\n\nhtmx keeps rendering on the server, but unsafe HTML is still unsafe HTML. A fragment swap can insert scripts, event handlers, dangerous URLs, or htmx attributes that cause requests. Treat every fragment as executable browser surface unless it is escaped or sanitized.\n\n## Baseline Rules\n\n- Escape user-supplied text by default.\n- Sanitize rich HTML on the server with a strict allowlist.\n- Strip or block `hx-*`, `data-hx-*`, `hx-on`, inline event handlers, `script`, dangerous URLs, and style features that the product does not explicitly allow.\n- Keep auth, authorization, and validation on the server.\n- Use CSRF protection for same-origin mutations.\n- Do not put secrets, privileged object IDs, or authorization decisions in HTML attributes.\n- Keep htmx requests same-origin unless CORS, CSRF, cookies, and credentials are deliberately designed.\n\n## User Content\n\nChoose one content policy:\n\n| User content type | Policy |\n| --- | --- |\n| Plain text | Escape and render as text |\n| Markdown | Render through a sanitizer and allow only safe tags\u002Fattributes |\n| Rich HTML | Sanitize with a narrow allowlist and strip htmx\u002Fevent\u002Fscript capabilities |\n| Trusted admin HTML | Still sanitize unless the trust boundary is documented and access is tightly controlled |\n\nDo not mark content safe merely because it was stored in the database earlier.\n\n## htmx-Specific Risks\n\n- User-controlled `hx-get`, `hx-post`, `hx-put`, `hx-patch`, `hx-delete`, or `hx-trigger` can create unintended requests.\n- User-controlled `hx-on` or inline handlers can execute JavaScript.\n- User-controlled `hx-vals` can smuggle unexpected parameters.\n- Fragment responses can replace more of the page than intended if targets are broad.\n- History caching can retain sensitive HTML on the client.\n\nUse `hx-history=\"false\"` on sensitive pages or containers that should not be stored in htmx history cache.\n\n## CSRF And Cookies\n\n- Prefer the framework's standard CSRF mechanism.\n- Configure htmx to send the CSRF header once in the base layout or startup script.\n- Keep CSRF tokens out of logs and analytics.\n- Use `Secure`, `HttpOnly`, and `SameSite` cookie settings appropriate to the app.\n- Avoid cross-site htmx mutations unless the app has a clear credential policy.\n\n## CDN And Script Loading\n\nPrefer vendored static assets for reproducibility. If loading htmx or extensions from a CDN:\n\n- pin the exact version;\n- include Subresource Integrity where possible;\n- set `crossorigin` when required by SRI;\n- document why CDN loading is acceptable for the app;\n- monitor version changes deliberately rather than floating to latest.\n\n## Content Security Policy\n\nDesign CSP around the actual frontend stack:\n\n- htmx can work with a strict CSP when inline scripts and unsafe eval are avoided.\n- Inline event handlers, `hx-on`, Alpine default builds, and `_hyperscript` can require looser policies unless replaced with CSP-compatible patterns.\n- Start with report-only mode for existing apps, then tighten.\n- Include reporting endpoints only when someone reviews reports.\n- Test swapped fragments under the final CSP, not just the initial page load.\n\n## Review Checklist\n\n- Are all mutation endpoints protected by auth, authorization, and CSRF?\n- Does every endpoint re-check permissions server-side?\n- Are user values escaped in fragments and full pages?\n- Is any rich content sanitized with an allowlist?\n- Can user content inject `hx-*`, `hx-on`, event handlers, scripts, or dangerous URLs?\n- Are sensitive fragments excluded from htmx history cache?\n- Are third-party scripts pinned and integrity-checked?\n- Does CSP match Alpine, `_hyperscript`, and htmx usage?\n- Do tests cover both htmx and non-htmx paths?\n\n## Testing Ideas\n\n- Submit text containing HTML tags and confirm it renders as text.\n- Submit sanitized rich content with attempted event handlers and htmx attributes.\n- Attempt unauthorized htmx mutations directly with forged headers.\n- Verify login redirects do not get swapped into small targets.\n- Run browser checks with CSP enabled and inspect violations.\n\n## Avoid\n\n- Do not rely on htmx headers as proof of trust.\n- Do not trust hidden inputs, `hx-vals`, or client-side state for authorization.\n- Do not allow user-authored htmx attributes in normal rich content.\n- Do not loosen CSP globally to fix one component without documenting the tradeoff.\n- Do not expose JSON or HTML endpoints with different authorization assumptions.\n",{"name":5,"license":15,"metadata":50,"description":7,"compatibility":55},{"tags":51,"version":52,"category":53,"displayName":54},"htmx,security,xss,csp,frontend","0.1.0","Frontend","htmx Security","Codex, Claude Code, and other Agent Skills-compatible clients.","main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-security",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":67,"prompt":77,"zipAvailable":78},[68,71,74],{"tool":69,"command":70},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill htmx-security",{"tool":72,"command":73},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill htmx-security",{"tool":75,"command":76},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill htmx-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-security\u002FSKILL.md",true,[80,86],{"path":81,"resourceType":82,"resourceTypeDesc":83,"sizeBytes":84,"sourceHtmlUrl":85},"agents\u002Fopenai.yaml","REFERENCE","参考文档",317,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-security\u002Fagents\u002Fopenai.yaml",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"assets\u002Ficons8-code.svg","ASSET","资产文件",460,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FLVTD-LLC\u002Fskills\u002Fskills\u002Fhtmx-security\u002Fassets\u002Ficons8-code.svg",[93,102,110,118,126,134],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":97,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":101},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":101},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":101},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":101},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":130,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":101},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":138,"sourceHtmlUrl":139,"categories":140,"keywords":141,"publishedAt":101},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]