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.
npx agentmods add skills/maludb-ed/htmx-php-builder/chat-actionsnpx skills add maludb-ed/htmx-php-builder --skill chat-actionsgit clone --depth 1 https://github.com/maludb-ed/htmx-php-builderWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00077 | $0.02348 |
| Opus 5 | $0.00039 | $0.01174 |
| Sonnet 5 | $0.00015 | $0.00470 |
| Haiku 4.5 | $0.00008 | $0.00235 |
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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 95 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.
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.
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.
- 3d ago First seen · 95 lines · 77 tokens per session scan A b0efe6b86611
chat-actions is a skill published in the GitHub repository maludb-ed/htmx-php-builder (8 stars, last pushed 27d ago), licensed MIT. It adds 77 tokens to every session and 2,348 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
auto-perf-optimize
Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.
chat-perf
Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…