[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MCEJH56V8VXEC7R7J3P80B":3,"skill-same:01M6MCEJH56V8VXEC7R7J3P80B":87},{"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":18,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":74},"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",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"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":45,"description":7,"compatibility":50},{"tags":46,"version":47,"category":48,"displayName":49},"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":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill htmx-security",{"tool":67,"command":68},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill htmx-security",{"tool":70,"command":71},"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,[75,81],{"path":76,"resourceType":77,"resourceTypeDesc":78,"sizeBytes":79,"sourceHtmlUrl":80},"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":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"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",[88,97,105,113,121,129],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":92,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":96},"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":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":96},"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":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":109,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":96},"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":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":117,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":96},"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":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":125,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":96},"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":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":133,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":96},"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",[],[]]