nbstripout

nbstripout removes execution outputs and extraneous metadata from notebooks before they enter Git history, keeping notebook diffs reviewable.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "nbstripout" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-eed72839e9dd2d70a5500e0e7467e1ef3ce0bdcdaa40e31a99e600664965f2bc. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/strip-noisy-jupyter-output-from-notebooks-before-commit-with-nbstripout before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

nbstripout removes execution outputs and extraneous metadata from notebooks before they enter Git history, keeping notebook diffs reviewable.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
Keep notebook diffs reviewable by removing execution output and excess metadata before notebooks land in Git history.
Software, accounts and paid services
Python environment, nbstripout, Jupyter or IPython notebook files, and optional Git filter or pre-commit integration
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "在提交前使用 nbstripout 从笔记本中去除噪声输出"
slug: "strip-noisy-jupyter-output-from-notebooks-before-commit-with-nbstripout"
version: "1.0.0"
displayName: "在提交前使用 nbstripout 从笔记本中去除噪声输出"
summary: "通过在笔记本进入Git历史记录之前移除执行输出和多余的元数据,使笔记本差异保持可审查性。
```"
license: "MIT"
description: "通过在笔记本进入Git历史记录之前移除执行输出和多余的元数据,使笔记本差异保持可审查性。
```"
github_stars: 1447
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 1447

在提交前使用 nbstripout 从笔记本中去除噪声输出

Keep notebook diffs reviewable by removing execution output and excess metadata before notebooks land in Git history.

Prerequisites

Python environment, nbstripout, Jupyter or IPython notebook files, and optional Git filter or pre-commit integration

Installation

Use the upstream install or setup path that matches your environment:

  • pip install nbstripout==0.3.10
  • pip install --upgrade nbstripout
  • conda install -c conda-forge nbstripout

Requirements and caveats from upstream:

  • supported Python versions
  • Python package formats
  • Python 3 only

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 解决Jupyter笔记本在Git协作中的实际痛点,具有广泛受众
  • 功能明确,实用性强
Trigger Precision85/100

Highlights

  • 触发词完整,覆盖多种变体,边界清晰
Structure and Standards70/100

Areas to improve

  • 缺少When to Use章节 Reported severity: Minor

    文档中缺少When to Use章节,影响用户对使用场景的理解

    Recommendation: 建议添加When to Use章节,明确说明何时使用此Skill

  • 缺少端到端示例 Reported severity: Minor

    文档中缺少端到端的完整示例,影响用户理解执行流程

    Recommendation: 建议添加端到端的完整示例,展示从安装到使用的完整流程

Highlights

  • 基本结构完整,有清晰的安装和使用说明
Execution Reliability80/100

Areas to improve

  • 缺少对不可逆操作的确认机制 Reported severity: Minor

    文档中未提及对不可逆操作的确认机制,可能导致用户误操作

    Recommendation: 建议添加对不可逆操作的确认机制说明,提醒用户在执行前确认

Highlights

  • 工具来源明确,参数正确,覆盖主要异常
Evidence Verifiability (mean of the first four)78/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 34, 35
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • conda-forge.org
  • docs.conda.io
  • github.com
  • img.shields.io
  • pypi.org
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python environment, nbstripout, Jupyter or IPython notebook files, and optional Git filter or pre-commit integration

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.