More screenshots
Works with the AI Agents you already use
llm foundations
by NAUSHAD ALI
Master LLM internals through a dependency-aware mental model covering architecture, training, and system integration.
$7.99
llm foundations
Example session with this skill installed
Explain the difference between fine-tuning and RAG in terms of how they affect the model's internal state and its ability to handle new information.
- Read your context and instructions
- Compiled the llm foundations
The primary difference lies in whether you are modifying the model's learned parameters (weights) or providing transient context during the inference cycle.
LLM Adaptation Comparison
| Feature | Fine-Tuning | Retrieval-Augmented Generation (RAG) |
|---|---|---|
| Internal State | Updates model parameters (weights) via optimization. | Parameters remain static; state is held in the prompt context. |
| Data Persistence | Information is "baked into" the model weights. | Information is transient and must be retrieved per query. |
| Update Frequency | High latency/cost; requires retraining or adaptation cycles. | Near real-time; updates as soon as the vector database changes. |
| Mechanism | Gradient descent minimizes loss on a specific dataset. | Semantic search identifies relevant chunks to inject into the input. |
| Failure Mode | Catastrophic forgetting or hallucinating stale training data. | Retrieval of irrelevant context or exceeding the context window. |
Causal Reasoning
- Fine-Tuning is an architectural update. It changes how the model represents certain concepts internally. Use this when you need to change the model's behavior, tone, or format adherence.
- RAG is a system-level pattern. It leverages the model's existing ability to process context. Use this when you need to provide the model with facts or private data that change frequently.
Next steps
- Determine if your use case requires changing "how" the model speaks (Fine-Tuning) or "what" it knows (RAG).
- Trace the data flow for a RAG system to see how retrieval quality impacts the final token distribution.
- Explore Parameter-Efficient Fine-Tuning (PEFT) like LoRA if you need weight updates without full retraining costs.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Developers often struggle with LLM implementations because they rely on fragmented definitions rather than a cohesive mental model. Without understanding the causal dependencies between tokenization, attention, and inference, debugging RAG pipelines or fine-tuning models becomes guesswork.
What it does
- Constructs dependency-aware learning paths that explain how LLM components like embeddings and transformers connect.
- Explains the internal data flow of mechanisms rather than just providing static definitions.
- Distinguishes between pretraining, fine-tuning, prompting, and RAG based on what actually changes inside the system.
- Identifies specific failure modes in architectures and retrieval systems to improve root-cause analysis.
- Validates understanding through mechanism tracing and 'what-if' scenarios to ensure conceptual mastery.
Why this beats prompting it yourself
Standard prompts often produce surface-level analogies or hallucinated technical specs. This skill enforces a rigorous protocol that separates established facts from inferences, respects architectural dependencies, and prevents the learner from advancing until the foundational mental model is verified.
Use cases
- Onboarding engineers to LLM projects by building a first-principles understanding of transformer architectures.
- Diagnosing why a RAG system is failing by tracing dependencies from retrieval quality to context window limits.
- Evaluating the trade-offs between LoRA, QLoRA, and full fine-tuning for specific hardware constraints.
- Mastering the nuances of tokenization and decoding strategies to optimize model latency and output quality.
Does not provide code for specific proprietary APIs. Requires user engagement for knowledge validation steps. Focuses on conceptual foundations rather than narrow implementation scripts.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 months ago
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.