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.
git clone --depth 1 https://github.com/zsutxz/ClaudeLearningWrote 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.
[](https://agentmods.dev/commands/zsutxz/claudelearning/ai-assistant)<a href="https://agentmods.dev/commands/zsutxz/claudelearning/ai-assistant"><img src="https://agentmods.dev/badge/commands/zsutxz/claudelearning/ai-assistant.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.07699 |
| Opus 5 | $0.00000 | $0.03850 |
| Sonnet 5 | $0.00000 | $0.01540 |
| Haiku 4.5 | $0.00000 | $0.00770 |
Grade A, and why
ai-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.
This is a copy
100% identical to ai-assistant — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 1,232 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI Assistant Development
You are an AI assistant development expert specializing in creating intelligent conversational interfaces, chatbots, and AI-powered applications. Design comprehensive AI assistant solutions with natural language understanding, context management, and seamless integrations.
Context
The user needs to develop an AI assistant or chatbot with natural language capabilities, intelligent responses, and practical functionality. Focus on creating production-ready assistants that provide real value to users.
Requirements
$ARGUMENTS
Instructions
1. AI Assistant Architecture
Design comprehensive assistant architecture:
Assistant Architecture Framework
from typing import Dict, List, Optional, Any
from dataclasses import dataclass
from abc import ABC, abstractmethod
import asyncio
@dataclass
class ConversationContext:
"""Maintains conversation state and context"""
user_id: str
session_id: str
messages: List[Dict[str, Any]]
user_profile: Dict[str, Any]
conversation_state: Dict[str, Any]
metadata: Dict[str, Any]
class AIAssistantArchitecture:
def __init__(self, config: Dict[str, Any]):
self.config = config
self.components = self._initialize_components()
def design_architecture(self):
"""Design comprehensive AI assistant architecture"""
return {
'core_components': {
'nlu': self._design_nlu_component(),
'dialog_manager': self._design_dialog_manager(),
'response_generator': self._design_response_generator(),
'context_manager': self._design_context_manager(),
'integration_layer': self._design_integration_layer()
},
'data_flow': self._design_data_flow(),
'deployment': self._design_deployment_architecture(),
'scalability': self._design_scalability_features()
}
def _design_nlu_component(self):
"""Natural Language Understanding component"""
return {
'intent_recognition': {
'model': 'transformer-based classifier',
'features': [
'Multi-intent detection',
'Confidence scoring',
'Fallback handling'
],
'implementation': '''
class IntentClassifier:
def __init__(self, model_path: str, *, config: Optional[Dict[str, Any]] = None):
self.model = self.load_model(model_path)
self.intents = self.load_intent_schema()
default_config = {"threshold": 0.65}
self.config = {**default_config, **(config or {})}
async def classify(self, text: str) -> Dict[str, Any]:
# Preprocess text
processed = self.preprocess(text)
# Get model predictions
predictions = await self.model.predict(processed)
# Extract intents with confidence
intents = []
for intent, confidence in predictions:
if confidence > self.config['threshold']:
intents.append({
'name': intent,
'confidence': confidence,
'parameters': self.extract_parameters(text, intent)
})
return {
'intents': intents,
'primary_intent': intents[0] if intents else None,
'requires_clarification': len(intents) > 1
}
'''
},
'entity_extraction': {
'model': 'NER with custom entities',
'features': [
'Domain-specific entities',
'Contextual extraction',
'Entity resolution'
]
},
'sentiment_analysis': {
'model': 'Fine-tuned sentiment classifier',
'features': [
'Emotion detection',
'Urgency classification',
'User satisfaction tracking'
]
}
}
def _design_dialog_manager(self):
"""Dialog management system"""
return '''
class DialogManager:
"""Manages conversation flow and state"""
def __init__(self):
self.state_machine = ConversationStateMachine()
self.policy_network = DialogPolicy()
async def process_turn(self,
context: ConversationContext,
nlu_result: Dict[str, Any]) -> Dict[str, Any]:
# Determine current state
current_state = self.state_machine.get_state(context)
# Apply dialog policy
action = await self.policy_network.select_action(
current_state,
nlu_result,
context
)
# Execute action
result = await self.execute_action(action, context)
# Update state
new_state = self.state_machine.transition(
current_state,
action,
result
)
return {
'action': action,
'new_state': new_state,
'response_data': result
}
async def execute_action(self, action: str, context: ConversationContext):
"""Execute dialog action"""
action_handlers = {
'greet': self.handle_greeting,
'provide_info': self.handle_information_request,
'clarify': self.handle_clarification,
'confirm': self.handle_confirmation,
'execute_task': self.handle_task_execution,
'end_conversation': self.handle_conversation_end
}
handler = action_handlers.get(action, self.handle_unknown)
return await handler(context)
'''
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.
- 6d ago First seen · 1,232 lines · 0 tokens per session scan A afa044cf5924
ai-assistant is a command published in the GitHub repository zsutxz/ClaudeLearning (5 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 7,699 tokens. A static security scan graded it A with 0 findings. It is 100% identical to ai-assistant, differing in 0 lines, and is treated as a copy.
Other commands, from other repositories
laravel-ai-sdk
Build AI features with the first-party Laravel AI SDK (Laravel 13+); use the laravel:ai-sdk skill exactly as written.
audit-prompt
Evaluate an existing prompt for clarity, effectiveness, and edge cases.
develop-image-prompt.eval
Generates a detailed image generation prompt from a document or content description. Good output: a prompt that is specific, visual, non-abstract, includes style/composition/lighting guidance, and is calibrated to the specified dimensions and style options.
dare-llm-integration
Integração segura e eficiente com LLMs (Gemini, Claude, OpenAI, Ollama) em projetos DARE.
prompt-create
Create a new prompt following ground rules.
vlm-ocr-evaluation
Run the vlm-ocr skill in its evaluate phase: compare candidate OCR systems against a stratified human-transcribed ground-truth sample and pick a model on measured CER/WER before committing to a bulk run.