[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A6X39NQA7QASQV5NP2J3NP":3,"skill-same:01M7A6X39NQA7QASQV5NP2J3NP":71},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7A6X39NQA7QASQV5NP2J3NP","nemo-mbridge-perf-sequence-packing",null,"Validate and use packed sequences and long-context training in Megatron-Bridge, distinguishing offline packed SFT for LLMs from in-batch packing for VLMs, and applying the right CP constraints.","themusebook\u002Fskills","themusebook","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F349927247?v=4","01M7A5C1RV5S3V5FF6ZACVDNRN","musebook","01M7A5C1SFC3KRZAXNN60XJ7KM",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Fnemo-mbridge-perf-sequence-packing\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nemo-mbridge-perf-sequence-packing\ndescription: Validate and use packed sequences and long-context training in Megatron-Bridge, distinguishing offline packed SFT for LLMs from in-batch packing for VLMs, and applying the right CP constraints.\nlicense: Apache-2.0\nwhen_to_use: Enabling sequence packing or long-context SFT, or investigating a commit that broke sequence packing or changed packing behavior; 'packed sequences', 'sequence packing', 'PackedSequenceSpecs', 'enable_in_batch_packing', 'CP with packing'.\n---\n\n# Sequence Packing Skill\n\nFor stable background and recommendation level, see:\n\n- @docs\u002Ftraining\u002Fpacked-sequences.md\n- @skills\u002Fnemo-mbridge-perf-sequence-packing\u002Fcard.yaml\n\n## Enablement\n\nOffline packed SFT for LLM finetuning:\n\n```python\nfrom megatron.bridge.data.datasets.packed_sequence import PackedSequenceSpecs\n\ncfg.train.micro_batch_size = 1\ncfg.dataset.seq_length = 4096\ncfg.model.seq_length = 4096\ncfg.dataset.dataset_kwargs = {\"pad_to_max_length\": True}\ncfg.dataset.enable_offline_packing = True\ncfg.dataset.offline_packing_specs = PackedSequenceSpecs(\n    packed_sequence_size=4096,\n    pad_seq_to_mult=1,\n)\n```\n\nIf CP is enabled:\n\n```python\ncfg.model.context_parallel_size = 2\ncfg.model.calculate_per_token_loss = True\ncfg.ddp.average_in_collective = False\ncfg.dataset.offline_packing_specs.pad_seq_to_mult = cfg.model.context_parallel_size * 2\n\n# Offline packing is not finalized by ConfigContainer. If sequence_parallel is\n# also enabled, align offline samples to both constraints explicitly:\n# import math\n# cfg.dataset.offline_packing_specs.pad_seq_to_mult = math.lcm(2 * CP, CP * TP)\n# ConfigContainer computes this CP\u002FSP LCM automatically for in-batch packing only.\n```\n\nIf CUDA graphs are enabled for this packed path:\n\n```python\ncfg.dataset.offline_packing_specs.pad_cu_seqlens = True\ncfg.dataset.dataset_kwargs[\"pad_to_max_length\"] = True\n```\n\n**Note:** `pad_cu_seqlens = True` also requires a metadata JSON file alongside\nthe packed dataset (asserted in `src\u002Fmegatron\u002Fbridge\u002Fdata\u002Fdatasets\u002Fsft.py`).\nCustom packed datasets that omit the metadata file will hit an assertion at\ndataset initialization.\n\nIn-batch packing for VLM finetuning:\n\n```python\ncfg.dataset.enable_in_batch_packing = True\ncfg.train.micro_batch_size = 2\n```\n\nLong-context baseline:\n\n```python\ncfg.model.seq_length = 16384\ncfg.dataset.seq_length = 16384\ncfg.model.context_parallel_size = 2\n```\n\n## Code Anchors\n\nLLM packed SFT config surface:\n\n```110:125:src\u002Fmegatron\u002Fbridge\u002Frecipes\u002Futils\u002Ffinetune_utils.py\ndataset_kwargs = {\"chat\": True, \"use_hf_tokenizer_chat_template\": True}\noffline_packing_specs = None\nif packed_sequence:\n    dataset_kwargs[\"pad_to_max_length\"] = True\n    offline_packing_specs = PackedSequenceSpecs(packed_sequence_size=seq_length, pad_seq_to_mult=pad_seq_to_mult)\n\nreturn _text_hf_dataset_provider(\n    ...\n    enable_offline_packing=packed_sequence,\n    offline_packing_specs=offline_packing_specs,\n    dataset_kwargs=dataset_kwargs,\n    ...\n)\n```\n\nBridge validation:\n\n```1220:1248:src\u002Fmegatron\u002Fbridge\u002Ftraining\u002Fconfig.py\nenable_in_batch_packing = getattr(self.dataset, \"enable_in_batch_packing\", False)\nenable_offline_packing = getattr(self.dataset, \"enable_offline_packing\", False)\noffline_packing_specs = getattr(self.dataset, \"offline_packing_specs\", None)\n\nif enable_offline_packing and enable_in_batch_packing:\n    raise ValueError(\"enable_offline_packing and enable_in_batch_packing are mutually exclusive.\")\nif enable_offline_packing and offline_packing_specs is None:\n    raise ValueError(\"offline_packing_specs must be set when enable_offline_packing=True.\")\n...\nif enable_in_batch_packing:\n    ...\n    cp_multiple = 2 * cp_size if cp_size > 1 else 1\n    sp_multiple = cp_size * tp_size if has_sp and tp_size > 1 else 1\n    self.dataset.in_batch_packing_pad_to_multiple_of = math.lcm(cp_multiple, sp_multiple)\n```\n\n```1400:1442:src\u002Fmegatron\u002Fbridge\u002Ftraining\u002Fconfig.py\nif self.model.context_parallel_size > 1:\n    assert self.model.seq_length % (self.model.context_parallel_size * 2) == 0, ...\n    if isinstance(self.dataset, FinetuningDatasetConfig):\n        assert self.model.calculate_per_token_loss, ...\n        assert not self.ddp.average_in_collective, ...\n...\nif enable_offline_packing and self.train.micro_batch_size > 1:\n    raise ValueError(...)\n...\nif enable_in_batch_packing and self.train.micro_batch_size == 1:\n    raise ValueError(...)\n```\n\nCollate-time in-batch runtime used by VLM providers:\n\n```397:449:src\u002Fmegatron\u002Fbridge\u002Fdata\u002Fsequence_batching.py\ndef prepare_padded_or_packed_sequence_batch(\n    batch,\n    *,\n    sequence_length,\n    ...\n    enable_in_batch_packing=False,\n    in_batch_packing_pad_to_multiple_of=1,\n    ...\n):\n    ...\n    if enable_in_batch_packing:\n        pack_right_padded_sequence_batch_to_mcore_thd(\n            batch,\n            sequence_length=sequence_length,\n            pad_to_multiple_of=in_batch_packing_pad_to_multiple_of,\n            ...\n        )\n        return\n```\n\nPacked THD runtime constraint:\n\n```94:108:src\u002Fmegatron\u002Fbridge\u002Ftraining\u002Fgpt_step.py\nif batch.get(\"cu_seqlens_q\") is not None:\n    cu_seqlens = batch.get(\"cu_seqlens_q_padded\")\n    if cu_seqlens is None:\n        cu_seqlens = batch[\"cu_seqlens_q\"]\n    if cu_seqlens.dim() > 1 and cu_seqlens.size(0) != 1:\n        raise ValueError(\"Packed THD batches expect micro-batch size 1 for context-parallel slicing (THD layout)\")\n    return cu_seqlens.squeeze()\n\ncu_seqlens = batch[\"cu_seqlens\"]\nif cu_seqlens.dim() > 1 and cu_seqlens.size(0) != 1:\n    raise ValueError(\"Packed THD batches expect micro-batch size 1 for context-parallel slicing (THD layout)\")\n```\n\n## Pitfalls\n\n1. Offline packed SFT and VLM in-batch packing are different features with opposite micro-batch rules.\n2. When CP is enabled, packed sequence lengths must respect `2 * context_parallel_size` divisibility.\n3. For finetuning with CP, `calculate_per_token_loss=True` and `ddp.average_in_collective=False` are required.\n4. `pad_cu_seqlens=True` also requires `pad_to_max_length=True`.\n5. Packing support is model-family-specific. `Qwen3-Next`, `GLM-4.5`, and `Qwen3.5-VL` contain explicit opt-outs in different paths.\n6. MTP finetuning is documented as incompatible with packed sequences.\n7. Synthetic padding rows, including negative indices remapped through `samples_mapping`, must retain an all-zero loss mask.\n\n## Verification\n\nUse the checked-in unit coverage:\n\n```bash\nuv run python -m pytest tests\u002Funit_tests\u002Ftraining\u002Futils\u002Ftest_packed_seq_utils.py -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Ftraining\u002Ftest_config.py -k \"packed_sequence or enable_in_batch_packing or offline_and_in_batch_packing_are_mutually_exclusive or context_parallel_seq_length_divisibility or context_parallel_finetuning_validations\" -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Fdata\u002Fvlm_datasets\u002Ftest_batching.py -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Ftraining\u002Ftest_vlm_step.py -k \"deferred_in_batch_packing or packed_metadata\" -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Fdata\u002Fdatasets\u002Ftest_packed_parquet.py -k \"negative_index_zeroes_loss_mask\" -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Fdata\u002Fdatasets\u002Ftest_sft.py -k \"mapped_padding_rows_do_not_contribute_to_loss\" -v\n```\n\nSuccess criteria:\n\n- all selected tests pass\n- offline and in-batch configuration validation remains mutually exclusive\n- packed metadata reaches the training step in MCore THD form\n- mapped padding rows do not contribute to loss\n","# Sequence Packing Skill\n\nFor stable background and recommendation level, see:\n\n- @docs\u002Ftraining\u002Fpacked-sequences.md\n- @skills\u002Fnemo-mbridge-perf-sequence-packing\u002Fcard.yaml\n\n## Enablement\n\nOffline packed SFT for LLM finetuning:\n\n```python\nfrom megatron.bridge.data.datasets.packed_sequence import PackedSequenceSpecs\n\ncfg.train.micro_batch_size = 1\ncfg.dataset.seq_length = 4096\ncfg.model.seq_length = 4096\ncfg.dataset.dataset_kwargs = {\"pad_to_max_length\": True}\ncfg.dataset.enable_offline_packing = True\ncfg.dataset.offline_packing_specs = PackedSequenceSpecs(\n    packed_sequence_size=4096,\n    pad_seq_to_mult=1,\n)\n```\n\nIf CP is enabled:\n\n```python\ncfg.model.context_parallel_size = 2\ncfg.model.calculate_per_token_loss = True\ncfg.ddp.average_in_collective = False\ncfg.dataset.offline_packing_specs.pad_seq_to_mult = cfg.model.context_parallel_size * 2\n\n# Offline packing is not finalized by ConfigContainer. If sequence_parallel is\n# also enabled, align offline samples to both constraints explicitly:\n# import math\n# cfg.dataset.offline_packing_specs.pad_seq_to_mult = math.lcm(2 * CP, CP * TP)\n# ConfigContainer computes this CP\u002FSP LCM automatically for in-batch packing only.\n```\n\nIf CUDA graphs are enabled for this packed path:\n\n```python\ncfg.dataset.offline_packing_specs.pad_cu_seqlens = True\ncfg.dataset.dataset_kwargs[\"pad_to_max_length\"] = True\n```\n\n**Note:** `pad_cu_seqlens = True` also requires a metadata JSON file alongside\nthe packed dataset (asserted in `src\u002Fmegatron\u002Fbridge\u002Fdata\u002Fdatasets\u002Fsft.py`).\nCustom packed datasets that omit the metadata file will hit an assertion at\ndataset initialization.\n\nIn-batch packing for VLM finetuning:\n\n```python\ncfg.dataset.enable_in_batch_packing = True\ncfg.train.micro_batch_size = 2\n```\n\nLong-context baseline:\n\n```python\ncfg.model.seq_length = 16384\ncfg.dataset.seq_length = 16384\ncfg.model.context_parallel_size = 2\n```\n\n## Code Anchors\n\nLLM packed SFT config surface:\n\n```110:125:src\u002Fmegatron\u002Fbridge\u002Frecipes\u002Futils\u002Ffinetune_utils.py\ndataset_kwargs = {\"chat\": True, \"use_hf_tokenizer_chat_template\": True}\noffline_packing_specs = None\nif packed_sequence:\n    dataset_kwargs[\"pad_to_max_length\"] = True\n    offline_packing_specs = PackedSequenceSpecs(packed_sequence_size=seq_length, pad_seq_to_mult=pad_seq_to_mult)\n\nreturn _text_hf_dataset_provider(\n    ...\n    enable_offline_packing=packed_sequence,\n    offline_packing_specs=offline_packing_specs,\n    dataset_kwargs=dataset_kwargs,\n    ...\n)\n```\n\nBridge validation:\n\n```1220:1248:src\u002Fmegatron\u002Fbridge\u002Ftraining\u002Fconfig.py\nenable_in_batch_packing = getattr(self.dataset, \"enable_in_batch_packing\", False)\nenable_offline_packing = getattr(self.dataset, \"enable_offline_packing\", False)\noffline_packing_specs = getattr(self.dataset, \"offline_packing_specs\", None)\n\nif enable_offline_packing and enable_in_batch_packing:\n    raise ValueError(\"enable_offline_packing and enable_in_batch_packing are mutually exclusive.\")\nif enable_offline_packing and offline_packing_specs is None:\n    raise ValueError(\"offline_packing_specs must be set when enable_offline_packing=True.\")\n...\nif enable_in_batch_packing:\n    ...\n    cp_multiple = 2 * cp_size if cp_size > 1 else 1\n    sp_multiple = cp_size * tp_size if has_sp and tp_size > 1 else 1\n    self.dataset.in_batch_packing_pad_to_multiple_of = math.lcm(cp_multiple, sp_multiple)\n```\n\n```1400:1442:src\u002Fmegatron\u002Fbridge\u002Ftraining\u002Fconfig.py\nif self.model.context_parallel_size > 1:\n    assert self.model.seq_length % (self.model.context_parallel_size * 2) == 0, ...\n    if isinstance(self.dataset, FinetuningDatasetConfig):\n        assert self.model.calculate_per_token_loss, ...\n        assert not self.ddp.average_in_collective, ...\n...\nif enable_offline_packing and self.train.micro_batch_size > 1:\n    raise ValueError(...)\n...\nif enable_in_batch_packing and self.train.micro_batch_size == 1:\n    raise ValueError(...)\n```\n\nCollate-time in-batch runtime used by VLM providers:\n\n```397:449:src\u002Fmegatron\u002Fbridge\u002Fdata\u002Fsequence_batching.py\ndef prepare_padded_or_packed_sequence_batch(\n    batch,\n    *,\n    sequence_length,\n    ...\n    enable_in_batch_packing=False,\n    in_batch_packing_pad_to_multiple_of=1,\n    ...\n):\n    ...\n    if enable_in_batch_packing:\n        pack_right_padded_sequence_batch_to_mcore_thd(\n            batch,\n            sequence_length=sequence_length,\n            pad_to_multiple_of=in_batch_packing_pad_to_multiple_of,\n            ...\n        )\n        return\n```\n\nPacked THD runtime constraint:\n\n```94:108:src\u002Fmegatron\u002Fbridge\u002Ftraining\u002Fgpt_step.py\nif batch.get(\"cu_seqlens_q\") is not None:\n    cu_seqlens = batch.get(\"cu_seqlens_q_padded\")\n    if cu_seqlens is None:\n        cu_seqlens = batch[\"cu_seqlens_q\"]\n    if cu_seqlens.dim() > 1 and cu_seqlens.size(0) != 1:\n        raise ValueError(\"Packed THD batches expect micro-batch size 1 for context-parallel slicing (THD layout)\")\n    return cu_seqlens.squeeze()\n\ncu_seqlens = batch[\"cu_seqlens\"]\nif cu_seqlens.dim() > 1 and cu_seqlens.size(0) != 1:\n    raise ValueError(\"Packed THD batches expect micro-batch size 1 for context-parallel slicing (THD layout)\")\n```\n\n## Pitfalls\n\n1. Offline packed SFT and VLM in-batch packing are different features with opposite micro-batch rules.\n2. When CP is enabled, packed sequence lengths must respect `2 * context_parallel_size` divisibility.\n3. For finetuning with CP, `calculate_per_token_loss=True` and `ddp.average_in_collective=False` are required.\n4. `pad_cu_seqlens=True` also requires `pad_to_max_length=True`.\n5. Packing support is model-family-specific. `Qwen3-Next`, `GLM-4.5`, and `Qwen3.5-VL` contain explicit opt-outs in different paths.\n6. MTP finetuning is documented as incompatible with packed sequences.\n7. Synthetic padding rows, including negative indices remapped through `samples_mapping`, must retain an all-zero loss mask.\n\n## Verification\n\nUse the checked-in unit coverage:\n\n```bash\nuv run python -m pytest tests\u002Funit_tests\u002Ftraining\u002Futils\u002Ftest_packed_seq_utils.py -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Ftraining\u002Ftest_config.py -k \"packed_sequence or enable_in_batch_packing or offline_and_in_batch_packing_are_mutually_exclusive or context_parallel_seq_length_divisibility or context_parallel_finetuning_validations\" -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Fdata\u002Fvlm_datasets\u002Ftest_batching.py -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Ftraining\u002Ftest_vlm_step.py -k \"deferred_in_batch_packing or packed_metadata\" -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Fdata\u002Fdatasets\u002Ftest_packed_parquet.py -k \"negative_index_zeroes_loss_mask\" -v && \\\nuv run python -m pytest tests\u002Funit_tests\u002Fdata\u002Fdatasets\u002Ftest_sft.py -k \"mapped_padding_rows_do_not_contribute_to_loss\" -v\n```\n\nSuccess criteria:\n\n- all selected tests pass\n- offline and in-batch configuration validation remains mutually exclusive\n- packed metadata reaches the training step in MCore THD form\n- mapped padding rows do not contribute to loss\n",{"name":5,"license":15,"description":7,"when_to_use":24},"Enabling sequence packing or long-context SFT, or investigating a commit that broke sequence packing or changed packing behavior; 'packed sequences', 'sequence packing', 'PackedSequenceSpecs', 'enable_in_batch_packing', 'CP with packing'.","main","1c523aba5cdf867a79f078847075492d7778092a","public\u002Fapi\u002Fskills\u002Fnvidia\u002Fnemo-mbridge-perf-sequence-packing",1,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002Fthemusebook","https:\u002F\u002Fmusebook.trade","The official Github of musebook","2026-11-02 23:42:26",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add themusebook\u002Fskills --skill nemo-mbridge-perf-sequence-packing",{"tool":41,"command":42},"bunx","bunx skills add themusebook\u002Fskills --skill nemo-mbridge-perf-sequence-packing",{"tool":44,"command":45},"pnpm","pnpm dlx skills add themusebook\u002Fskills --skill nemo-mbridge-perf-sequence-packing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Fnemo-mbridge-perf-sequence-packing\u002FSKILL.md",true,[49,55,59,63,67],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"BENCHMARK.md","REFERENCE","参考文档",4013,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Fnemo-mbridge-perf-sequence-packing\u002FBENCHMARK.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"card.yaml",4729,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Fnemo-mbridge-perf-sequence-packing\u002Fcard.yaml",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"metadata.json",445,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Fnemo-mbridge-perf-sequence-packing\u002Fmetadata.json",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"skill-card.md",4227,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Fnemo-mbridge-perf-sequence-packing\u002Fskill-card.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"verification.json",1610,"https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fnvidia\u002Fnemo-mbridge-perf-sequence-packing\u002Fverification.json",[72,81,88,95,102,109],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7AB34SPKVSDRRG009PM1CZH","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","MIT","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7AB18BH6N7KR7939HRNWVMQ","viem-integration","Integrate EVM blockchains using viem. Use when user says \"read blockchain data\", \"send transaction\", \"interact with smart contract\", \"connect to Ethereum\", \"use viem\", \"use wagmi\", \"wallet integration\", \"viem setup\", or mentions blockchain\u002FEVM development with TypeScript.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fviem-integration\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7AB12GHGP48WCNXDQQ9222H","v4-security-foundations","Security-first Uniswap v4 hook development. Use when user mentions \"v4 hooks\", \"hook security\", \"PoolManager\", \"beforeSwap\", \"afterSwap\", or asks about V4 hook best practices, vulnerabilities, or audit requirements.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-security-foundations\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M7AB0XM3PSR7V3Q2ZRR0Q0FB","v4-sdk-integration","App-layer SDK guide for building swap and liquidity experiences directly with the Uniswap v4 SDK. Use when user asks about \"v4 sdk\", \"uniswap v4\", \"v4 swap\", \"v4 liquidity\", \"PoolManager\", \"V4Planner\", \"StateView\", \"PositionManager\", \"pool state\", \"v4 position\", \"uniswap sdk\", or when building swap\u002Fliquidity UX directly with SDKs rather than via the Trading API.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-sdk-integration\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7AB0SGA93ASA588DJW4P9WT","v4-hook-generator","Generate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, MEV protection, limit orders, or oracle hooks.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fv4-hook-generator\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7AAZYH75H4CS03WSW2EZ8DM","testing","For testing with Light Protocol programs and clients on localnet, devnet, and mainnet validation.","https:\u002F\u002Fgithub.com\u002Fthemusebook\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftesting\u002FSKILL.md",[],[]]