module:assistant

module:assistant is a skill for Claude Code, Codex from escapeboy/ai-prompts. It costs 24 tokens per session (5,949 once invoked), scanned A, original, MIT.

A module for embedding an AI assistant chat panel in a Laravel application. The panel can stream responses, keep conversation history, understand application context, call registered tools, and connect to several AI providers.

In plain words
What is it for?
Use it to analyze a Laravel project, build the assistant's database and interface, or generate a tool registry for an existing assistant using Livewire and PrismPHP.
Why use it?
It provides a defined implementation path for adding an assistant that can work with the application's data and actions instead of only answering standalone questions.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/escapeboy/ai-prompts/module-assistant
Any agent
npx skills add escapeboy/ai-prompts --skill module-assistant
Clone the repo
git clone --depth 1 https://github.com/escapeboy/ai-prompts

Made for: Claude Code, Codex.

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 module:assistant

README.md
[![agentmods](https://agentmods.dev/badge/skills/escapeboy/ai-prompts/module-assistant.svg)](https://agentmods.dev/skills/escapeboy/ai-prompts/module-assistant)
Your own site
<a href="https://agentmods.dev/skills/escapeboy/ai-prompts/module-assistant"><img src="https://agentmods.dev/badge/skills/escapeboy/ai-prompts/module-assistant.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,949 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00024 $0.05949
Opus 5 $0.00012 $0.02975
Sonnet 5 $0.00005 $0.01190
Haiku 4.5 $0.00002 $0.00595

Measured 6d ago against content hash d8e564878337, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

module:assistant 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 6d 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.

03-custom-skills/examples/module-assistant/SKILL.md · 762 lines

How it starts

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

Module: AI Assistant

Implement an AI-powered assistant chat panel embedded in your Laravel application. The assistant understands your domain, can execute tools to read/write data, and supports multiple LLM providers including local agents.

Reference implementation: Agent Fleet — Livewire panel with streaming, PrismPHP tool calling, local agent support (Claude Code text-based <tool_call> loop, Codex via MCP), conversation history, context awareness.


Usage

/module:assistant [action]

Quick Examples

/module:assistant                # Full implementation
/module:assistant analyze        # Only analyze and produce a component plan
/module:assistant tools          # Only generate the tool registry (add to existing assistant)

Actions

1. Full Implementation (Default)

Implements the complete assistant: database, backend, tools, frontend.

Process:

Phase 1: Analyze the Project
  1. Read CLAUDE.md to understand the domain, models, and architecture.

  2. Check prerequisites:

    • Livewire 3+ installed? (composer show livewire/livewire)
    • PrismPHP installed? (composer show prism-php/prism)
    • Alpine.js available? (comes with Livewire)
    • Tailwind CSS configured?
  3. If MCP is already set up (from /module:mcp): the assistant can reference MCP tools for local agents that support MCP natively (e.g. Codex).

  4. Identify domain tools — the assistant needs tools to interact with your data. Scan models and actions to plan what tools to create (same analysis as /module:mcp analyze).

  5. Decide the tool strategy:

    • Cloud LLMs (Anthropic, OpenAI): Use PrismPHP Tool objects — native function calling.
    • Claude Code (local): Use text-based <tool_call> format — system prompt describes tool schemas, responses parsed for <tool_call> tags.
    • Codex (local): Use MCP natively — connect to your MCP server (requires /module:mcp first).
Phase 2: Database

Create the migration for assistant conversations and messages.

Read the full file on GitHub · 762 lines

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. 6d ago First seen · 762 lines · 24 tokens per session scan A d8e564878337

Subscribe to this mod's changes

module:assistant is a skill published in the GitHub repository escapeboy/ai-prompts (91 stars, last pushed 10d ago), licensed MIT. It adds 24 tokens to every session and 5,949 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

powergrid-theme

Create or update a PowerGrid v7 theme using the Theme abstract class, per-section token methods (layout/header/table/footer/cols/tabs plus filter/editable/toggleable), config themeoverrides, or ArrayTheme.

Power-Components/livewire-powergrid · 49 tokens

upgrade-theme-v6-to-v7

Migrates a v6 Theme class to the v7 architecture: a tiny struct() plus per-section token methods (layout/header/table/footer/cols/tabs + filter/editable/toggleable) with parentTheme inheritance.

Power-Components/livewire-powergrid · 52 tokens

create-powergrid-plugin

Create a complete PowerGrid plugin from scratch, including PHP class, Column macro, Blade view, Alpine.js component, and registration.

Power-Components/livewire-powergrid · 31 tokens

livewire-development

Use for any task or question involving Livewire. Activate if user mentions Livewire, wire: directives, or Livewire-specific concepts like wire:model, wire:click, wire:sort, or islands, invoke this skill. Covers building new components, debugging reactivity issues, real-time form validation, drag-and-drop, loading…

liberusoftware/real-estate-laravel · 126 tokens

octane-development

Use this skill when working with Laravel Octane, a long-running PHP worker server (Swoole, FrankenPHP, RoadRunner) where the application boots once and serves many requests instead of rebooting for each request like PHP-FPM. Trigger when installing Octane or starting its server; configuring or detecting the active…

liberusoftware/real-estate-laravel · 120 tokens

pest-testing

Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Always activate when the user asks how to…

liberusoftware/real-estate-laravel · 187 tokens