htmx-skill
Documentation for the htmx JavaScript library (attributes, events, headers, API, extensions, examples, migration guides, server examples). Use when you need accurate htmx syntax/behavior or to locate the right reference page for an htmx question.
What this skill does
# htmx Reference Use the index below to open the most specific page for the user's question. Search the local `references/` folder with `rg` when unsure which page contains the answer. ## Reference Index ### General - **Events**: Documentation page - Reference: [events.md](references/events.md) - **Javascript API**: This documentation describes the JavaScript API for htmx, including methods and properties for configuring the behavior of htmx, working with CSS classes, AJAX requests, event handling, and DOM manipulation. The API provides helper functions primarily intended for extension development and event management. - Reference: [api.md](references/api.md) ### Attributes - **hx-boost**: The hx-boost attribute in htmx enables progressive enhancement by converting standard HTML anchors and forms into AJAX requests, maintaining graceful fallback for users without JavaScript while providing modern dynamic page updates for those with JavaScript enabled. - Reference: [attributes/hx-boost.md](references/attributes/hx-boost.md) - **hx-confirm**: The hx-confirm attribute in htmx provides a way to add confirmation dialogs before executing requests, allowing you to protect users from accidental destructive actions. This documentation explains how to implement confirmation prompts and customize their behavior through event handling. - Reference: [attributes/hx-confirm.md](references/attributes/hx-confirm.md) - **hx-delete**: The hx-delete attribute in htmx will cause an element to issue a DELETE request to the specified URL and swap the returned HTML into the DOM using a swap strategy. - Reference: [attributes/hx-delete.md](references/attributes/hx-delete.md) - **hx-disable**: The hx-disable attribute in htmx will disable htmx processing for a given element and all its children. - Reference: [attributes/hx-disable.md](references/attributes/hx-disable.md) - **hx-disabled-elt**: The hx-disabled-elt attribute in htmx allows you to specify elements that will have the `disabled` attribute added to them for the duration of the request. - Reference: [attributes/hx-disabled-elt.md](references/attributes/hx-disabled-elt.md) - **hx-disinherit**: The hx-disinherit attribute in htmx lets you control how child elements inherit attributes from their parents. This documentation explains how to selectively disable inheritance of specific htmx attributes or all attributes, allowing for more granular control over your web application's behavior. - Reference: [attributes/hx-disinherit.md](references/attributes/hx-disinherit.md) - **hx-encoding**: The hx-encoding attribute in htmx allows you to switch the request encoding from the usual `application/x-www-form-urlencoded` encoding to `multipart/form-data`, usually to support file uploads in an AJAX request. - Reference: [attributes/hx-encoding.md](references/attributes/hx-encoding.md) - **hx-ext**: The hx-ext attribute in htmx enables one or more htmx extensions for an element and all its children. You can also use this attribute to ignore an extension that is enabled by a parent element. - Reference: [attributes/hx-ext.md](references/attributes/hx-ext.md) - **hx-get**: The hx-get attribute in htmx will cause an element to issue a GET request to the specified URL and swap the returned HTML into the DOM using a swap strategy. - Reference: [attributes/hx-get.md](references/attributes/hx-get.md) - **hx-headers**: The hx-headers attribute in htmx allows you to add to the headers that will be submitted with an AJAX request. - Reference: [attributes/hx-headers.md](references/attributes/hx-headers.md) - **hx-history**: The hx-history attribute in htmx allows you to prevent sensitive page data from being stored in the browser's localStorage cache during history navigation, ensuring that the page state is retrieved from the server instead when navigating through history. - Reference: [attributes/hx-history.md](references/attributes/hx-history.md) - **hx-history-elt**: The hx-history-elt attribute in htmx allows you to specify the element that will be used to snapshot and restore page state during navigation. In most cases we do not recommend using this element. - Reference: [attributes/hx-history-elt.md](references/attributes/hx-history-elt.md) - **hx-include**: The hx-include attribute in htmx allows you to include additional element values in an AJAX request. - Reference: [attributes/hx-include.md](references/attributes/hx-include.md) - **hx-indicator**: The hx-indicator attribute in htmx allows you to specify the element that will have the `htmx-request` class added to it for the duration of the request. This can be used to show spinners or progress indicators while the request is in flight. - Reference: [attributes/hx-indicator.md](references/attributes/hx-indicator.md) - **hx-inherit**: The hx-inherit attribute in htmx allows you to explicitly control attribute inheritance behavior between parent and child elements, providing fine-grained control over which htmx attributes are inherited when the default inheritance system is disabled through configuration. - Reference: [attributes/hx-inherit.md](references/attributes/hx-inherit.md) - **hx-on**: The hx-on attributes in htmx allow you to write inline JavaScript event handlers directly on HTML elements, supporting both standard DOM events and htmx-specific events with improved locality of behavior. - Reference: [attributes/hx-on.md](references/attributes/hx-on.md) - **hx-params**: The hx-params attribute in htmx allows you to filter the parameters that will be submitted with an AJAX request. - Reference: [attributes/hx-params.md](references/attributes/hx-params.md) - **hx-patch**: The hx-patch attribute in htmx will cause an element to issue a PATCH request to the specified URL and swap the returned HTML into the DOM using a swap strategy. - Reference: [attributes/hx-patch.md](references/attributes/hx-patch.md) - **hx-post**: The hx-post attribute in htmx will cause an element to issue a POST request to the specified URL and swap the returned HTML into the DOM using a swap strategy. - Reference: [attributes/hx-post.md](references/attributes/hx-post.md) - **hx-preserve**: The hx-preserve attribute in htmx allows you to keep an element unchanged during HTML replacement. Elements with hx-preserve set are preserved by `id` when htmx updates any ancestor element. - Reference: [attributes/hx-preserve.md](references/attributes/hx-preserve.md) - **hx-prompt**: The hx-prompt attribute in htmx allows you to show a prompt before issuing a request. The value of the prompt will be included in the request in the `HX-Prompt` header. - Reference: [attributes/hx-prompt.md](references/attributes/hx-prompt.md) - **hx-push-url**: The hx-push-url attribute in htmx allows you to push a URL into the browser location history. This creates a new history entry, allowing navigation with the browser's back and forward buttons. - Reference: [attributes/hx-push-url.md](references/attributes/hx-push-url.md) - **hx-put**: The hx-put attribute in htmx will cause an element to issue a PUT request to the specified URL and swap the returned HTML into the DOM using a swap strategy. - Reference: [attributes/hx-put.md](references/attributes/hx-put.md) - **hx-replace-url**: The hx-replace-url attribute in htmx allows you to replace the current URL of the browser location history. - Reference: [attributes/hx-replace-url.md](references/attributes/hx-replace-url.md) - **hx-request**: The hx-request attribute in htmx allows you to configure the request timeout, whether the request will send credentials, and whether the request will include headers. - Reference: [attributes/hx-request.md](references/attributes/hx-request.md) - **hx-select**: The hx-select attribute in htmx allows you to select the content you want swapped from a response. - Reference: [attributes/hx-select.md](references/attributes/hx-select.md) - **hx-select-oob**: The hx
Related in Backend & APIs
jfrog
IncludedInteract with the JFrog Platform via the JFrog CLI and REST/GraphQL APIs. Use this skill when the user wants to manage Artifactory repositories, upload or download artifacts, manage builds, configure permissions, manage users and groups, work with access tokens, configure JFrog CLI servers, search artifacts, manage properties, set up replication, manage JFrog Projects, run security audits or scans, look up CVE details, query exposures scan results from JFrog Advanced Security, manage release bundles and lifecycle operations, aggregate or export platform data, or perform any JFrog Platform administration task. Also use when the user mentions jf, jfrog, artifactory, xray, distribution, evidence, apptrust, onemodel, graphql, workers, mission control, curation, advanced security, exposures, or any JFrog product name.
cupynumeric-migration-readiness
IncludedPre-migration readiness assessor for porting NumPy to cuPyNumeric. Use BEFORE substantial porting work begins when the user asks whether code will scale on GPU, whether they should migrate to cuPyNumeric, which NumPy patterns transfer cleanly, what must be refactored before porting, or mentions pre-port assessment, scaling analysis, or refactor planning. Inspect the user's source code, look up NumPy usage, cross-reference the cuPyNumeric API support manifest, and distinguish distributed-scaling-friendly patterns from blockers such as unsupported APIs, scalar synchronization, host round-trips, Python/object-heavy control flow, shape/data-dependent branching, and in-place mutation hazards. Produce a verdict of READY, LIGHT REFACTOR, SIGNIFICANT REFACTOR, or NOT RECOMMENDED, with concrete refactor pointers.
alibabacloud-data-agent-skill
IncludedInvoke Alibaba Cloud Apsara Data Agent for Analytics via CLI to perform natural language-driven data analysis on enterprise databases. Data Agent for Analytics is an intelligent data analysis agent developed by Alibaba Cloud Database team for enterprise users. It automatically completes requirement analysis, data understanding, analysis insights, and report generation based on natural language descriptions. This tool supports: discovering data resources (instances/databases/tables) managed in DMS, initiating query or deep analysis sessions, real-time progress tracking, and retrieving analysis conclusions and generated reports. Use this Skill when users need to query databases, analyze data trends, generate data reports, ask questions in natural language, or mention "Data Agent", "data analysis", "database query", "SQL analysis", "data insights".
token-optimizer
IncludedReduce OpenClaw token usage and API costs through smart model routing, heartbeat optimization, budget tracking, and native 2026.2.15 features (session pruning, bootstrap size limits, cache TTL alignment). Use when token costs are high, API rate limits are being hit, or hosting multiple agents at scale. The 4 executable scripts (context_optimizer, model_router, heartbeat_optimizer, token_tracker) are local-only — no network requests, no subprocess calls, no system modifications. Reference files (PROVIDERS.md, config-patches.json) document optional multi-provider strategies that require external API keys and network access if you choose to use them. See SECURITY.md for full breakdown.
resend-cli
IncludedUse this skill when the task is specifically about operating Resend from an AI agent, terminal session, or CI job via the official resend CLI: installing/authenticating the CLI, sending/listing/updating/cancelling emails, batch sends, domains and DNS, webhooks and local listeners, inbound receiving, contacts, topics, segments, broadcasts, templates, API keys, profiles, or debugging Resend CLI/API failures. Trigger on mentions of Resend CLI, `resend`, `resend doctor`, `resend emails send`, `resend domains`, `resend webhooks listen`, `resend emails receiving`, or agent-friendly terminal automation.
alibabacloud-odps-maxframe-coding
IncludedUse this skill for MaxFrame SDK development and documentation navigation on Alibaba Cloud MaxCompute (ODPS). Helps answer MaxFrame API, concept, official example, and supported pandas API questions; create data processing programs; read/write MaxCompute tables; debug jobs (remote or local); and build custom DPE runtime images. Trigger when users mention MaxFrame, MaxCompute with MaxFrame, ODPS table processing, DPE runtime, MaxFrame docs/examples, DataFrame/Tensor operations, or GPU runtime setup. Works for both English and Chinese queries about Alibaba Cloud data processing with MaxFrame.