Przejdź do treści
Biblioteka skilli
Dokumenty i biuro · Automatyzacja

organize-wiki

/organize-wiki

Porządkuje bibliotekę publikacji użytkownika: foldery dziedzin, konwencję tagów, przenosi błędnie położone artykuły i cofa ostatnią reorganizację.

Repozytorium
DeepPaperNote ↗
Licencja
MIT
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
13
Skrypty
9
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 9 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/domains_file.py, scripts/organize.py, scripts/scan_library.py, scripts/wiki_vault.py, tests/conftest.py, tests/organize_helpers.py, tests/test_organize_apply.py, tests/test_organize_scan.py, tests/test_organize_skill.py

Co robi i kiedy

Porządkuje bibliotekę publikacji użytkownika: foldery dziedzin, konwencję tagów, przenosi błędnie położone artykuły i cofa ostatnią reorganizację.

Oryginalny opis (EN)

Use when the user wants to organize their paper library (整理知识库): review or change its domain folders, write the domain convention DeepPaperNote follows, refile misplaced papers, fix papers/ tags, or undo the last reorganization.

Jak działa

  1. 1. Read the library
  2. 2. Agree on the convention
  3. 3. Plan the changes
  4. 4. Preview, confirm, apply
  5. 5. Report
Sekcje z nagłówków SKILL.md, w oryginale · 64 linii, 753 słów
Podgląd SKILL.md
---
name: organize-wiki
description: Use when the user wants to organize their paper library (整理知识库): review or change its domain folders, write the domain convention DeepPaperNote follows, refile misplaced papers, fix papers/ tags, or undo the last reorganization.
---

# Organize Wiki

Keep the user's paper library in domain folders they agree with. You **propose**, with evidence from the library and their research memory; the user decides. Only a confirmed plan reaches the vault, only through `scripts/organize.py`, and only after the user has seen its preview.

`references/file-contract.md` defines the library layout, the domains file, the scan, the plan, and the log. Read it before step 3.

To undo the last reorganization, run `python3 scripts/organize.py undo --latest`, report what it restored or the conflicts it lists, and stop.

## 1. Read the library

Run `python3 scripts/scan_library.py --output <tmp>/scan.json`. It finds the vault through DeepPaperNote's configuration. On `needs_vault` or `not_a_vault`, ask the user once for their Obsidian vault folder and pass `--vault <path>` to every script.

**Done when** the scan reports `status: ok`.

## 2. Agree on the convention

The **convention** is the set of domains, each with a definition, what it includes, what it excludes and where that goes instead, and three to five representative papers. `domains_file.exists` picks the mode.

**Building** (no domains file): draft each existing domain's fields from its papers' titles and excerpts, then propose changes to the set:
- merge a domain holding one or two papers, or two domains whose papers mostly overlap;
- split a domain past about 25 papers that holds at least two clear sub-areas of five or more papers each;
- rename a domain whose name is broader or vaguer than what its papers are about;
- add a domain for papers no domain covers.

**Updating** (the file exists): every domain in it counts as confirmed. Ask only about change: papers no domain includes, papers a domain's own excludes rule out, domains grown past about 25 or shrunk to one or two, definitions that overlap.

In both modes:
- With `research_memory.exists`, split finer along the user's directions and keep not-focus topics coarse. Without it, say once that a research memory would fit the split to their research, and go on.
- The thresholds are guides; give the reason when you depart from them.
- Domains stay one level: a split makes sibling folders. A new name is a specific research area at the level of its siblings, written with letters, digits, `_`, and `-` only.

Interview in **rounds** of at most four numbered questions in the user's language. Each asks one decision, with your proposal and its evidence (paper counts and titles), worded so "yes" accepts it. Show the full convention draft once the rounds settle it.

**Done when** the user has confirmed the complete convention.

## 3. Plan the changes

Assign every paper to a domain of the convention by its title and excerpt; its current folder is weak evidence. Present the plan in groups, each item numbered with a one-line reason:

1. **Folder changes**: domains created, renamed, merged, or removed.
2. **Moves**: each misfiled paper, from and to.
3. **Tag fixes**: papers that stay put with `tag_status` `mismatch` or `multiple`. Moved papers get the same fix automatically. Notes without frontmatter stay untouched.
4. **Structure**: flatten each `nested_folder`, wrap each `loose_file` in its own paper folder, and move each `paper_at_root` into a domain. Report each `images_index` without changing it.
5. **Needs your judgment**: each paper you cannot place with confidence, asked as a question with your best guess.

The user accepts everything or rejects items by number. Write what they accepted as the plan JSON.

**Done when** every item is accepted or rejected and no question is open.

## 4. Preview, confirm, apply

Run `python3 scripts/organize.py preview --plan <plan.json>`. On `refused`, fix the plan for each error and rerun.

Show the user the summary counts, the moves, the domains file diff (the full text when it is new), and the warnings. Name any note outside the paper folder whose links will be rewritten.

After the user confirms, run `python3 scripts/organize.py apply --plan <plan.json> --expected-digest <plan_digest>`. A refusal because the library changed means rerunning preview and showing what differs before asking again. A lock refusal means DeepPaperNote is saving a note; retry once it finishes.

**Done when** apply reports `status: ok` with `verify.status: ok`, or the user declined. Report any issue `verify` lists.

## 5. Report

Give the log path, the counts of moved papers, fixed tags, and rewritten links, and the domains file path. Say that DeepPaperNote now follows the convention when it files a new paper, that the user can edit the domains file in Obsidian, and that "撤销上一次整理" / "undo the last reorganization" restores the library while the touched files stay unedited.
Pliki w paczce (13)
  • README.md 1 KB
  • SKILL.md 5 KB
  • agents/openai.yaml 1 KB
  • references/file-contract.md 8 KB
  • scripts/domains_file.py 3 KB
  • scripts/organize.py 27 KB
  • scripts/scan_library.py 8 KB
  • scripts/wiki_vault.py 8 KB
  • tests/conftest.py 4 KB
  • tests/organize_helpers.py 1 KB
  • tests/test_organize_apply.py 11 KB
  • tests/test_organize_scan.py 4 KB
  • tests/test_organize_skill.py 2 KB

Wersje

W bazie nie ma innych skilli o nazwie organize-wiki.

Migawka bazy z 13.11.2026 · wersja paczki 58a7f8a44b5c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90organize-dropbox-folder
    Porządkuje pliki i foldery w Dropbox: tworzy foldery, kopiuje i przenosi zawartość do czytelniejszej struktury, także archiwizując lub scalając.
  • 100okhp3-record-location-reconciliation
    Uzgadnia błędnie położone foldery, wersje plików i odwołania w lokalnej bibliotece, na dysku synchronizowanym lub w trackerze.
  • 95知识库智能整理大师
    Analizuje zawartość bazy wiedzy, proponuje podział na foldery i porządkuje pliki w grupach, bez ręcznego przenoszenia.
  • 100library
    Obsługuje bibliotekę ChatGPT: wyszukuje i czyta pliki i strony w bibliotece, porządkuje foldery, przywraca poprzednie wersje, udostępnia pliki i foldery oraz tworzy lub aktualizuje artefakty dla użytkownika.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.