[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78ZT3CSVQ8JV1009BPCVK3R":3,"skill-same:01M78ZT3CSVQ8JV1009BPCVK3R":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":47},"01M78ZT3CSVQ8JV1009BPCVK3R","statistical-visualizations",null,"Build and troubleshoot ManimML statistical, probability, decision-tree, MCMC, Gaussian, and matplotlib-image visualizations with safe CPU-first recipes.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"MIT","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: statistical-visualizations\ndescription: \"Build and troubleshoot ManimML statistical, probability,\n  decision-tree, MCMC, Gaussian, and matplotlib-image visualizations with safe\n  CPU-first recipes.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\n  package: manim_ml\n  sub-skill-role: statistical-probability-visualization\nlicense: MIT\n---\n\n# Statistical visualizations with ManimML\n\nUse this sub-skill when a task asks for ManimML scenes or helper code involving statistical or probability visualizations:\n\n- scikit-learn decision-tree diagrams from a fitted `DecisionTreeClassifier.tree_`.\n- Iris-style two-feature scatter plots and decision-surface overlays.\n- Metropolis-Hastings sampling checks, MCMC axes, and compact chain animations.\n- 2-D Gaussian\u002Fprobability mobjects.\n- Converting matplotlib\u002Fseaborn figures into Manim `ImageMobject` objects.\n\nRoute neural-network layer diagrams, forward-pass animations, dropout, and CNN\u002Fimage-layer workflows to the `neural-network-visualization` sub-skill instead.\n\n## Required runtime assumptions\n\nThe target Python environment should import Manim Community, ManimML, NumPy, Pillow, SciPy, matplotlib, seaborn, scikit-learn, and tqdm. These workflows are CPU workflows. Full video rendering is optional and may additionally require the usual Manim system rendering stack.\n\nFor headless execution, set matplotlib to the Agg backend before creating figures:\n\n```python\nimport matplotlib\nmatplotlib.use(\"Agg\", force=True)\n```\n\n## First checks\n\nRun the bundled helper from this sub-skill directory to verify package-level construction without rendering:\n\n```bash\npython scripts\u002Fbuild_statistical_visualizations.py --help\npython scripts\u002Fbuild_statistical_visualizations.py --example sampler --iterations 12\npython scripts\u002Fbuild_statistical_visualizations.py --example decision-tree --max-depth 2\n```\n\n`--example all` runs the compact sampler, decision-tree, MCMC axes, Gaussian, and matplotlib-image construction checks. These checks synthesize their own tiny data or icons and do not require repository example assets.\n\n## Capability map\n\n| Need | Use | Details |\n| --- | --- | --- |\n| Fitted scikit-learn tree diagram | `DecisionTreeDiagram(sklearn_tree, feature_names=..., class_images_paths=...)` | Leaves require image paths in the current implementation. Use generated temporary icons or caller-provided class images. |\n| Decision areas over a 2-D feature plane | `compute_decision_areas(tree_classifier, maxrange, x=0, y=1, n_features=2)` | Compute rectangles first; only build a Manim surface after confirming finite ranges and compatible axes. |\n| Iris-style dataset scatter | `IrisDatasetPlot(iris)` | Designed for sklearn's iris object and the first two features. Treat full rendering as optional. |\n| Metropolis-Hastings sampler | `metropolis_hastings_sampler(...)` | Required smoke path. Returns samples, an empty warm-up array, and proposals. |\n| MCMC axes\u002Fanimations | `MCMCAxes(...)` | Construct axes and proposal\u002Fchain animations with tiny iteration counts before rendering. |\n| Gaussian probability overlay | `GaussianDistribution(axes, mean=..., cov=..., dist_theme=\"gaussian\")` | Use 2-D mean\u002Fcovariance matching the axes. |\n| Matplotlib figure as Manim image | `convert_matplotlib_figure_to_image_mobject(fig, dpi=...)` | Use Agg, close figures after conversion, and avoid remote datasets. |\n\n## Safe operating pattern\n\n1. Decide whether the output is only a static Manim object, an animation object, or a rendered video\u002Fstill.\n2. Keep data tiny for construction checks: two iris features, shallow trees, 10-25 MCMC iterations, and small generated icons\u002Fimages.\n3. Import `DecisionTreeSurface` and `IrisDatasetPlot` from `manim_ml.decision_tree.decision_tree_surface`; do not rely on outdated re-export assumptions.\n4. For decision-tree leaves, provide three valid image files when using the iris classifier. If no real images are available, generate simple colored square icons.\n5. For MCMC animation construction, provide `true_samples` if calling `visualize_metropolis_hastings_chain_sampling`; it builds a background density image.\n6. Render only after construction succeeds. Prefer Manim low quality (`-ql`) or still-image (`-s`) flags for first renders.\n\n## Reference files\n\n- `references\u002Fapi-reference.md` - public API signatures, return expectations, and source limitations.\n- `references\u002Fworkflows.md` - self-contained decision-tree, MCMC, Gaussian, and matplotlib recipes.\n- `references\u002Ftroubleshooting.md` - common errors and recovery steps.\n- `scripts\u002Fbuild_statistical_visualizations.py` - CPU-first smoke helper with no default render step.\n","# Statistical visualizations with ManimML\n\nUse this sub-skill when a task asks for ManimML scenes or helper code involving statistical or probability visualizations:\n\n- scikit-learn decision-tree diagrams from a fitted `DecisionTreeClassifier.tree_`.\n- Iris-style two-feature scatter plots and decision-surface overlays.\n- Metropolis-Hastings sampling checks, MCMC axes, and compact chain animations.\n- 2-D Gaussian\u002Fprobability mobjects.\n- Converting matplotlib\u002Fseaborn figures into Manim `ImageMobject` objects.\n\nRoute neural-network layer diagrams, forward-pass animations, dropout, and CNN\u002Fimage-layer workflows to the `neural-network-visualization` sub-skill instead.\n\n## Required runtime assumptions\n\nThe target Python environment should import Manim Community, ManimML, NumPy, Pillow, SciPy, matplotlib, seaborn, scikit-learn, and tqdm. These workflows are CPU workflows. Full video rendering is optional and may additionally require the usual Manim system rendering stack.\n\nFor headless execution, set matplotlib to the Agg backend before creating figures:\n\n```python\nimport matplotlib\nmatplotlib.use(\"Agg\", force=True)\n```\n\n## First checks\n\nRun the bundled helper from this sub-skill directory to verify package-level construction without rendering:\n\n```bash\npython scripts\u002Fbuild_statistical_visualizations.py --help\npython scripts\u002Fbuild_statistical_visualizations.py --example sampler --iterations 12\npython scripts\u002Fbuild_statistical_visualizations.py --example decision-tree --max-depth 2\n```\n\n`--example all` runs the compact sampler, decision-tree, MCMC axes, Gaussian, and matplotlib-image construction checks. These checks synthesize their own tiny data or icons and do not require repository example assets.\n\n## Capability map\n\n| Need | Use | Details |\n| --- | --- | --- |\n| Fitted scikit-learn tree diagram | `DecisionTreeDiagram(sklearn_tree, feature_names=..., class_images_paths=...)` | Leaves require image paths in the current implementation. Use generated temporary icons or caller-provided class images. |\n| Decision areas over a 2-D feature plane | `compute_decision_areas(tree_classifier, maxrange, x=0, y=1, n_features=2)` | Compute rectangles first; only build a Manim surface after confirming finite ranges and compatible axes. |\n| Iris-style dataset scatter | `IrisDatasetPlot(iris)` | Designed for sklearn's iris object and the first two features. Treat full rendering as optional. |\n| Metropolis-Hastings sampler | `metropolis_hastings_sampler(...)` | Required smoke path. Returns samples, an empty warm-up array, and proposals. |\n| MCMC axes\u002Fanimations | `MCMCAxes(...)` | Construct axes and proposal\u002Fchain animations with tiny iteration counts before rendering. |\n| Gaussian probability overlay | `GaussianDistribution(axes, mean=..., cov=..., dist_theme=\"gaussian\")` | Use 2-D mean\u002Fcovariance matching the axes. |\n| Matplotlib figure as Manim image | `convert_matplotlib_figure_to_image_mobject(fig, dpi=...)` | Use Agg, close figures after conversion, and avoid remote datasets. |\n\n## Safe operating pattern\n\n1. Decide whether the output is only a static Manim object, an animation object, or a rendered video\u002Fstill.\n2. Keep data tiny for construction checks: two iris features, shallow trees, 10-25 MCMC iterations, and small generated icons\u002Fimages.\n3. Import `DecisionTreeSurface` and `IrisDatasetPlot` from `manim_ml.decision_tree.decision_tree_surface`; do not rely on outdated re-export assumptions.\n4. For decision-tree leaves, provide three valid image files when using the iris classifier. If no real images are available, generate simple colored square icons.\n5. For MCMC animation construction, provide `true_samples` if calling `visualize_metropolis_hastings_chain_sampling`; it builds a background density image.\n6. Render only after construction succeeds. Prefer Manim low quality (`-ql`) or still-image (`-s`) flags for first renders.\n\n## Reference files\n\n- `references\u002Fapi-reference.md` - public API signatures, return expectations, and source limitations.\n- `references\u002Fworkflows.md` - self-contained decision-tree, MCMC, Gaussian, and matplotlib recipes.\n- `references\u002Ftroubleshooting.md` - common errors and recovery steps.\n- `scripts\u002Fbuild_statistical_visualizations.py` - CPU-first smoke helper with no default render step.\n",{"name":5,"license":14,"metadata":23,"description":7,"disable-model-invocation":27},{"package":24,"disco-role":25,"sub-skill-role":26},"manim_ml","operating","statistical-probability-visualization",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":27},[37,40,43],{"tool":38,"command":39},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill statistical-visualizations",{"tool":41,"command":42},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill statistical-visualizations",{"tool":44,"command":45},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill statistical-visualizations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002FSKILL.md",[48,54,58,62],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fapi-reference.md","REFERENCE","参考文档",8873,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002Freferences\u002Fapi-reference.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Ftroubleshooting.md",6560,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002Freferences\u002Ftroubleshooting.md",{"path":59,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fworkflows.md",9331,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002Freferences\u002Fworkflows.md",{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fbuild_statistical_visualizations.py","SCRIPT","脚本",14277,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmanim-ml\u002Fsub-skills\u002Fstatistical-visualizations\u002Fscripts\u002Fbuild_statistical_visualizations.py",[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":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M799NYSH1R3RVAHSM2D88Y84","passnet-triton-opt","Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block\u002Fgrid\u002Fwarp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M799NS5APEC0N1FZ7XZVW6BN","passnet-solve","END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-solve\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M799NNY9BKSM21V5R7QVTBJX","passnet-skill","PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under .\u002Fpass_dir\u002F, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-skill\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M799NHH6NP7Z1RK77KGXAN6S","passnet-pattern-fusion","Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()\u002Freplacement_args()\u002Freplacement_func() files, when a pass \"failed to match\", or when deciding how to fuse multiple kernels\u002Fops.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-pattern-fusion\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate","Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":73,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M799N8SBTMY02ZDG2AZF5ZWE","passnet-feedback","Fast, deterministic feedback for PassNet work: pre-flight pattern\u002Fmatch verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-feedback\u002FSKILL.md",[],[]]