[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BXVKSZTC766M5JVT8C66XV":3,"skill-same:01M6BXVKSZTC766M5JVT8C66XV":70},{"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":23,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":12,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6BXVKSZTC766M5JVT8C66XV","sandbox-markdown",null,"Parse markdown into a token stream inside a Code node or CodeAct action, with marked's lexer running in the guest","nodetool-ai\u002Fnodetool","nodetool-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F164873569?v=4","01M6BXPFDW36K9K1MR8ZH63HG2","nodetool.ai","01M6BXPFJ893XM219GQN60B0WK",635,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-markdown\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35],"sandbox","markdown","sandbox markdown","code","node","token","with","marked","action","stream","parse","running","2026-11-10 10:12:30",false,"---\nname: sandbox-markdown\ndescription: Parse markdown into a token stream inside a Code node or CodeAct action, with marked's lexer running in the guest\n---\n\n# Markdown in the sandbox\n\nSpecifier: `@nodetool-ai\u002Fsandbox-markdown`. One module, the `marked` root\nexport. Import it at the top of the body.\n\n`marked` is pure JavaScript — no Node builtins, no DOM — so it compiles\nstraight into the QuickJS guest. There is no pre-built \"extract headers\"\nhelper; `marked.lexer` gives you the token stream and you read what you need\nout of it.\n\n## lexer — markdown text to tokens\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst tokens = marked.lexer(inputs.markdown);\nreturn { tokenCount: tokens.length };\n```\n\nEach token carries a `type` (`heading`, `paragraph`, `list`, `code`, `table`,\n`link` tokens nested inside `paragraph`\u002F`text` tokens, etc.) and the fields\nthat type needs.\n\n## Headers → a document outline\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst headers = marked.lexer(inputs.markdown)\n  .filter((t) => t.type === \"heading\")\n  .map((t) => ({ level: t.depth, text: t.text }));\nreturn { headers };\n```\n\n## Links → a flat list\n\n`marked` nests inline tokens (links, emphasis) inside block tokens. Walk\n`tokens.links` for a document's reference-style link definitions, or walk each\nblock's `.tokens` for inline links:\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nfunction collectLinks(tokens, out = []) {\n  for (const t of tokens) {\n    if (t.type === \"link\") out.push({ href: t.href, text: t.text });\n    if (t.tokens) collectLinks(t.tokens, out);\n    if (t.items) collectLinks(t.items, out);\n  }\n  return out;\n}\n\nconst links = collectLinks(marked.lexer(inputs.markdown));\nreturn { links };\n```\n\n## Lists → nested items\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst lists = marked.lexer(inputs.markdown)\n  .filter((t) => t.type === \"list\")\n  .map((t) => ({\n    ordered: t.ordered,\n    items: t.items.map((item) => item.text)\n  }));\nreturn { lists };\n```\n\n## Code blocks → language + source\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst codeBlocks = marked.lexer(inputs.markdown)\n  .filter((t) => t.type === \"code\")\n  .map((t) => ({ language: t.lang || \"text\", code: t.text }));\nreturn { codeBlocks };\n```\n\n## Tables → rows of records\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst tables = marked.lexer(inputs.markdown)\n  .filter((t) => t.type === \"table\")\n  .map((t) => {\n    const headers = t.header.map((cell) => cell.text);\n    return t.rows.map((row) =>\n      Object.fromEntries(row.map((cell, i) => [headers[i], cell.text]))\n    );\n  });\nreturn { tables };\n```\n\n## Markdown → HTML\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst html = marked.parse(inputs.markdown);\nreturn { html };\n```\n\n## Gotchas\n\n- **Everything runs in the guest.** The 64 MB guest heap holds your input text,\n  the token tree, and the returned value at once.\n- **`marked.lexer` is synchronous**, unlike `marked.parse` (which can be async\n  when you register an async extension — the default configuration is not).\n- **Token shapes differ by type.** A `list` token's items are themselves\n  tokens with their own `.tokens`; a `table` token has `header`\u002F`rows`, not a\n  flat `cells` array. Log a sample token when a shape is unclear.\n- **This pack is the only route to markdown parsing.** There is no\n  `data.parseMarkdown` global; every library the sandbox offers is an\n  importable module, and this is the one for markdown.\n","# Markdown in the sandbox\n\nSpecifier: `@nodetool-ai\u002Fsandbox-markdown`. One module, the `marked` root\nexport. Import it at the top of the body.\n\n`marked` is pure JavaScript — no Node builtins, no DOM — so it compiles\nstraight into the QuickJS guest. There is no pre-built \"extract headers\"\nhelper; `marked.lexer` gives you the token stream and you read what you need\nout of it.\n\n## lexer — markdown text to tokens\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst tokens = marked.lexer(inputs.markdown);\nreturn { tokenCount: tokens.length };\n```\n\nEach token carries a `type` (`heading`, `paragraph`, `list`, `code`, `table`,\n`link` tokens nested inside `paragraph`\u002F`text` tokens, etc.) and the fields\nthat type needs.\n\n## Headers → a document outline\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst headers = marked.lexer(inputs.markdown)\n  .filter((t) => t.type === \"heading\")\n  .map((t) => ({ level: t.depth, text: t.text }));\nreturn { headers };\n```\n\n## Links → a flat list\n\n`marked` nests inline tokens (links, emphasis) inside block tokens. Walk\n`tokens.links` for a document's reference-style link definitions, or walk each\nblock's `.tokens` for inline links:\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nfunction collectLinks(tokens, out = []) {\n  for (const t of tokens) {\n    if (t.type === \"link\") out.push({ href: t.href, text: t.text });\n    if (t.tokens) collectLinks(t.tokens, out);\n    if (t.items) collectLinks(t.items, out);\n  }\n  return out;\n}\n\nconst links = collectLinks(marked.lexer(inputs.markdown));\nreturn { links };\n```\n\n## Lists → nested items\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst lists = marked.lexer(inputs.markdown)\n  .filter((t) => t.type === \"list\")\n  .map((t) => ({\n    ordered: t.ordered,\n    items: t.items.map((item) => item.text)\n  }));\nreturn { lists };\n```\n\n## Code blocks → language + source\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst codeBlocks = marked.lexer(inputs.markdown)\n  .filter((t) => t.type === \"code\")\n  .map((t) => ({ language: t.lang || \"text\", code: t.text }));\nreturn { codeBlocks };\n```\n\n## Tables → rows of records\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst tables = marked.lexer(inputs.markdown)\n  .filter((t) => t.type === \"table\")\n  .map((t) => {\n    const headers = t.header.map((cell) => cell.text);\n    return t.rows.map((row) =>\n      Object.fromEntries(row.map((cell, i) => [headers[i], cell.text]))\n    );\n  });\nreturn { tables };\n```\n\n## Markdown → HTML\n\n```js\nimport { marked } from \"@nodetool-ai\u002Fsandbox-markdown\";\n\nconst html = marked.parse(inputs.markdown);\nreturn { html };\n```\n\n## Gotchas\n\n- **Everything runs in the guest.** The 64 MB guest heap holds your input text,\n  the token tree, and the returned value at once.\n- **`marked.lexer` is synchronous**, unlike `marked.parse` (which can be async\n  when you register an async extension — the default configuration is not).\n- **Token shapes differ by type.** A `list` token's items are themselves\n  tokens with their own `.tokens`; a `table` token has `header`\u002F`rows`, not a\n  flat `cells` array. Log a sample token when a shape is unclear.\n- **This pack is the only route to markdown parsing.** There is no\n  `data.parseMarkdown` global; every library the sandbox offers is an\n  importable module, and this is the one for markdown.\n",{"name":5,"description":7},"main","c7226baa82daca42a19a5855c116544f97aa8bac","packages\u002Fsandbox-packs\u002Fsandbox-markdown",91,"https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool","https:\u002F\u002Fnodetool.ai\u002F","https:\u002F\u002Fgithub.com\u002Fnodetool-ai","No-code AI development","2026-11-15 03:27:49",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add nodetool-ai\u002Fnodetool --skill sandbox-markdown",{"tool":56,"command":57},"bunx","bunx skills add nodetool-ai\u002Fnodetool --skill sandbox-markdown",{"tool":59,"command":60},"pnpm","pnpm dlx skills add nodetool-ai\u002Fnodetool --skill sandbox-markdown","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-markdown\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"package.json","REFERENCE","参考文档",875,"https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsandbox-packs\u002Fsandbox-markdown\u002Fpackage.json",[71,80,114,144,159,175],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":79},"01M742MX3Y2ZYK884ZXTRFKB9P","humanizer","Rewrite AI-sounding text so it reads like the writer without changing what it says.\nUse when editing or reviewing prose for AI tells: not-X-but-Y contrasts, one-line\nclosers, staged openers, forced triads, dashes everywhere, inflated claims, sales\nlanguage, stock AI words, bold labels, or filler.","MIT","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fhumanizer\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":94,"publishedAt":36},"01M6BY4D93R0Q9400ZHJ04DXP1","nodetool","Use the NodeTool MCP server to build, validate, run, and debug visual AI workflows, and to work with assets, collections, and jobs. Use when the user mentions NodeTool or asks for a workflow graph, a node, or a media generation run on their NodeTool server.","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fplugins\u002Fchatgpt\u002Fnodetool\u002Fskills\u002Fnodetool\u002FSKILL.md",[86,89],{"categoryNo":87,"categoryName":88,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":90,"categoryName":91,"taxonomyType":92,"taxonomyTypeDesc":93},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[82,95,96,97,98,99,100,30,101,102,103,104,28,105,106,107,108,109,110,111,112,113],"MCP","Media","workflows","when","generation","media generation","visual","use","collections","for","work","debug","graph","validate","assets","run","server","mcp server","workflow",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":123,"publishedAt":36},"01M6BY4AEB05ZPBRVD078ATR2H","wan-2-6-prompting","Prompt Alibaba's Wan 2.6 video — text-to-video with a global style line plus timing-bracketed shots, and image-to-video that describes only what changes over time. Covers the shot-mode switch per provider, the prompt budget, negative prompts, motion intensity wording, audio input and prompt expansion. Use whenever the model id names a Wan 2.6 video route (alibaba\u002Fwan-2.6\u002Ftext-to-video, alibaba\u002Fwan-2.6\u002Fimage-to-video, wan-video\u002Fwan-2.6-t2v, wan-video\u002Fwan-2.6-i2v, wan-video\u002Fwan2.6-i2v-flash) on generate_video, animate_image or a TextToVideo node. Not for Wan 2.5 or 2.7, or the Wan 2.6 image routes.","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fwan-2-6-prompting\u002FSKILL.md",[120],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000016","图像与多媒体",[124,125,126,127,128,129,130,28,131,132,133,134,135,136,137,138,139,140,141,142,143],"prompting","wan 2 6 prompting","line","expansion","input","image-to-video","text-to-video","route","only","mode","time","flash","Budget","generate","text","image","animate","model","Audio","Video",{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":152,"publishedAt":36},"01M6BY47T4748ZG5ZMTAR97ZWZ","video-workflow","Build a reusable NodeTool video workflow for batches or repeated inputs. For a single finished piece, use a storyboard skill.","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-workflow\u002FSKILL.md",[150,151],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":87,"categoryName":88,"taxonomyType":21,"taxonomyTypeDesc":22},[113,153,143,154,155,156,157,102,158,82,104],"video workflow","reusable","storyboard","build","batches","single",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":166,"publishedAt":36},"01M6BY4587N2SYN315SXGEMZC3","video-clone","Analyze a reference video and recreate its shot structure with a new product or cast in NodeTool.","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-clone\u002FSKILL.md",[165],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},[167,168,143,30,169,170,82,171,172,173,174],"clone","video clone","cast","new","analyze","product","structure","reference",{"skillNo":176,"name":177,"nameZh":6,"description":178,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":179,"categories":180,"keywords":182,"publishedAt":36},"01M6BY4257C2KQYYMD9EK6DK8E","video-audio-continuity","Keep sound continuous across a multi-scene piece cut from generated video — why one clip per scene hard-cuts the audio at every boundary, when to write all the scenes into a single generation instead, the sound-design vocabulary that survives a provider's copyright filter, and how to check the length, the aspect ratio and the mix of what came back. Use when a piece has more than one scene and the video model writes its own audio (Seedance 2, Veo 3, MiniMax H3, Kling 2.6 and later), or when a cut's sound drops out at the shot changes.","https:\u002F\u002Fgithub.com\u002Fnodetool-ai\u002Fnodetool\u002Fblob\u002Fmain\u002Fpackages\u002Fsystem-skills\u002Fvideo-audio-continuity\u002FSKILL.md",[181],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},[183,143,142,184,185,186,187,188,189,190,191,192,193,98,194,195,141,196,197,198,199],"video audio continuity","continuity","write","why","back","veo 3","at","cut","later","across","filter","generated","how to","mix","design","boundary","how"]