[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74ZFDEF6730BMGFWJMN1N9N":3,"skill-same:01M74ZFDEF6730BMGFWJMN1N9N":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},"01M74ZFDEF6730BMGFWJMN1N9N","rwkv-architecture",null,"Covers the RWKV (Receptance Weighted Key Value) architecture, an RNN\u002FTransformer hybrid with O(n) inference and no KV cache, including RWKV-7, its parallel GPT-mode training and sequential RNN-mode inference, state passing, fine-tuning with DeepSpeed, and CUDA kernel setup. Use when generating text token by token with constant memory, processing very long contexts of 100K+ tokens, fine-tuning an RWKV model, comparing RWKV memory and speed against Transformers, or debugging RWKV state handling, loading, or out-of-memory errors. Prefer a standard Transformer when peak accuracy matters more than memory, and Mamba for state-space models.","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\u002Frwkv-architecture\u002FSKILL.md",[],[],"2026-11-11 17:47:46",false,"---\nname: rwkv-architecture\ndescription: Covers the RWKV (Receptance Weighted Key Value) architecture, an RNN\u002FTransformer hybrid with O(n) inference and no KV cache, including RWKV-7, its parallel GPT-mode training and sequential RNN-mode inference, state passing, fine-tuning with DeepSpeed, and CUDA kernel setup. Use when generating text token by token with constant memory, processing very long contexts of 100K+ tokens, fine-tuning an RWKV model, comparing RWKV memory and speed against Transformers, or debugging RWKV state handling, loading, or out-of-memory errors. Prefer a standard Transformer when peak accuracy matters more than memory, and Mamba for state-space models.\nlicense: MIT\nmetadata:\n  version: 1.0.0\n  category: ml-training\n  maintainer: Kalaris Labs\n  tags: RWKV, Model Architecture, RNN, Transformer Hybrid, Linear Complexity, Infinite Context, Efficient Inference, Linux Foundation, Alternative Architecture\n  dependencies: rwkv, torch, transformers\n---\n\n# RWKV - Receptance Weighted Key Value\n\n## Quick start\n\nRWKV (RwaKuv) combines Transformer parallelization (training) with RNN efficiency (inference).\n\n**Installation**:\n```bash\n# Install PyTorch\npip install torch --upgrade --extra-index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu121\n\n# Install dependencies\npip install pytorch-lightning==1.9.5 deepspeed wandb ninja --upgrade\n\n# Install RWKV\npip install rwkv\n```\n\n**Basic usage** (GPT mode + RNN mode):\n```python\nimport os\nfrom rwkv.model import RWKV\n\nos.environ[\"RWKV_JIT_ON\"] = '1'\nos.environ[\"RWKV_CUDA_ON\"] = '1'  # Use CUDA kernel for speed\n\n# Load model\nmodel = RWKV(\n    model='\u002Fpath\u002Fto\u002FRWKV-4-Pile-1B5-20220903-8040',\n    strategy='cuda fp16'\n)\n\n# GPT mode (parallel processing)\nout, state = model.forward([187, 510, 1563, 310, 247], None)\nprint(out.detach().cpu().numpy())  # Logits\n\n# RNN mode (sequential processing, same result)\nout, state = model.forward([187, 510], None)  # First 2 tokens\nout, state = model.forward([1563], state)      # Next token\nout, state = model.forward([310, 247], state)  # Last tokens\nprint(out.detach().cpu().numpy())  # Same logits as above!\n```\n\n## Common workflows\n\n### Workflow 1: Text generation (streaming)\n\n**Efficient token-by-token generation**:\n```python\nfrom rwkv.model import RWKV\nfrom rwkv.utils import PIPELINE\n\nmodel = RWKV(model='RWKV-4-Pile-14B-20230313-ctx8192-test1050', strategy='cuda fp16')\npipeline = PIPELINE(model, \"20B_tokenizer.json\")\n\n# Initial prompt\nprompt = \"The future of AI is\"\nstate = None\n\n# Generate token by token\nfor token in prompt:\n    out, state = pipeline.model.forward(pipeline.encode(token), state)\n\n# Continue generation\nfor _ in range(100):\n    out, state = pipeline.model.forward(None, state)\n    token = pipeline.sample_logits(out)\n    print(pipeline.decode(token), end='', flush=True)\n```\n\n**Key advantage**: Constant memory per token (no growing KV cache)\n\n### Workflow 2: Long context processing (infinite context)\n\n**Process million-token sequences**:\n```python\nmodel = RWKV(model='RWKV-4-Pile-14B', strategy='cuda fp16')\n\n# Process very long document\nstate = None\nlong_document = load_document()  # e.g., 1M tokens\n\n# Stream through entire document\nfor chunk in chunks(long_document, chunk_size=1024):\n    out, state = model.forward(chunk, state)\n\n# State now contains information from entire 1M token document\n# Memory usage: O(1) (constant, not O(n)!)\n```\n\n### Workflow 3: Fine-tuning RWKV\n\n**Standard fine-tuning workflow**:\n```python\n# Training script\nimport pytorch_lightning as pl\nfrom rwkv.model import RWKV\nfrom rwkv.trainer import RWKVTrainer\n\n# Configure model\nconfig = {\n    'n_layer': 24,\n    'n_embd': 1024,\n    'vocab_size': 50277,\n    'ctx_len': 1024\n}\n\n# Setup trainer\ntrainer = pl.Trainer(\n    accelerator='gpu',\n    devices=8,\n    precision='bf16',\n    strategy='deepspeed_stage_2',\n    max_epochs=1\n)\n\n# Train\nmodel = RWKV(config)\ntrainer.fit(model, train_dataloader)\n```\n\n### Workflow 4: RWKV vs Transformer comparison\n\n**Memory comparison** (1M token sequence):\n```python\n# Transformer (GPT)\n# Memory: O(n²) for attention\n# KV cache: 1M × hidden_dim × n_layers × 2 (keys + values)\n# Example: 1M × 4096 × 24 × 2 = ~400GB (impractical!)\n\n# RWKV\n# Memory: O(1) per token\n# State: hidden_dim × n_layers = 4096 × 24 = ~400KB\n# 1,000,000× more efficient!\n```\n\n**Speed comparison** (inference):\n```python\n# Transformer: O(n) per token (quadratic overall)\n# First token: 1 computation\n# Second token: 2 computations\n# ...\n# 1000th token: 1000 computations\n\n# RWKV: O(1) per token (linear overall)\n# Every token: 1 computation\n# 1000th token: 1 computation (same as first!)\n```\n\n## When to use vs alternatives\n\n**Use RWKV when**:\n- Need very long context (100K+ tokens)\n- Want constant memory usage\n- Building streaming applications\n- Need RNN efficiency with Transformer performance\n- Memory-constrained deployment\n\n**Key advantages**:\n- **Linear time**: O(n) vs O(n²) for Transformers\n- **No KV cache**: Constant memory per token\n- **Infinite context**: No fixed window limit\n- **Parallelizable training**: Like GPT\n- **Sequential inference**: Like RNN\n\n**Use alternatives instead**:\n- **Transformers**: Need absolute best performance, have compute\n- **Mamba**: Want state-space models\n- **RetNet**: Need retention mechanism\n- **Hyena**: Want convolution-based approach\n\n## Common issues\n\n**Issue: Out of memory during training**\n\nUse gradient checkpointing and DeepSpeed:\n```python\ntrainer = pl.Trainer(\n    strategy='deepspeed_stage_3',  # Full ZeRO-3\n    precision='bf16'\n)\n```\n\n**Issue: Slow inference**\n\nEnable CUDA kernel:\n```python\nos.environ[\"RWKV_CUDA_ON\"] = '1'\n```\n\n**Issue: Model not loading**\n\nCheck model path and strategy:\n```python\nmodel = RWKV(\n    model='\u002Fabsolute\u002Fpath\u002Fto\u002Fmodel.pth',\n    strategy='cuda fp16'  # Or 'cpu fp32' for CPU\n)\n```\n\n**Issue: State management in RNN mode**\n\nAlways pass state between forward calls:\n```python\n# WRONG: State lost\nout1, _ = model.forward(tokens1, None)\nout2, _ = model.forward(tokens2, None)  # No context from tokens1!\n\n# CORRECT: State preserved\nout1, state = model.forward(tokens1, None)\nout2, state = model.forward(tokens2, state)  # Has context from tokens1\n```\n\n## Advanced topics\n\n**Time-mixing and channel-mixing**: See [references\u002Farchitecture-details.md](references\u002Farchitecture-details.md) for WKV operation, time-decay mechanism, and receptance gates.\n\n**State management**: See [references\u002Fstate-management.md](references\u002Fstate-management.md) for att_x_prev, att_kv, ffn_x_prev states, and numerical stability considerations.\n\n**RWKV-7 improvements**: See [references\u002Frwkv7.md](references\u002Frwkv7.md) for latest architectural improvements (March 2025) and multimodal capabilities.\n\n## Hardware requirements\n\n- **GPU**: NVIDIA (CUDA 11.6+) or CPU\n- **VRAM** (FP16):\n  - 169M model: 1GB\n  - 430M model: 2GB\n  - 1.5B model: 4GB\n  - 3B model: 8GB\n  - 7B model: 16GB\n  - 14B model: 32GB\n- **Inference**: O(1) memory per token\n- **Training**: Parallelizable like GPT\n\n**Performance** (vs Transformers):\n- **Speed**: Similar training, faster inference\n- **Memory**: 1000× less for long sequences\n- **Scaling**: Linear vs quadratic\n\n## Resources\n\n- Paper (RWKV): https:\u002F\u002Farxiv.org\u002Fabs\u002F2305.13048 (May 2023)\n- Paper (RWKV-7): https:\u002F\u002Farxiv.org\u002Fabs\u002F2503.14456 (March 2025)\n- GitHub: https:\u002F\u002Fgithub.com\u002FBlinkDL\u002FRWKV-LM ⭐ 12,000+\n- Docs: https:\u002F\u002Fwiki.rwkv.com\u002F\n- Models: https:\u002F\u002Fhuggingface.co\u002FBlinkDL\n- Linux Foundation AI: Official project\n- Production: Microsoft Windows, Office integration, NeMo support\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- `mamba-architecture`: Explains how to use Mamba selective state-space models (state-spaces\u002Fmamba package, Mamba-1 with d_state=16 and Mamba-2 with multi-head str…\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- `speculative-decoding`: Accelerate LLM inference using speculative decoding, Medusa multiple heads, and lookahead decoding techniques.\n","# RWKV - Receptance Weighted Key Value\n\n## Quick start\n\nRWKV (RwaKuv) combines Transformer parallelization (training) with RNN efficiency (inference).\n\n**Installation**:\n```bash\n# Install PyTorch\npip install torch --upgrade --extra-index-url https:\u002F\u002Fdownload.pytorch.org\u002Fwhl\u002Fcu121\n\n# Install dependencies\npip install pytorch-lightning==1.9.5 deepspeed wandb ninja --upgrade\n\n# Install RWKV\npip install rwkv\n```\n\n**Basic usage** (GPT mode + RNN mode):\n```python\nimport os\nfrom rwkv.model import RWKV\n\nos.environ[\"RWKV_JIT_ON\"] = '1'\nos.environ[\"RWKV_CUDA_ON\"] = '1'  # Use CUDA kernel for speed\n\n# Load model\nmodel = RWKV(\n    model='\u002Fpath\u002Fto\u002FRWKV-4-Pile-1B5-20220903-8040',\n    strategy='cuda fp16'\n)\n\n# GPT mode (parallel processing)\nout, state = model.forward([187, 510, 1563, 310, 247], None)\nprint(out.detach().cpu().numpy())  # Logits\n\n# RNN mode (sequential processing, same result)\nout, state = model.forward([187, 510], None)  # First 2 tokens\nout, state = model.forward([1563], state)      # Next token\nout, state = model.forward([310, 247], state)  # Last tokens\nprint(out.detach().cpu().numpy())  # Same logits as above!\n```\n\n## Common workflows\n\n### Workflow 1: Text generation (streaming)\n\n**Efficient token-by-token generation**:\n```python\nfrom rwkv.model import RWKV\nfrom rwkv.utils import PIPELINE\n\nmodel = RWKV(model='RWKV-4-Pile-14B-20230313-ctx8192-test1050', strategy='cuda fp16')\npipeline = PIPELINE(model, \"20B_tokenizer.json\")\n\n# Initial prompt\nprompt = \"The future of AI is\"\nstate = None\n\n# Generate token by token\nfor token in prompt:\n    out, state = pipeline.model.forward(pipeline.encode(token), state)\n\n# Continue generation\nfor _ in range(100):\n    out, state = pipeline.model.forward(None, state)\n    token = pipeline.sample_logits(out)\n    print(pipeline.decode(token), end='', flush=True)\n```\n\n**Key advantage**: Constant memory per token (no growing KV cache)\n\n### Workflow 2: Long context processing (infinite context)\n\n**Process million-token sequences**:\n```python\nmodel = RWKV(model='RWKV-4-Pile-14B', strategy='cuda fp16')\n\n# Process very long document\nstate = None\nlong_document = load_document()  # e.g., 1M tokens\n\n# Stream through entire document\nfor chunk in chunks(long_document, chunk_size=1024):\n    out, state = model.forward(chunk, state)\n\n# State now contains information from entire 1M token document\n# Memory usage: O(1) (constant, not O(n)!)\n```\n\n### Workflow 3: Fine-tuning RWKV\n\n**Standard fine-tuning workflow**:\n```python\n# Training script\nimport pytorch_lightning as pl\nfrom rwkv.model import RWKV\nfrom rwkv.trainer import RWKVTrainer\n\n# Configure model\nconfig = {\n    'n_layer': 24,\n    'n_embd': 1024,\n    'vocab_size': 50277,\n    'ctx_len': 1024\n}\n\n# Setup trainer\ntrainer = pl.Trainer(\n    accelerator='gpu',\n    devices=8,\n    precision='bf16',\n    strategy='deepspeed_stage_2',\n    max_epochs=1\n)\n\n# Train\nmodel = RWKV(config)\ntrainer.fit(model, train_dataloader)\n```\n\n### Workflow 4: RWKV vs Transformer comparison\n\n**Memory comparison** (1M token sequence):\n```python\n# Transformer (GPT)\n# Memory: O(n²) for attention\n# KV cache: 1M × hidden_dim × n_layers × 2 (keys + values)\n# Example: 1M × 4096 × 24 × 2 = ~400GB (impractical!)\n\n# RWKV\n# Memory: O(1) per token\n# State: hidden_dim × n_layers = 4096 × 24 = ~400KB\n# 1,000,000× more efficient!\n```\n\n**Speed comparison** (inference):\n```python\n# Transformer: O(n) per token (quadratic overall)\n# First token: 1 computation\n# Second token: 2 computations\n# ...\n# 1000th token: 1000 computations\n\n# RWKV: O(1) per token (linear overall)\n# Every token: 1 computation\n# 1000th token: 1 computation (same as first!)\n```\n\n## When to use vs alternatives\n\n**Use RWKV when**:\n- Need very long context (100K+ tokens)\n- Want constant memory usage\n- Building streaming applications\n- Need RNN efficiency with Transformer performance\n- Memory-constrained deployment\n\n**Key advantages**:\n- **Linear time**: O(n) vs O(n²) for Transformers\n- **No KV cache**: Constant memory per token\n- **Infinite context**: No fixed window limit\n- **Parallelizable training**: Like GPT\n- **Sequential inference**: Like RNN\n\n**Use alternatives instead**:\n- **Transformers**: Need absolute best performance, have compute\n- **Mamba**: Want state-space models\n- **RetNet**: Need retention mechanism\n- **Hyena**: Want convolution-based approach\n\n## Common issues\n\n**Issue: Out of memory during training**\n\nUse gradient checkpointing and DeepSpeed:\n```python\ntrainer = pl.Trainer(\n    strategy='deepspeed_stage_3',  # Full ZeRO-3\n    precision='bf16'\n)\n```\n\n**Issue: Slow inference**\n\nEnable CUDA kernel:\n```python\nos.environ[\"RWKV_CUDA_ON\"] = '1'\n```\n\n**Issue: Model not loading**\n\nCheck model path and strategy:\n```python\nmodel = RWKV(\n    model='\u002Fabsolute\u002Fpath\u002Fto\u002Fmodel.pth',\n    strategy='cuda fp16'  # Or 'cpu fp32' for CPU\n)\n```\n\n**Issue: State management in RNN mode**\n\nAlways pass state between forward calls:\n```python\n# WRONG: State lost\nout1, _ = model.forward(tokens1, None)\nout2, _ = model.forward(tokens2, None)  # No context from tokens1!\n\n# CORRECT: State preserved\nout1, state = model.forward(tokens1, None)\nout2, state = model.forward(tokens2, state)  # Has context from tokens1\n```\n\n## Advanced topics\n\n**Time-mixing and channel-mixing**: See [references\u002Farchitecture-details.md](references\u002Farchitecture-details.md) for WKV operation, time-decay mechanism, and receptance gates.\n\n**State management**: See [references\u002Fstate-management.md](references\u002Fstate-management.md) for att_x_prev, att_kv, ffn_x_prev states, and numerical stability considerations.\n\n**RWKV-7 improvements**: See [references\u002Frwkv7.md](references\u002Frwkv7.md) for latest architectural improvements (March 2025) and multimodal capabilities.\n\n## Hardware requirements\n\n- **GPU**: NVIDIA (CUDA 11.6+) or CPU\n- **VRAM** (FP16):\n  - 169M model: 1GB\n  - 430M model: 2GB\n  - 1.5B model: 4GB\n  - 3B model: 8GB\n  - 7B model: 16GB\n  - 14B model: 32GB\n- **Inference**: O(1) memory per token\n- **Training**: Parallelizable like GPT\n\n**Performance** (vs Transformers):\n- **Speed**: Similar training, faster inference\n- **Memory**: 1000× less for long sequences\n- **Scaling**: Linear vs quadratic\n\n## Resources\n\n- Paper (RWKV): https:\u002F\u002Farxiv.org\u002Fabs\u002F2305.13048 (May 2023)\n- Paper (RWKV-7): https:\u002F\u002Farxiv.org\u002Fabs\u002F2503.14456 (March 2025)\n- GitHub: https:\u002F\u002Fgithub.com\u002FBlinkDL\u002FRWKV-LM ⭐ 12,000+\n- Docs: https:\u002F\u002Fwiki.rwkv.com\u002F\n- Models: https:\u002F\u002Fhuggingface.co\u002FBlinkDL\n- Linux Foundation AI: Official project\n- Production: Microsoft Windows, Office integration, NeMo support\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- `mamba-architecture`: Explains how to use Mamba selective state-space models (state-spaces\u002Fmamba package, Mamba-1 with d_state=16 and Mamba-2 with multi-head str…\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- `speculative-decoding`: Accelerate LLM inference using speculative decoding, Medusa multiple heads, and lookahead decoding techniques.\n",{"name":5,"license":15,"metadata":24,"description":7},{"tags":25,"version":26,"category":27,"maintainer":28,"dependencies":29},"RWKV, Model Architecture, RNN, Transformer Hybrid, Linear Complexity, Infinite Context, Efficient Inference, Linux Foundation, Alternative Architecture","1.0.0","ml-training","Kalaris Labs","rwkv, torch, transformers","main","29fe36d26127205057d5e0ed8425f6b0e9a8c13a","skills\u002Frwkv-architecture",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 rwkv-architecture",{"tool":46,"command":47},"bunx","bunx skills add KalarisLabs\u002Fresearch-agent-skills --skill rwkv-architecture",{"tool":49,"command":50},"pnpm","pnpm dlx skills add KalarisLabs\u002Fresearch-agent-skills --skill rwkv-architecture","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Frwkv-architecture\u002FSKILL.md",true,[54,60,64],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Farchitecture-details.md","REFERENCE","参考文档",9304,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Frwkv-architecture\u002Freferences\u002Farchitecture-details.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Frwkv7.md",10428,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Frwkv-architecture\u002Freferences\u002Frwkv7.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fstate-management.md",9497,"https:\u002F\u002Fgithub.com\u002FKalarisLabs\u002Fresearch-agent-skills\u002Fblob\u002Fmain\u002Fskills\u002Frwkv-architecture\u002Freferences\u002Fstate-management.md",[69,77,84,91,98,105],{"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":76},"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",[],[],"2026-11-12 13:55:43",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":76},"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":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":76},"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":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":76},"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":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":76},"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":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":76},"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",[],[]]