Przejdź do treści
Biblioteka skilli
Produktywność osobista · Integracja z narzędziem

notion

/notion

Synchronizuje projekt z Notion: aktualizuje strony na podstawie plików projektu, odświeża wykresy zadań z podpisami i publikuje wyniki, pytania oraz statusy w projektowym Feedzie.

Repozytorium
open-science ↗
Licencja
MIT
Ostatnia zmiana repozytorium
15.10.2026

Ocena i bezpieczeństwo

100/ 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ść35 / 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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

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

Co robi i kiedy

Synchronizuje projekt z Notion: aktualizuje strony na podstawie plików projektu, odświeża wykresy zadań z podpisami i publikuje wyniki, pytania oraz statusy w projektowym Feedzie.

Wyzwalacze z opisu

s AGENTS.md has a
Oryginalny opis (EN)

Work in a project that is mirrored to Notion - keep the Notion pages in sync with the project files, keep task plots (with self-contained captions) current in the task pages, post results, questions, blockers and status to the project's Notion Feed, and set up the mirror for a new or existing project. Use when a project's AGENTS.md has a "Notion" section, when the user asks to sync, update or show something in Notion, to remake or update plots in Notion, to post or notify through Notion, or to mirror a project to Notion.

Jak działa

  1. Rules
  2. Setting up a project
  3. Errors
Sekcje z nagłówków SKILL.md, w oryginale · 126 linii, 1 393 słów
Podgląd SKILL.md
---
name: notion
description: Work in a project that is mirrored to Notion - keep the Notion pages in sync with the project files, keep task plots (with self-contained captions) current in the task pages, post results, questions, blockers and status to the project's Notion Feed, and set up the mirror for a new or existing project. Use when a project's AGENTS.md has a "Notion" section, when the user asks to sync, update or show something in Notion, to remake or update plots in Notion, to post or notify through Notion, or to mirror a project to Notion.
---

# Notion

A project with `notion: true` in `config/framework.yaml` is mirrored to Notion, and the user
reads it there. `opsci notion` writes the pages as the user's Notion integration (a bot), so
an @mention from it notifies the user. Full reference: `docs/notion.md` in the framework
repo.

What is in Notion, under the project's page:
- Project, Context, Map (the project graph and the claims graph as images and interactive
  HTML views, drawn left to right by `opsci map build`; never draw them top to bottom),
  Milestone results, Deliverables (each deliverable once, at its current version), Log,
  Rules, Brainstorm context and Private docs pages.
- The **Tasks** database: one row per task, holding the task's deliverables, its context,
  then its results page, plan, task map, task log and subcontext files, then its plots.
- The **Results** database: one row per result, holding the result's file and figures.
- The **Feed**: messages to the user, newest first, removed after 3 days.

## Rules

1. **Sync after every change.** After you change any project file (context files, plans,
   logs, rules, the map, a plot or a caption), run `opsci notion sync`. Then run
   `opsci notion diff`: it must print `in sync` and list no plot without a caption. A Stop
   hook also syncs when a turn ends. It does not replace your own sync before you report.
2. **Plots live in the task.** A plot that supports a result is saved under `tasks/<id>/`,
   usually `tasks/<id>/S<n>/<name>_<YYYY-MM-DD>.png`. Only plots there appear in the task's
   page. Nothing only in `data/`, `/tmp` or a message.
3. **Every plot has a self-contained caption** in `<same stem>.caption.md` beside it: what is
   plotted and the question it answers; each axis with units; every line, band, marker and
   colour; the data (which sample, how many, which model); the background needed to read it
   (definitions, caveats); and what to see in it, with the numbers. Short paragraphs, no
   headings.
4. **Mathematics in LaTeX**, everywhere: inline `$\iota_Q(t)$`, displayed `$$ ... $$` on lines
   of their own. This covers context files, plans, logs, node summaries, captions and Feed
   messages. Notion renders it.
5. **A remade plot gets a new dated name** (`bands_2026-09-28.png` after
   `bands_2026-09-25.png`; remade the same day, `bands_2026-09-28_v2.png`) and its own caption
   file. The sync treats these as versions of one plot and replaces the old one in the same
   place in the page. Nothing else moves. Any other suffix after the date
   (`slides_2026-10-14_audit.pdf`) makes a separate plot: never name a revision that way.
   `opsci notion diff` reports such files (`version? ...`); rename them or move the old file
   to `archive/`.
   **A deliverable keeps one name.** A result the project delivers (a talk deck, a paper
   draft, a living list) has `deliverable: true` in its header (or `deliverable: [paths]`),
   and its files keep one stable name (`S4/slides.pdf`), overwritten when remade, with the
   caption file updated with it. The Deliverables page shows each deliverable once at its
   current version and updates its blocks in place.
   When the user asks to update or remake plots: make the new files and captions, run
   `opsci notion sync --plots-only`, then check `opsci notion diff`.
