[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74Z1TYR0ST3FWTZ68ZBW5JH":3,"skill-same:01M74Z1TYR0ST3FWTZ68ZBW5JH":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M74Z1TYR0ST3FWTZ68ZBW5JH","nanogpt",null,"Provides nanoGPT, Karpathy's minimal PyTorch GPT implementation (model.py and train.py), with workflows for training character-level Shakespeare on CPU, reproducing GPT-2 124M on OpenWebText with multi-GPU torchrun, fine-tuning pretrained GPT-2 checkpoints, and training on custom text. Use when learning how GPT and transformer blocks work from scratch. Use when running a small training experiment on CPU or a single GPU. Use when modifying a transformer variant in plain PyTorch. Use when preparing character-level or BPE binary datasets. Use when troubleshooting out-of-memory or slow training in nanoGPT. Not for production or large-scale distributed training; use HuggingFace Transformers or Megatron-LM instead.","KalarisLabs\u002Fresearch-agent-skills","KalarisLabs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F300878568?v=4","01M74Y7MT23GXXC56VM6TVSXZY","Kalarislabs","01M74Y7MTQM9REXZX4SNXWX95C",132,"MIT","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fnanogpt\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: nanogpt\ndescription: Provides nanoGPT, Karpathy's minimal PyTorch GPT implementation (model.py and train.py), with workflows for training character-level Shakespeare on CPU, reproducing GPT-2 124M on OpenWebText with multi-GPU torchrun, fine-tuning pretrained GPT-2 checkpoints, and training on custom text. Use when learning how GPT and transformer blocks work from scratch. Use when running a small training experiment on CPU or a single GPU. Use when modifying a transformer variant in plain PyTorch. Use when preparing character-level or BPE binary datasets. Use when troubleshooting out-of-memory or slow training in nanoGPT. Not for production or large-scale distributed training; use HuggingFace Transformers or Megatron-LM instead.\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  category: ml-training\n  maintainer: Kalaris Labs\n  tags: Model Architecture, NanoGPT, GPT-2, Educational, Andrej Karpathy, Transformer, Minimalist, From Scratch, Training\n  dependencies: torch, transformers, datasets, tiktoken, wandb\n---\n\n# nanoGPT - Minimalist GPT Training\n\n## Quick start\n\nnanoGPT is a simplified GPT implementation designed for learning and experimentation.\n\n**Installation**:\n```bash\npip install torch numpy transformers datasets tiktoken wandb tqdm\n```\n\n**Train on Shakespeare** (CPU-friendly):\n```bash\n# Prepare data\npython data\u002Fshakespeare_char\u002Fprepare.py\n\n# Train (5 minutes on CPU)\npython train.py config\u002Ftrain_shakespeare_char.py\n\n# Generate text\npython sample.py --out_dir=out-shakespeare-char\n```\n\n**Output**:\n```\nROMEO:\nWhat say'st thou? Shall I speak, and be a man?\n\nJULIET:\nI am afeard, and yet I'll speak; for thou art\nOne that hath been a man, and yet I know not\nWhat thou art.\n```\n\n## Common workflows\n\n### Workflow 1: Character-level Shakespeare\n\n**Complete training pipeline**:\n```bash\n# Step 1: Prepare data (creates train.bin, val.bin)\npython data\u002Fshakespeare_char\u002Fprepare.py\n\n# Step 2: Train small model\npython train.py config\u002Ftrain_shakespeare_char.py\n\n# Step 3: Generate text\npython sample.py --out_dir=out-shakespeare-char\n```\n\n**Config** (`config\u002Ftrain_shakespeare_char.py`):\n```python\n# Model config\nn_layer = 6          # 6 transformer layers\nn_head = 6           # 6 attention heads\nn_embd = 384         # 384-dim embeddings\nblock_size = 256     # 256 char context\n\n# Training config\nbatch_size = 64\nlearning_rate = 1e-3\nmax_iters = 5000\neval_interval = 500\n\n# Hardware\ndevice = 'cpu'  # Or 'cuda'\ncompile = False # Set True for PyTorch 2.0\n```\n\n**Training time**: ~5 minutes (CPU), ~1 minute (GPU)\n\n### Workflow 2: Reproduce GPT-2 (124M)\n\n**Multi-GPU training on OpenWebText**:\n```bash\n# Step 1: Prepare OpenWebText (takes ~1 hour)\npython data\u002Fopenwebtext\u002Fprepare.py\n\n# Step 2: Train GPT-2 124M with DDP (8 GPUs)\ntorchrun --standalone --nproc_per_node=8 \\\n  train.py config\u002Ftrain_gpt2.py\n\n# Step 3: Sample from trained model\npython sample.py --out_dir=out\n```\n\n**Config** (`config\u002Ftrain_gpt2.py`):\n```python\n# GPT-2 (124M) architecture\nn_layer = 12\nn_head = 12\nn_embd = 768\nblock_size = 1024\ndropout = 0.0\n\n# Training\nbatch_size = 12\ngradient_accumulation_steps = 5 * 8  # Total batch ~0.5M tokens\nlearning_rate = 6e-4\nmax_iters = 600000\nlr_decay_iters = 600000\n\n# System\ncompile = True  # PyTorch 2.0\n```\n\n**Training time**: ~4 days (8× A100)\n\n### Workflow 3: Fine-tune pretrained GPT-2\n\n**Start from OpenAI checkpoint**:\n```python\n# In train.py or config\ninit_from = 'gpt2'  # Options: gpt2, gpt2-medium, gpt2-large, gpt2-xl\n\n# Model loads OpenAI weights automatically\npython train.py config\u002Ffinetune_shakespeare.py\n```\n\n**Example config** (`config\u002Ffinetune_shakespeare.py`):\n```python\n# Start from GPT-2\ninit_from = 'gpt2'\n\n# Dataset\ndataset = 'shakespeare_char'\nbatch_size = 1\nblock_size = 1024\n\n# Fine-tuning\nlearning_rate = 3e-5  # Lower LR for fine-tuning\nmax_iters = 2000\nwarmup_iters = 100\n\n# Regularization\nweight_decay = 1e-1\n```\n\n### Workflow 4: Custom dataset\n\n**Train on your own text**:\n```python\n# data\u002Fcustom\u002Fprepare.py\nimport numpy as np\n\n# Load your data\nwith open('my_data.txt', 'r') as f:\n    text = f.read()\n\n# Create character mappings\nchars = sorted(list(set(text)))\nstoi = {ch: i for i, ch in enumerate(chars)}\nitos = {i: ch for i, ch in enumerate(chars)}\n\n# Tokenize\ndata = np.array([stoi[ch] for ch in text], dtype=np.uint16)\n\n# Split train\u002Fval\nn = len(data)\ntrain_data = data[:int(n*0.9)]\nval_data = data[int(n*0.9):]\n\n# Save\ntrain_data.tofile('data\u002Fcustom\u002Ftrain.bin')\nval_data.tofile('data\u002Fcustom\u002Fval.bin')\n```\n\n**Train**:\n```bash\npython data\u002Fcustom\u002Fprepare.py\npython train.py --dataset=custom\n```\n\n## When to use vs alternatives\n\n**Use nanoGPT when**:\n- Learning how GPT works\n- Experimenting with transformer variants\n- Teaching\u002Feducation purposes\n- Quick prototyping\n- Limited compute (can run on CPU)\n\n**Simplicity advantages**:\n- **~300 lines**: Entire model in `model.py`\n- **~300 lines**: Training loop in `train.py`\n- **Hackable**: Easy to modify\n- **No abstractions**: Pure PyTorch\n\n**Use alternatives instead**:\n- **HuggingFace Transformers**: Production use, many models\n- **Megatron-LM**: Large-scale distributed training\n- **LitGPT**: More architectures, production-ready\n- **PyTorch Lightning**: Need high-level framework\n\n## Common issues\n\n**Issue: CUDA out of memory**\n\nReduce batch size or context length:\n```python\nbatch_size = 1  # Reduce from 12\nblock_size = 512  # Reduce from 1024\ngradient_accumulation_steps = 40  # Increase to maintain effective batch\n```\n\n**Issue: Training too slow**\n\nEnable compilation (PyTorch 2.0+):\n```python\ncompile = True  # 2× speedup\n```\n\nUse mixed precision:\n```python\ndtype = 'bfloat16'  # Or 'float16'\n```\n\n**Issue: Poor generation quality**\n\nTrain longer:\n```python\nmax_iters = 10000  # Increase from 5000\n```\n\nLower temperature:\n```python\n# In sample.py\ntemperature = 0.7  # Lower from 1.0\ntop_k = 200       # Add top-k sampling\n```\n\n**Issue: Can't load GPT-2 weights**\n\nInstall transformers:\n```bash\npip install transformers\n```\n\nCheck model name:\n```python\ninit_from = 'gpt2'  # Valid: gpt2, gpt2-medium, gpt2-large, gpt2-xl\n```\n\n## Advanced topics\n\n**Model architecture**: See [references\u002Farchitecture.md](references\u002Farchitecture.md) for GPT block structure, multi-head attention, and MLP layers explained simply.\n\n**Training loop**: See [references\u002Ftraining.md](references\u002Ftraining.md) for learning rate schedule, gradient accumulation, and distributed data parallel setup.\n\n**Data preparation**: See [references\u002Fdata.md](references\u002Fdata.md) for tokenization strategies (character-level vs BPE) and binary format details.\n\n## Hardware requirements\n\n- **Shakespeare (char-level)**:\n  - CPU: 5 minutes\n  - GPU (T4): 1 minute\n  - VRAM: \u003C1GB\n\n- **GPT-2 (124M)**:\n  - 1× A100: ~1 week\n  - 8× A100: ~4 days\n  - VRAM: ~16GB per GPU\n\n- **GPT-2 Medium (350M)**:\n  - 8× A100: ~2 weeks\n  - VRAM: ~40GB per GPU\n\n**Performance**:\n- With `compile=True`: 2× speedup\n- With `dtype=bfloat16`: 50% memory reduction\n\n## Resources\n\n- GitHub: https:\u002F\u002Fgithub.com\u002Fkarpathy\u002FnanoGPT ⭐ 48,000+\n- Video: \"Let's build GPT\" by Andrej Karpathy\n- Paper: \"Attention is All You Need\" (Vaswani et al.)\n- OpenWebText: https:\u002F\u002Fhuggingface.co\u002Fdatasets\u002FSkylion007\u002Fopenwebtext\n- Educational: Best for understanding transformers from scratch\n\n## Agent operating procedure\n\n1. **Check the environment.** Check GPU type, memory and driver\u002FCUDA versions (`nvidia-smi`), framework versions, and dataset location and size.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Do a smoke run: tiny model or subset, few steps, and confirm loss decreases and checkpoints save.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Track metrics on held-out data, compare against a baseline, and record seeds, configs and hardware.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| CUDA out-of-memory | Reduce batch size, enable gradient accumulation\u002Fcheckpointing or mixed precision, or shard the model. |\n| Loss is NaN or diverges | Lower the learning rate, check data for invalid values, and enable gradient clipping. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Never claim training results without logs; estimate compute cost before launching large jobs.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `ray-data`: Scalable data processing for ML workloads.\n- `optimizing-attention-flash`: Enables Flash Attention for transformer models using PyTorch native scaled_dot_product_attention (PyTorch 2.2+) or the flash-attn library,…\n- `huggingface-accelerate`: Wraps existing PyTorch training scripts with HuggingFace Accelerate (Accelerator class, accelerate config, accelerate launch) so the same c…\n","# nanoGPT - Minimalist GPT Training\n\n## Quick start\n\nnanoGPT is a simplified GPT implementation designed for learning and experimentation.\n\n**Installation**:\n```bash\npip install torch numpy transformers datasets tiktoken wandb tqdm\n```\n\n**Train on Shakespeare** (CPU-friendly):\n```bash\n# Prepare data\npython data\u002Fshakespeare_char\u002Fprepare.py\n\n# Train (5 minutes on CPU)\npython train.py config\u002Ftrain_shakespeare_char.py\n\n# Generate text\npython sample.py --out_dir=out-shakespeare-char\n```\n\n**Output**:\n```\nROMEO:\nWhat say'st thou? Shall I speak, and be a man?\n\nJULIET:\nI am afeard, and yet I'll speak; for thou art\nOne that hath been a man, and yet I know not\nWhat thou art.\n```\n\n## Common workflows\n\n### Workflow 1: Character-level Shakespeare\n\n**Complete training pipeline**:\n```bash\n# Step 1: Prepare data (creates train.bin, val.bin)\npython data\u002Fshakespeare_char\u002Fprepare.py\n\n# Step 2: Train small model\npython train.py config\u002Ftrain_shakespeare_char.py\n\n# Step 3: Generate text\npython sample.py --out_dir=out-shakespeare-char\n```\n\n**Config** (`config\u002Ftrain_shakespeare_char.py`):\n```python\n# Model config\nn_layer = 6          # 6 transformer layers\nn_head = 6           # 6 attention heads\nn_embd = 384         # 384-dim embeddings\nblock_size = 256     # 256 char context\n\n# Training config\nbatch_size = 64\nlearning_rate = 1e-3\nmax_iters = 5000\neval_interval = 500\n\n# Hardware\ndevice = 'cpu'  # Or 'cuda'\ncompile = False # Set True for PyTorch 2.0\n```\n\n**Training time**: ~5 minutes (CPU), ~1 minute (GPU)\n\n### Workflow 2: Reproduce GPT-2 (124M)\n\n**Multi-GPU training on OpenWebText**:\n```bash\n# Step 1: Prepare OpenWebText (takes ~1 hour)\npython data\u002Fopenwebtext\u002Fprepare.py\n\n# Step 2: Train GPT-2 124M with DDP (8 GPUs)\ntorchrun --standalone --nproc_per_node=8 \\\n  train.py config\u002Ftrain_gpt2.py\n\n# Step 3: Sample from trained model\npython sample.py --out_dir=out\n```\n\n**Config** (`config\u002Ftrain_gpt2.py`):\n```python\n# GPT-2 (124M) architecture\nn_layer = 12\nn_head = 12\nn_embd = 768\nblock_size = 1024\ndropout = 0.0\n\n# Training\nbatch_size = 12\ngradient_accumulation_steps = 5 * 8  # Total batch ~0.5M tokens\nlearning_rate = 6e-4\nmax_iters = 600000\nlr_decay_iters = 600000\n\n# System\ncompile = True  # PyTorch 2.0\n```\n\n**Training time**: ~4 days (8× A100)\n\n### Workflow 3: Fine-tune pretrained GPT-2\n\n**Start from OpenAI checkpoint**:\n```python\n# In train.py or config\ninit_from = 'gpt2'  # Options: gpt2, gpt2-medium, gpt2-large, gpt2-xl\n\n# Model loads OpenAI weights automatically\npython train.py config\u002Ffinetune_shakespeare.py\n```\n\n**Example config** (`config\u002Ffinetune_shakespeare.py`):\n```python\n# Start from GPT-2\ninit_from = 'gpt2'\n\n# Dataset\ndataset = 'shakespeare_char'\nbatch_size = 1\nblock_size = 1024\n\n# Fine-tuning\nlearning_rate = 3e-5  # Lower LR for fine-tuning\nmax_iters = 2000\nwarmup_iters = 100\n\n# Regularization\nweight_decay = 1e-1\n```\n\n### Workflow 4: Custom dataset\n\n**Train on your own text**:\n```python\n# data\u002Fcustom\u002Fprepare.py\nimport numpy as np\n\n# Load your data\nwith open('my_data.txt', 'r') as f:\n    text = f.read()\n\n# Create character mappings\nchars = sorted(list(set(text)))\nstoi = {ch: i for i, ch in enumerate(chars)}\nitos = {i: ch for i, ch in enumerate(chars)}\n\n# Tokenize\ndata = np.array([stoi[ch] for ch in text], dtype=np.uint16)\n\n# Split train\u002Fval\nn = len(data)\ntrain_data = data[:int(n*0.9)]\nval_data = data[int(n*0.9):]\n\n# Save\ntrain_data.tofile('data\u002Fcustom\u002Ftrain.bin')\nval_data.tofile('data\u002Fcustom\u002Fval.bin')\n```\n\n**Train**:\n```bash\npython data\u002Fcustom\u002Fprepare.py\npython train.py --dataset=custom\n```\n\n## When to use vs alternatives\n\n**Use nanoGPT when**:\n- Learning how GPT works\n- Experimenting with transformer variants\n- Teaching\u002Feducation purposes\n- Quick prototyping\n- Limited compute (can run on CPU)\n\n**Simplicity advantages**:\n- **~300 lines**: Entire model in `model.py`\n- **~300 lines**: Training loop in `train.py`\n- **Hackable**: Easy to modify\n- **No abstractions**: Pure PyTorch\n\n**Use alternatives instead**:\n- **HuggingFace Transformers**: Production use, many models\n- **Megatron-LM**: Large-scale distributed training\n- **LitGPT**: More architectures, production-ready\n- **PyTorch Lightning**: Need high-level framework\n\n## Common issues\n\n**Issue: CUDA out of memory**\n\nReduce batch size or context length:\n```python\nbatch_size = 1  # Reduce from 12\nblock_size = 512  # Reduce from 1024\ngradient_accumulation_steps = 40  # Increase to maintain effective batch\n```\n\n**Issue: Training too slow**\n\nEnable compilation (PyTorch 2.0+):\n```python\ncompile = True  # 2× speedup\n```\n\nUse mixed precision:\n```python\ndtype = 'bfloat16'  # Or 'float16'\n```\n\n**Issue: Poor generation quality**\n\nTrain longer:\n```python\nmax_iters = 10000  # Increase from 5000\n```\n\nLower temperature:\n```python\n# In sample.py\ntemperature = 0.7  # Lower from 1.0\ntop_k = 200       # Add top-k sampling\n```\n\n**Issue: Can't load GPT-2 weights**\n\nInstall transformers:\n```bash\npip install transformers\n```\n\nCheck model name:\n```python\ninit_from = 'gpt2'  # Valid: gpt2, gpt2-medium, gpt2-large, gpt2-xl\n```\n\n## Advanced topics\n\n**Model architecture**: See [references\u002Farchitecture.md](references\u002Farchitecture.md) for GPT block structure, multi-head attention, and MLP layers explained simply.\n\n**Training loop**: See [references\u002Ftraining.md](references\u002Ftraining.md) for learning rate schedule, gradient accumulation, and distributed data parallel setup.\n\n**Data preparation**: See [references\u002Fdata.md](references\u002Fdata.md) for tokenization strategies (character-level vs BPE) and binary format details.\n\n## Hardware requirements\n\n- **Shakespeare (char-level)**:\n  - CPU: 5 minutes\n  - GPU (T4): 1 minute\n  - VRAM: \u003C1GB\n\n- **GPT-2 (124M)**:\n  - 1× A100: ~1 week\n  - 8× A100: ~4 days\n  - VRAM: ~16GB per GPU\n\n- **GPT-2 Medium (350M)**:\n  - 8× A100: ~2 weeks\n  - VRAM: ~40GB per GPU\n\n**Performance**:\n- With `compile=True`: 2× speedup\n- With `dtype=bfloat16`: 50% memory reduction\n\n## Resources\n\n- GitHub: https:\u002F\u002Fgithub.com\u002Fkarpathy\u002FnanoGPT ⭐ 48,000+\n- Video: \"Let's build GPT\" by Andrej Karpathy\n- Paper: \"Attention is All You Need\" (Vaswani et al.)\n- OpenWebText: https:\u002F\u002Fhuggingface.co\u002Fdatasets\u002FSkylion007\u002Fopenwebtext\n- Educational: Best for understanding transformers from scratch\n\n## Agent operating procedure\n\n1. **Check the environment.** Check GPU type, memory and driver\u002FCUDA versions (`nvidia-smi`), framework versions, and dataset location and size.\n2. **Pin down the inputs.** Confirm formats, identifiers and parameters from the data or the user. Ask rather than guess any value that changes the result.\n3. **Run a small version first.** Do a smoke run: tiny model or subset, few steps, and confirm loss decreases and checkpoints save.\n4. **Execute the full task** using the instructions and references above.\n5. **Validate the result.** Track metrics on held-out data, compare against a baseline, and record seeds, configs and hardware.\n6. **Report.** State what was run (versions, commands, parameters), what was checked, and what is still uncertain.\n\n| If this happens | Do this |\n|---|---|\n| CUDA out-of-memory | Reduce batch size, enable gradient accumulation\u002Fcheckpointing or mixed precision, or shard the model. |\n| Loss is NaN or diverges | Lower the learning rate, check data for invalid values, and enable gradient clipping. |\n| A function, flag or endpoint in these instructions is missing in the installed version | Check the installed version's own documentation (`help()`, `--help`, official docs), adapt, and tell the user. Never invent an API. |\n| A required input, identifier or parameter is ambiguous | Ask the user, or state the assumption explicitly before running. |\n\n**Integrity rules**\n\n- Never fabricate results, parameters, identifiers, citations or statistics. If something cannot be run or verified, say so plainly.\n- Never claim training results without logs; estimate compute cost before launching large jobs.\n- Treat version-specific details here as possibly outdated: confirm them against the official documentation for the installed version.\n- Ask before actions that cost money, consume shared GPUs or cloud quota, touch personal or patient data, or cannot be undone.\n\n## Related skills\n\n- `ray-data`: Scalable data processing for ML workloads.\n- `optimizing-attention-flash`: Enables Flash Attention for transformer models using PyTorch native scaled_dot_product_attention (PyTorch 2.2+) or the flash-attn library,…\n- `huggingface-accelerate`: Wraps existing PyTorch training scripts with HuggingFace Accelerate (Accelerator class, accelerate config, accelerate launch) so the same c…\n",{"name":5,"license":15,"metadata":24,"description":7},{"tags":25,"version":26,"category":27,"maintainer":28,"dependencies":29},"Model Architecture, NanoGPT, GPT-2, Educational, Andrej Karpathy, Transformer, Minimalist, From Scratch, Training","1.0.0","ml-training","Kalaris Labs","torch, transformers, datasets, tiktoken, wandb","main","29fe36d26127205057d5e0ed8425f6b0e9a8c13a","skills\u002Fnanogpt",16,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills","https:\u002F\u002Fdocs.kalarislabs.com\u002Fresearch-agent-skills","https:\u002F\u002Fgithub.com\u002FKalarisLabs","kalarislabs.com","Applied AI lab building the infrastructure for the agentic era","2026-11-14 17:49:08",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add KalarisLabs\u002Fresearch-agent-skills --skill nanogpt",{"tool":46,"command":47},"bunx","bunx skills add KalarisLabs\u002Fresearch-agent-skills --skill nanogpt",{"tool":49,"command":50},"pnpm","pnpm dlx skills add KalarisLabs\u002Fresearch-agent-skills --skill nanogpt","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fnanogpt\u002FSKILL.md",true,[54,60,64],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Farchitecture.md","REFERENCE","参考文档",11716,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fnanogpt\u002Freferences\u002Farchitecture.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fdata.md",11212,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fnanogpt\u002Freferences\u002Fdata.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Ftraining.md",13551,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fnanogpt\u002Freferences\u002Ftraining.md",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M74Z8MGT305R11SNY5G28QH5","plos","Prepare manuscripts for PLOS journals (PLOS ONE, PLOS Biology, PLOS Computational Biology, PLOS Genetics, PLOS Medicine, PLOS Pathogens, PLOS Neglected Tropical Diseases, PLOS Global Public Health and others), covering structure, abstract and author summary, Vancouver-style references, the mandatory data availability policy, ethics and financial disclosure statements, figure requirements (PACE), the PLOS LaTeX template, reporting guidelines and PLOS ONE's publication criteria. Use when targeting any PLOS journal or checking compliance with PLOS policies.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fplos\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M74Z8CCN9APXYHNQ95V1EBGT","pkpd-modeling","Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK\u002FPD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when analysing concentration-time data, deriving exposure metrics, fitting PK or PD models, or evaluating dosing regimens. Triggers include \"pharmacokinetics\", \"pharmacodynamics\", \"PK\u002FPD\", \"NCA\", \"non-compartmental\", \"AUC\", \"Cmax\", \"lambda z\", \"half-life\", \"clearance\", \"volume of distribution\", \"compartmental model\", \"population PK\", \"popPK\", \"NONMEM\", \"nlmixr2\", \"Pharmpy\", \"Monolix\", \"exposure-response\", \"Emax\", \"EC50\", \"indirect response\", \"effect compartment\", \"TMDD\", \"PBPK\", \"bioequivalence\", \"RSABE\", \"ABEL\", \"allometric scaling\", \"first-in-human\", \"MABEL\", \"drug-drug interaction\", \"DDI\", \"ICH M12\", \"concentration-QTc\", \"therapeutic drug monitoring\", \"MIPD\", and \"dosing regimen\".","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpkpd-modeling\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M74Z86YHJJ1FM3X87BHN76KZ","pinecone","Guides use of Pinecone, a managed serverless vector database, through its Python client and the LangChain and LlamaIndex integrations. Covers creating indexes, upserting and querying vectors, metadata filtering, namespaces, hybrid dense and sparse search, index management, and deleting vectors. Use when building a production RAG system on a hosted vector store, adding semantic search or recommendations without running infrastructure, isolating per-user or per-tenant data with namespaces, combining dense and sparse vectors in one query, or filtering results by metadata. Do not use for self-hosted or local stores (Chroma, Weaviate) or offline similarity search (FAISS).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpinecone\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74Z80T6E89SAJ8MYDD0767Q","pi-agent","Build with and use Pi, the minimal terminal coding harness. Use for installing Pi, configuring providers\u002Fmodels\u002Fsettings\u002Fenvironment variables, creating Pi skills\u002Fextensions\u002Fpackages\u002Fthemes\u002Fprompt templates, embedding Pi through the SDK, integrating over RPC or JSON event streams, parsing sessions, running local models through the llama.cpp router, developing custom Pi providers and TUI components, or using ecosystem packages such as pi-subagents (delegation\u002Forchestration), pi-mcp-adapter (MCP servers), pi-interview (interactive forms), and pi-web-access (web search, fetching, video understanding).","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpi-agent\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M74Z7WF1Y8Q3VFAQPPPRAFMV","phoenix-observability","Open-source AI observability platform for LLM tracing, evaluation, and monitoring. Use when debugging LLM applications with detailed traces, running evaluations on datasets, or monitoring production AI systems with real-time insights.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fphoenix-observability\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M74Z7HNEH1A2AVYR3G1X2QV6","peft-fine-tuning","Fine-tunes LLMs with Hugging Face PEFT, using LoRA, QLoRA, IA3, AdaLoRA, prefix tuning, and prompt tuning so that under 1% of parameters are trained. Covers rank, alpha, and target module selection, loading and merging adapters, multi-adapter serving, and integration with TRL SFTTrainer, Axolotl, and vLLM. Use when fine-tuning 7B-70B models on limited GPU memory, when running QLoRA on a single 24GB GPU, when choosing LoRA rank and alpha, when merging or swapping adapters on one base model, or when debugging CUDA OOM or an adapter that does not apply. Not for full fine-tuning of small models under 1B parameters or cases needing all weights updated.","https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Fpeft-fine-tuning\u002FSKILL.md",[],[]]