escapeboy/claude-code-kit/module-assistant
Claude Code and agent skill by escapeboy/claude-code-kit
- community
Checking that the SKILL.md file is still in the repository.
Add an AI assistant chat panel to any Laravel project — with tool calling, streaming, and MCP support
Install
npx vskill@latest install escapeboy/claude-code-kit/module-assistantSKILL.md
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
Quick Examples
Actions
1. Full Implementation (Default)
Implements the complete assistant: database, backend, tools, frontend.
Process:
Phase 1: Analyze the Project
- Read CLAUDE.md to understand the domain, models, and architecture.
- 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?
- 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).
- 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).
- 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:mcpfirst).
Phase 2: Database
Create the migration for assistant conversations and messages.
Migration:
Models:
Phase 3: Assistant Tools (PrismPHP)
Create tool classes that the assistant can call. These are PrismPHP Tool objects, NOT MCP tools (MCP tools are for external agents; PrismPHP tools are for in-process tool calling).
Tool registry at app/Domain/Assistant/Services/AssistantToolRegistry.php:
Tool implementation pattern (PrismPHP tools):
Group tools by concern: ListTools, GetTools, MutationTools, StatusTools. Each returns an array of Prism\Prism\Tool objects.
Phase 4: Core Services
ConversationManager — handles conversation CRUD and message history:
ContextResolver — injects page-level context into the system prompt:
SendAssistantMessageAction — the core action that orchestrates everything:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking03-custom-skills/examples/module-assistant/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/escapeboy/claude-code-kit/module-assistant)