Agent skill

Luhmann Note Numberer

by twhsi in twhsi/skills

Assigns and checks Luhmann-style codes for book manuscript notes and Obsidian card folders without renumbering existing notes.

No licenceAuto-check passedKnowledge Management

Install Luhmann Note Numberer

skills CLI
$ npx skills add twhsi/skills --skill auto-luhmann-numberer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install twhsi/skills auto-luhmann-numberer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/twhsi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/auto-luhmann-numberer .claude/skills/auto-luhmann-numberer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
auto-luhmann-numberer
GitHub stars
259
Token cost
~1.5k tokens
SKILL.md length
621 words
Files
11 (incl. scripts, references, assets)
Skills in repo
18
Repo updated
First seen
Licence
None found

At a glance

Assigns and checks Luhmann-style codes for book manuscript notes and Obsidian card folders without renumbering existing notes.

  • Works in 6 steps: Identify the source surface → Build or load a catalog → Classify each code → …
  • Numbering new cards in a Zettelkasten tied to a book outline
  • SKILL.md covers Core Model, Default Preferences, Workflow and Common Requests, plus 3 more sections
  • Runs Python and JavaScript scripts from its folder

What it does

This skill assigns and validates Luhmann-style addresses for notes that belong to a book manuscript or card box. It keeps four kinds of code apart and never merges them: pure numeric book addresses with up to five levels (the 部, 章, 節, 項 and 目 divisions), letter-suffixed branch codes such as 1.1.a that grow off a book address, local Mandala section codes inside one Obsidian file, and K-numbered keyword index cards such as K001.

Existing codes are preserved: a new card gets a branch code instead of forcing a renumber, and compact variants such as 1.1.c3b stay as they are. The workflow identifies the source (a folder of Markdown files, project-note JSON, a HyperCard Markdown stack or an EPUB build), builds or loads a catalog of code, title, kind, source path and depth, then classifies each code. scripts/extract_book_codes.mjs scans a folder into a relative-path catalog, scripts/validate_luhmann_catalog.py checks a catalog, and build_skill_guide_epub.py builds an EPUB guide. When output is shared, real catalogs are reduced to a small public example without absolute paths or private titles.

When your agent uses it

  • Numbering new cards in a Zettelkasten tied to a book outline
  • Scanning a Markdown folder to build a catalog of chapter and branch codes
  • Inserting a note between existing cards without renumbering the others
  • Preparing card IDs for an EPUB or HyperCard Markdown output
  • Reducing a private manuscript catalog to a small public example

Example prompts

  • “Scan ./manuscript for part, chapter and section numbering and write a catalog of the codes.”
  • “Add a new card under chapter 1.1 and give it a branch code that leaves the existing cards alone.”
  • “Check that the K001 keyword cards in ./cards are not mixed up with chapter codes.”
  • “Prepare a public example catalog from my private book notes with no local paths in it.”

Requirements

  • Node to run scripts/extract_book_codes.mjs
  • Python to run the validation and EPUB scripts

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Identify the source surface
  2. Build or load a catalog
  3. Classify each code
  4. Validate
  5. Assign a new code
  6. Explain the decision

What it can do on your machine

Read from SKILL.md and the folder at commit 287d0f4. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python and JavaScript), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Luhmann Note Numberer loads about 1.5k tokens when it runs, and up to ~3.3k if it reads all its reference files. Until then it costs about 149 tokens; SKILL.md has 621 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~149
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 621 words (~1,505 tokens).

“Use this skill to manage stable writing-system addresses for book manuscripts and card boxes. Prefer the active book outline as the topic-number seed, then let Luhmann-style branches grow inside the outline without renumbering existing notes. When publishing the skill or…”

— opening of SKILL.md by twhsi
name
auto-luhmann-numberer

Read the full SKILL.md on GitHub

Files

SKILL.md and 10 other files (scripts, references, assets) in skills/auto-luhmann-numberer of twhsi/skills.

  • SKILL.md
  • agents/openai.yaml
  • assets/download.epub
  • assets/epub-validation-report.json
  • assets/自動魯曼編號機_使用手冊_公開版_2026-06-17_03.epub
  • references/book-chapter-card-catalog.json
  • references/book-chapter-card-catalog.md
  • references/public-numbering-rules.json
  • scripts/build_skill_guide_epub.py
  • scripts/extract_book_codes.mjs
  • scripts/validate_luhmann_catalog.py

Open the folder on GitHubat commit 287d0f4

Compare with similar skills

