chat-actions

chat-actions is a skill for Claude Code from maludb-ed/htmx-php-builder. It costs 77 tokens per session (2,758 once invoked), scanned A, original, MIT.

A voice-first command bar that lets users type or dictate natural-language requests, then routes them to application actions or navigation. It connects an LLM router to the application's own tools and endpoints.

In plain words
What is it for?
Use it when building or extending an assistant command bar, action router, navigation system, or MCP tools for application operations.
Why use it?
It lets users perform actions or move around an application without finding every control manually, while using the current screen as context.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the htmx-php-builder plugin — 9 skills shipped together

Good fit Use it when building or extending an assistant command bar, action router, navigation system, or MCP tools for application operations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maludb-ed/htmx-php-builder/chat-actions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add maludb-ed/htmx-php-builder --skill chat-actions
Clone the repo
git clone --depth 1 https://github.com/maludb-ed/htmx-php-builder

Made for: Claude Code.

Or install htmx-php-builder, the plugin that ships this one along with the rest of its 9 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for chat-actions

README.md
[![agentmods](https://agentmods.dev/badge/skills/maludb-ed/htmx-php-builder/chat-actions/github.svg)](https://agentmods.dev/skills/maludb-ed/htmx-php-builder/chat-actions)
Your own site
<a href="https://agentmods.dev/skills/maludb-ed/htmx-php-builder/chat-actions"><img src="https://agentmods.dev/badge/skills/maludb-ed/htmx-php-builder/chat-actions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for chat-actions

Your own site · 80×15
<a href="https://agentmods.dev/skills/maludb-ed/htmx-php-builder/chat-actions"><img src="https://agentmods.dev/badge/skills/maludb-ed/htmx-php-builder/chat-actions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,758 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00077 $0.02758
Opus 5.5 $0.00031 $0.01103
Sonnet 5.5 $0.00015 $0.00552
Haiku 4.5 $0.00008 $0.00276

Measured 1mo ago against content hash c3b0f39334de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

chat-actions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/chat-actions/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Chat Actions — voice-to-data and voice-to-navigation

Every application ships a persistent chat command bar. The user says (or types) what they want — "record three sets of bench press at 45 pounds", "navigate to the screen to create a new exercise" — and the assistant does it, using both the utterance and the context of the screen they're on. Input is chat-shaped but voice-first: users dictate via tools like Wispr Flow, so utterances are conversational, unpunctuated, and reference the visible screen ("add ten pounds to that").

Architecture: LLM router → MCP tools → the app's own endpoints

Every screen: fixed bottom command bar (#assistant-bar)
   │ hx-post /assistant/message.php  (+ screen context)
   ▼
PHP handler (session auth, CSRF, activity log; mints a signed action token)
   ▼
Unified assistant service — Python, Claude Agent SDK (the SAME agent as AMA)
   │ LLM processes the utterance and routes it by activating an MCP tool
   ▼
{app}_actions_mcp  (Python + FastMCP, localhost-only)      + the two read servers
   ├─ navigate(screen, …)      → resolves via the screen registry, returns a directive
   ├─ {entity}_{action}(…)     → POSTs to the app's own PHP endpoints (action token)
   └─ undo_last(…)             → inverse action from the manifest + activity log
  • One unified assistant. The AMA page and the command bar are two surfaces of the same Agent SDK service: read tools (record/activity MCP servers), action tools, and navigation. One conversation memory per user; questions, actions, and navigation mix freely in a single utterance.
  • The router is the LLM; the tools are MCP. The agent never navigates or writes by itself — it activates a tool on the actions MCP server. Tool descriptions carry the routing knowledge (which screen/action serves which intent), so routing quality is a Phase 1 design artifact, not prompt luck.
  • Actions go through the app's own controllers. The actions server's tools call the same /var/www/html/{feature}/save.php-style endpoints a human uses — same validation, same authorization, same activity logging. The read MCP servers stay strictly read-only; nothing ever writes around the PHP layer.
  • The actions server is localhost-only — unlike the client-facing read servers, it acts as a user and is reachable only by the assistant service. Per-request authority comes from a short-lived HMAC-signed action token minted by the PHP handler (user id + expiry); internal endpoints accept it in place of the session and enforce the same authorization.

Read the full file on GitHub · 108 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed c3b0f39334de
  2. 2mo ago Changed · +13 lines 29e502d79c0a
  3. 3mo ago First seen · 95 lines · 77 tokens per session scan A b0efe6b86611

Subscribe to this mod's changes

chat-actions is a skill published in the GitHub repository maludb-ed/htmx-php-builder (9 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 2,758 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

chat-actions compared with skills from other repositories

chat-actions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chat-actionsmaludb-ed/htmx-php-builderSkill91mo agoMITA77Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code