本文へ移動
cccskills
無料GitHub で公開

cleanup-notebooks

Clean up and reorganize markdown in enriched Jupyter notebooks. Arguments: [target] [--dry-run] [--aggressive] [--hierarchy-only]

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Cleanup Notebooks

Reorganize and deduplicate pedagogical markdown in Jupyter notebooks.

Target: $ARGUMENTS

Arguments

  • target: Notebook path, family name, or all
  • --dry-run: List problems without modifying
  • --aggressive: Aggressive deduplication
  • --hierarchy-only: Fix heading structure only

Process

  1. Parse target - Discover notebooks

  2. For each notebook, launch a background agent:

    • Read notebook-cleaner agent instructions (.claude/agents/notebook-cleaner.md)
    • Read entire notebook, analyze structure
    • Identify problems (duplicates, misplaced cells, heading jumps, empty cells)
    • Fix via NotebookEdit (one operation at a time, verify diff after each)
    • Re-read notebook after each operation (indices change)
  3. If --dry-run: List problems without modifying

  4. Generate summary with cells deleted/modified per notebook

Common Issues

PatternFix
Double introductionKeep first, delete second
Orphan interpretation (before code)Move after code cell
Heading jump (## then ####)Change to ###
Empty transition cellDelete or add content
Repeated concept definitionKeep best, delete others
Consecutive interpretation cellsMerge or delete duplicate

Safety Rules

  • GOLDEN RULE: "Don't break what works" - if structure is good, don't modify
  • Verify diffs after every operation
  • Never delete code cells (only markdown)
  • Re-read notebook after each edit (indices change)
  • Use cell CONTENT for identification, not indices

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Cycle 30 min du secrétaire vérificateur myia-po-2026:CoursIA-3. Atteste en tiers, du plus ancien au plus récent, les PRs ouvertes sans dossier valide (chaque READY, une fois lu et approuvé par ai-01, est mergé sans attendre son cycle), et fait circuler l'information sur workspace-CoursIA-3.

日本語の概要は準備中です。原文の説明を表示しています。

jsboige/CoursIA162026年10月12日 更新

Analyze PowerPoint slides qualitatively using vision AI. Arguments: <deck_path> [--render] [--slides 1,5,10]

日本語の概要は準備中です。原文の説明を表示しています。

jsboige/CoursIA162026年10月12日 更新

Build or improve Jupyter notebooks iteratively with quality scoring. Arguments: <new|improve|fix> <path> [--topic] [--domain] [--level] [--quality] [--max-iter]

日本語の概要は準備中です。原文の説明を表示しています。

jsboige/CoursIA162026年10月12日 更新

Detect cell-ordering / enchainement problems in Jupyter notebooks (canonical-order slippage, misplaced or forgotten cells). Arguments: [target] [--severity HIGH|MED|LOW] [--json]

日本語の概要は準備中です。原文の説明を表示しています。

jsboige/CoursIA162026年10月12日 更新

Cycle de coordination ai-01 (coordinateur UNIQUEMENT — jamais sur un worker). Lit memoire + dashboards + inbox + GitHub, merge les PRs pretes, tranche les design-gates, dispatche des grains par lane, reporte. Arguments: [--dispatch] [--focus <topic>]

日本語の概要は準備中です。原文の説明を表示しています。

jsboige/CoursIA162026年10月12日 更新

Cycle horaire du coordinateur adjoint myia-po-2025:CoursIA-2. Réduit la file, répond aux ASK CoursIA-2, publie des preflights COMMENTED et dispatche les lanes CoursIA-2, sans merge ni arbitrage réservé à ai-01.

日本語の概要は準備中です。原文の説明を表示しています。

jsboige/CoursIA162026年10月12日 更新

jsboige のスキルをすべて見る

このスキルの問題を報告する