Luhmann Note Numberer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Luhmann Note Numberer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Luhmann Note Numberer this skilltwhsi/skills259—~1.5kAutomated safety check: PassNone
Obsidian Knowledge BuilderMichael-OvO/obsidian-knowledge-agent205—~917Automated safety check: PassMIT
Obsidian MarkdownKevRojo/Dulus167—~1.4kAutomated safety check: PassGPL-3.0
Ray Obsidian Vault Setupimraywang/rayskills159—~625Automated safety check: PassCustom licence
Knap Markdown Templateskepano/obsidian-skills49k2 repos~986Automated safety check: PassMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Obsidian Knowledge Builder

    Michael-OvO/obsidian-knowledge-agent

    Turns PDFs, slides, syllabi, papers and transcripts into structured, teaching-quality Obsidian notes, matching how much structure is built to how much the material needs.

    205 GitHub stars~917 tokensUpdated 3 mo ago
    Knowledge ManagementAuto-check passed
  • Obsidian Markdown

    KevRojo/Dulus

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    167 GitHub stars~1.4k tokensUpdated 8 days ago
    Documents & OfficeAuto-check passed
  • Ray Obsidian Vault Setup

    imraywang/rayskills

    Sets up, audits or incrementally upgrades a local Obsidian vault for knowledge work and content production, without overwriting or moving existing notes.

    159 GitHub stars~625 tokensUpdated 17 days ago
    Knowledge ManagementAuto-check passed
  • Knap Markdown Templates

    kepano/obsidian-skills

    Renders Markdown notes from Knap templates and JSON data on the command line, including notes built from Defuddle web page output.

    49k GitHub starsUsed in 2 repos~986 tokens
    Documents & OfficeAuto-check passed
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Obsidian Canvas Boards

    AgriciDaniel/claude-obsidian

    Creates, inspects and updates Obsidian JSON Canvas boards in a vault, with text, file, link, group and edge nodes, using safe recoverable edits.

    15k GitHub stars~1.4k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed

More from twhsi/skills

All 18 skills in this repo
  • Compiles notes, outlines, PDFs or BIRD and iMandalArt content into an eight-page mini book, with upright page PDFs, a reading PDF, an editable DOCX and an A4 landscape print sheet.

    259 GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed
  • Turns scheduling requests into Fantastical events or reminders on macOS, previewing the parsed item in the app first and adding it only when you confirm.

    259 GitHub stars~688 tokensUpdated 2 mo ago
    Auto-check passed
  • Turns source material into a pure-text 3x3 iMandalArt 2.2 card with a five-character center and eight labeled surrounding angles, laid out with hard line breaks.

    259 GitHub stars~3k tokensUpdated 2 mo ago
    Auto-check passed
  • Applies a formal address protocol to manuscript text and TheBrain thoughts, assigning each a stable address, structured index, and verified links.

    259 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Todays Daily Plan

    twhsi/skills

    Write spoken daily planning notes into an Obsidian Mandala Grid day-plan Markdown file.

    259 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Converts an EPUB card book into an Obsidian folder with one Markdown file per card, keyword cards, navigation links and an optional shareable zip.

    259 GitHub stars~1k tokensUpdated 2 mo ago
    Auto-check passed

Works with

Questions about Luhmann Note Numberer

What does Luhmann Note Numberer do?

Assigns and checks Luhmann-style codes for book manuscript notes and Obsidian card folders without renumbering existing notes. This skill assigns and validates Luhmann-style addresses for notes that belong to a book manuscript or card box.a that grow off a book address, local Mandala section codes inside one Obsidian file, and K-numbered keyword index cards such as K001.

When should I use Luhmann Note Numberer?

Luhmann Note Numberer fits situations like: numbering new cards in a Zettelkasten tied to a book outline; scanning a Markdown folder to build a catalog of chapter and branch codes; inserting a note between existing cards without renumbering the others; preparing card IDs for an EPUB or HyperCard Markdown output.

How do I install Luhmann Note Numberer in Claude Code?

Run `npx skills add twhsi/skills --skill auto-luhmann-numberer -a claude-code`. Or copy the skill folder (skills/auto-luhmann-numberer in twhsi/skills) into .claude/skills/auto-luhmann-numberer in your project. Claude Code loads it when a task matches its description.

How do I install Luhmann Note Numberer in Codex?

Run `npx skills add twhsi/skills --skill auto-luhmann-numberer -a codex`. Or copy the skill folder (skills/auto-luhmann-numberer in twhsi/skills) into .agents/skills/auto-luhmann-numberer in your project. Codex loads it when a task matches its description.

Can I use Luhmann Note Numberer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add twhsi/skills --skill auto-luhmann-numberer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/auto-luhmann-numberer, .gemini/skills/auto-luhmann-numberer, .github/skills/auto-luhmann-numberer and .opencode/skills/auto-luhmann-numberer in your project.

What does Luhmann Note Numberer need to run?

Going by SKILL.md and its folder, Luhmann Note Numberer needs Python and JavaScript for the scripts in its folder. Our summary lists: Node to run scripts/extract_book_codes.mjs; Python to run the validation and EPUB scripts.

Does Luhmann Note Numberer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Luhmann Note Numberer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Luhmann Note Numberer use?

No licence was found for Luhmann Note Numberer or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Luhmann Note Numberer use?

About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Luhmann Note Numberer?

Skills that share tags, products or a category with Luhmann Note Numberer: Obsidian Knowledge Builder (Michael-OvO/obsidian-knowledge-agent, 205 stars), Obsidian Markdown (KevRojo/Dulus, 167 stars), Ray Obsidian Vault Setup (imraywang/rayskills, 159 stars) and Knap Markdown Templates (kepano/obsidian-skills, 49k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Luhmann Note Numberer?

twhsi (a GitHub user) maintains it in twhsi/skills, which has 259 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on July 21, 2026.

Source: twhsi/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.