6. **Post to the Feed** at the points the user cares about:

   | when | command |
   |---|---|
   | a subtask finished, with its result | `opsci notion post --kind result --task <id> --mention --file <key plot> "<headline>\n\n<result with numbers>"` |
   | something the user asked for is ready (rule 7) | `--kind result --task <id> --mention --file <the thing: plot or PDF> "<headline>\n\n<what it is, what is in it>"`, after a sync |
   | a plan to approve, a hold point, a question or decision for the user: anything the turn ends waiting on | `--kind question --task <id> --mention "<headline: what is needed>\n\n<the choice or the plan in a few lines>"`, after a sync |
   | a blocker | `--kind blocker --mention` |
   | a long job submitted or finished | `--kind status` (no `--mention`) |

   Post these unasked: an answer the user must give that is only in the chat may never be
   seen. While work runs, post a `status` at least once per working session. Do not post
   routine steps. Set `--author` to who you are (`main:<task-id>`, `subagent:<name>`). The first
   paragraph is the title; the rest is the body. Both take markdown and `$LaTeX$`.

   **The title is a headline.** The Notion notification and inbox preview show only about the
   first ten words, so those words must carry the message on their own: the finding, the
   number, or what the user must do. Write it in plain words, under about ten words, with the
   main point first. Do not start with the task id, the kind, a greeting, "Update:" or
   context: `--task`, `--kind` and the time are already on the line under the title. Keep
   LaTeX, file paths and long identifiers out of the title; they preview badly. Examples:
   `Inclination peaks at 20 degrees, not edge-on` (result); `Approve plan: rerun with 4
   modes?` (question); `Blocked: GWOSC strain download fails` (blocker); `PE run 3 submitted,
   done in ~6 h` (status). Details go in the body.
   `opsci notify` posts to the Feed too (kind `note`, with a mention).
7. **Hand over what the user asked for.** When the user asked for a thing (a set of notes,
   a document, a plot, a table), the message that reports it holds the thing itself. A
   message that says "X is done" with only a task link is wrong: the user cannot open the
   file from it.
   - **In the message**, in a form Notion shows:
     - a plot: attached with `--file`; it shows inline with its caption;
     - a document with mathematics, tables or more than a few paragraphs: rendered to PDF
       with `opsci pdf <file.md>` and attached with `--file <file.pdf>`. Never attach the
       markdown or LaTeX source (the post refuses it), and never paste a long markdown
       document into the message: its displayed equations and tables do not render there;
     - a short answer in plain sentences (a few paragraphs, inline `$...$` at most): in the
       body of the message.
   - **In the project, where it is easy to find**: the thing is a deliverable
     (`tasks/README.md`, "Results"): a result file in `tasks/<id>/results/` with
     `deliverable: [<the PDF or plot>]`, its source among the `artifacts`, a stable name
     (`tasks/<id>/notes.pdf`) and, for a PDF or plot, a caption file. Run `opsci map build`
     and `opsci notion sync`: the thing then appears at the top of its task's page, under
     Deliverables, and on the project's Deliverables page. Post after the sync, with
     `--task`, so the message links to that page.
   - A remade version replaces the file under the same name; post it again the same way.
8. **Messages expire.** Feed messages are removed after 3 days. A result, decision or plot
   that must last goes in the project files first, and so in the task page.
9. **Never edit the Notion pages by hand or through another tool.** The next sync overwrites
   them. Edit the project files.

## Setting up a project

- **New project:** `open-science-project:new-project` does it when `opsci notion check`
  prints `backend=notion`: `opsci template instantiate ... --notion`, then in the project
  `opsci notion init`.
- **Existing project** (the user asks to mirror it): run `opsci notion check`. If the token or
  parent page is missing, send the user to `open-science:onboard` (Notion setup). Then run
  `opsci notion enable`. It adds AGENTS.md section 10, the Stop hook in
  `.claude/settings.json` and `.codex/hooks.json` (Codex requires `/hooks` trust),
  `notion: true` in `config/framework.yaml` and the `.gitignore`
  line. Review and commit those changes, then run `opsci notion init`. Report the page link
  it prints.
- `config/notion.local.yaml` holds the page ids (git-ignored). If it is lost, the pages
  cannot be found again: say so; do not run `init` a second time without the user.

## Errors

| message | what to do |
|---|---|
| `no Notion pages yet` | `opsci notion init` (once per project) |
| `NOTION_TOKEN missing`, `credentials file not found` | the user runs the token step of `open-science:onboard` |
| `group or others have access` | the user runs `chmod 600` on the token file |
| `object_not_found` on the parent page | the user shares the page with the integration (••• → Connections) |
| `no caption: <plot>` | write the caption file, then sync |

The hook logs to `messages/notion-sync.log`. Read it when the pages look out of date.

Wersje

RepozytoriumWynikLicencja
Ta strona · mhycheung/open-science100MIT
TerminalSkills/skills100Apache-2.0
magnus919/agent-skills100MIT
OpenHands/extensions100MIT
apideck-libraries/api-skills100Apache-2.0
HelixDevelopment/agent100MIT
G1Joshi/Agent-Skills100MIT
Orkas-AI/Orkas-Awesome-AgentSkills100MIT
intentic/intentic96MIT

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

Pobrania w ostatnich 30 dniach: 2 · ranking

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

Podobne skille

  • 100notion-tool
    Obsługuje Notion przez API: wyszukuje, pobiera, tworzy i aktualizuje strony oraz wiersze baz danych w przestrzeni roboczej.
  • 100notion-cli
    Obsługuje Notion przez binarkę Go 4ier/notion-cli: wyszukiwanie, zapytania do baz danych, odczyt stron i eksport danych z poziomu terminala.
  • 100notion-tool
    Integruje się z Notion przez API: wyszukuje, pobiera, tworzy i aktualizuje strony oraz bazy danych, w tym dodaje wiersze do baz.
  • 98notion-local-files
    Obsługuje komputer Windows użytkownika przez zadania w Notion: uruchamia polecenia git, Pythona i npm oraz odsyła wyniki do przeglądu.
  • 100notion-api
    Wyszukuje, czyta i zapisuje strony, bazy danych oraz bloki w Notion przez API, w tym dodawanie wierszy i dopisywanie treści do stron.
  • 95solid-notion
    Odczytuje, edytuje i zapisuje strony Notion jako Markdown za pomocą CLI solid-notion, z zarządzaniem zestawami zmian, przesyłaniem edycji i uwierzytelnianiem API.

Uwagi i zgłoszenia

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