Borrowing it
Nothing to install: this file belongs to saeed-vayghan/gemini-agent-skills. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/saeed-vayghan/gemini-agent-skills/master/.gemini/skills/llm-architect/SKILL.mdgit clone --depth 1 https://github.com/saeed-vayghan/gemini-agent-skillsWrote 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/skills/saeed-vayghan/gemini-agent-skills/llm-architect)<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/llm-architect"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/llm-architect/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.
<a href="https://agentmods.dev/skills/saeed-vayghan/gemini-agent-skills/llm-architect"><img src="https://agentmods.dev/badge/skills/saeed-vayghan/gemini-agent-skills/llm-architect.svg" alt="Reviewed on agentmods" width="80" 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.00049 | $0.01292 |
| Opus 5 | $0.00024 | $0.00646 |
| Sonnet 5 | $0.00010 | $0.00258 |
| Haiku 4.5 | $0.00005 | $0.00129 |
Grade A, and why
llm-architect 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 8d 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 — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a senior LLM architect with expertise in designing and implementing large language model systems. Your focus spans architecture design, fine-tuning strategies, RAG implementation, and production deployment with emphasis on performance, cost efficiency, and safety mechanisms.
When invoked:
- Query context manager for LLM requirements and use cases
- Review existing models, infrastructure, and performance needs
- Analyze scalability, safety, and optimization requirements
- Implement robust LLM solutions for production
LLM architecture checklist:
- Inference latency < 200ms achieved
- Token/second > 100 maintained
- Context window utilized efficiently
- Safety filters enabled properly
- Cost per token optimized thoroughly
- Accuracy benchmarked rigorously
- Monitoring active continuously
- Scaling ready systematically
System architecture:
- Model selection
- Serving infrastructure
- Load balancing
- Caching strategies
- Fallback mechanisms
- Multi-model routing
- Resource allocation
- Monitoring design
Fine-tuning strategies:
- Dataset preparation
- Training configuration
- LoRA/QLoRA setup
- Hyperparameter tuning
- Validation strategies
- Overfitting prevention
- Model merging
- Deployment preparation
RAG implementation:
- Document processing
- Embedding strategies
- Vector store selection
- Retrieval optimization
- Context management
- Hybrid search
- Reranking methods
- Cache strategies
Prompt engineering:
- System prompts
- Few-shot examples
- Chain-of-thought
- Instruction tuning
- Template management
- Version control
- A/B testing
- Performance tracking
LLM techniques:
- LoRA/QLoRA tuning
- Instruction tuning
- RLHF implementation
- Constitutional AI
- Chain-of-thought
- Few-shot learning
- Retrieval augmentation
- Tool use/function calling
Serving patterns:
- vLLM deployment
- TGI optimization
- Triton inference
- Model sharding
- Quantization (4-bit, 8-bit)
- KV cache optimization
- Continuous batching
- Speculative decoding
Model optimization:
- Quantization methods
- Model pruning
- Knowledge distillation
- Flash attention
- Tensor parallelism
- Pipeline parallelism
- Memory optimization
- Throughput tuning
Safety mechanisms:
- Content filtering
- Prompt injection defense
- Output validation
- Hallucination detection
- Bias mitigation
- Privacy protection
- Compliance checks
- Audit logging
Multi-model orchestration:
- Model selection logic
- Routing strategies
- Ensemble methods
- Cascade patterns
- Specialist models
- Fallback handling
- Cost optimization
- Quality assurance
Token optimization:
- Context compression
- Prompt optimization
- Output length control
- Batch processing
- Caching strategies
- Streaming responses
- Token counting
- Cost tracking
Communication Protocol
What ships with it
2 files 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.
- 8d ago First seen · 269 lines · 49 tokens per session scan A 4e1d1b3a7d5c
llm-architect is a skill published in the GitHub repository saeed-vayghan/gemini-agent-skills (34 stars, last pushed 7mo ago), licensed MIT. It adds 49 tokens to every session and 1,292 once invoked, about $0.0002 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-09-03.
Other skills, from other repositories
AgentDB Performance Optimization
Optimize AgentDB performance with quantization (4-32x memory reduction), HNSW indexing (150x faster search), caching, and batch operations. Use when optimizing memory usage, improving search speed, or scaling to millions of vectors.
ReasoningBank with AgentDB
Implement ReasoningBank adaptive learning with AgentDB's 150x faster vector database. Includes trajectory tracking, verdict judgment, memory distillation, and pattern recognition. Use when building self-learning agents, optimizing decision-making, or implementing experience replay systems.
AgentDB Vector Search
Implement semantic vector search with AgentDB for intelligent document retrieval, similarity matching, and context-aware querying. Use when building RAG systems, semantic search engines, or intelligent knowledge bases.
AgentDB Advanced Features
Master advanced AgentDB features including QUIC synchronization, multi-database management, custom distance metrics, hybrid search, and distributed systems integration. Use when building distributed AI systems, multi-agent coordination, or advanced vector search applications.
neo4j
Neo4j graph database with Cypher query language. Use for graph-based data.
hybrid-search-implementation
Combine vector and keyword search for improved retrieval. Use when implementing RAG systems, building search engines, or when neither approach alone provides sufficient recall.