Auto Luhmann Numbererのロゴ

Auto Luhmann Numberer

コミュニティ
twhsi
auto-luhmann-numberer

中国語の書籍原稿、Obsidian Markdownフォルダー、Mandala-Gridのセクションファイル、HyperCard Markdownスタック、プロジェクトノートからJSON・EPUBへのワークフローを対象に、Luhmann/Zettelkasten方式のプロジェクトノートコードを割り当て、検証、正規化し、説明します。Codexでフォルダーをスキャンして部/章/節/項/目の番号を調べる、安定したカードIDを生成する、既存ノートの番号を変えずに枝コードを挿入する、文字コード付きの枝をObsidian Mandalaのセクションに対応付ける、K###キーワード索引カードを保持する、非公開カタログを公開用の例に加工する、EPUBやHyperCard出力用のカードIDを準備するといった場合に使用します。

Add to TypingMind

概要

公開者twhsi
リポジトリskills
スキル名auto-luhmann-numberer
スター
259
フォーク
37
同梱ファイル
10
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 10個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    twhsiがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Auto Luhmann Numberer」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/twhsi/skills/tree/main/skills/auto-luhmann-numberer
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/twhsi/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/auto-luhmann-numberer .claude/skills/auto-luhmann-numberer
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAuto Luhmann Numbererを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAuto Luhmann Numbererを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Auto Luhmann Numbererは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

自動魯曼編號機

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 sharing outputs, reduce real catalogs to a small public example.

Core Model

Use four separate namespaces:

  • book_topic_code: pure numeric book addresses, at most five levels: 部、章、節、項、目. Examples: 1, 1.1, 1.1.3, 1.1.3.2.1.
  • luhmann_branch_code: letter or mixed suffixes that grow from a book address. Examples: 1.1.a, 1.1.E, 1.1.c3b, 1.1.d.1.
  • mandala_section_code: local Obsidian Mandala-Grid section comments inside one Markdown file. Examples: <!--section: 1-->, <!--section: 1.7-->, <!--section: 1.8.8-->.
  • keyword_index_code: index-card ids such as K001, kept separate from topic codes.

Never merge these namespaces. A K001 card is not a chapter. A local section: 1.7 is not the book's 1.7 chapter unless the source explicitly says so.

Default Preferences

Read references/public-numbering-rules.json when you need the numbering taste, output schema, public-case policy, or Mandala section shape. The bundled example is intentionally minimal and safe to publish.

Important defaults:

  • Use book chapter numbers as the ZKII-like topic seed.
  • Preserve existing codes; do not renumber old cards just because a new card appears.
  • Use letter branches such as 1.1.a to 1.1.g for lateral inserts under a chapter.
  • Keep compact variants such as 1.1.c1, 1.1.c3a, and 1.1.c3b when they already exist.
  • Treat letter-coded Markdown files with mandala: true or <!--section: ...--> markers as Mandala containers.
  • Do not publish complete manuscript catalogs, absolute local paths, or private source titles unless the user explicitly asks for a private artifact.

Workflow

  1. Identify the source surface:

    • Folder of Markdown files.
    • Project-note JSON.
    • HyperCard Markdown stack.
    • EPUB catalog/build script.
    • One new card that needs a code.
  2. Build or load a catalog:

    • Use scripts/extract_book_codes.mjs <folder> to scan Markdown/TXT/JSON files and write a relative-path catalog.
    • Use an existing catalog JSON if provided.
    • Keep every entry's code, title, kind, source_path, depth, and any off_prefix_codes.
  3. Classify each code:

    • Pure numeric code: 部/章/節/項/目 by dot depth.
    • Code with letters: luhmann_branch.
    • K###: keyword_index.
    • <!--section: ...-->: local Mandala section.
  4. Validate:

    • Flag missing chapter numbers, duplicate codes, codes deeper than five numeric levels, and off-prefix codes.
    • Flag likely local Mandala sections so they do not pollute book-level numbering.
    • Treat off-prefix codes as "待校正或跨章引用", not immediate errors.
  5. Assign a new code:

    • If the note belongs to an existing pure numeric chapter, place it under the closest chapter.
    • If it is a lateral insert, use a Luhmann branch suffix instead of renumbering neighbors.
    • If it belongs inside a Mandala file, assign a display code like 1.1.E|1.7.
    • If it is an index concept, use the next K###.
  6. Explain the decision:

    • Return the assigned code, code kind, parent code, previous/next neighbors, source assumption, and warnings.

Common Requests

  • "Scan this folder and list every 部、章、節、項、目 code."
  • "Find missing chapter numbers and off-prefix card ids."
  • "Give this new note a Luhmann number without renumbering old cards."
  • "Convert Mandala section addresses into display ids for HyperCard."
  • "Prepare project-note JSON codes for EPUB export."

Output Shape

For a folder scan, produce both human and machine output when useful:

json
{
  "summary": {
    "chapters": ["1.1"],
    "missing": [],
    "warnings": []
  },
  "catalog": [
    {
      "code": "1.1.3",
      "title": "努力:先吃青蛙",
      "kind": "節",
      "source_path": "examples/1.1-fast-day-plan.md"
    }
  ]
}

For a single new card, return:

json
{
  "assigned_code": "1.1.E|1.7",
  "code_kind": "mandala_section",
  "parent_code": "1.1.E",
  "section_code": "1.7",
  "reason": "The note belongs inside the existing Mandala branch file for non-linear numbering.",
  "warnings": []
}

Public Sharing Rule

Before making a repository public, remove or replace:

  • Complete book catalogs that reveal the manuscript structure.
  • Absolute local paths.
  • Raw source excerpts or private chapter titles.
  • EPUB files generated from private catalogs.

Keep only references/book-chapter-card-catalog.* as a public FAST day-plan example unless the user asks for a private build.

Bundled Resources

  • references/public-numbering-rules.json: namespace rules, public-case policy, and example output contract.
  • references/book-chapter-card-catalog.json: public example catalog for 1.1 FAST 日計劃.
  • references/book-chapter-card-catalog.md: human-readable public example catalog.
  • scripts/extract_book_codes.mjs: scan a supplied folder and regenerate a relative-path catalog.
  • scripts/validate_luhmann_catalog.py: validate catalog JSON for duplicates, depth, malformed Mandala sections, and off-prefix codes.
  • scripts/build_skill_guide_epub.py: build the teaching EPUB in assets/.
  • assets/自動魯曼編號機_使用手冊_公開版_2026-06-17_03.epub: public teaching ebook.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Auto Luhmann Numberer」では何ができますか?

中国語の書籍原稿、Obsidian Markdownフォルダー、Mandala-Gridのセクションファイル、HyperCard Markdownスタック、プロジェクトノートからJSON・EPUBへのワークフローを対象に、Luhmann/Zettelkasten方式のプロジェクトノートコードを割り当て、検証、正規化し、説明します。Codexでフォルダーをスキャンして部/章/節/項/目の番号を調べる、安定したカードIDを生成する、既存ノートの番号を変えずに枝コードを挿入する、文字コード付きの枝をObsidian Mandalaのセクションに対応付ける、K###キーワード索引カードを保持する、非公開カタログを公開用の例に加工する、EPUBやHyperCard出力用のカードIDを準備するといった場合に使用します。

TypingMindでAuto Luhmann Numbererを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Auto Luhmann Numbererはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAuto Luhmann Numbererをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/twhsi/skills/tree/main/skills/auto-luhmann-numbererを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Auto Luhmann Numbererを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Auto Luhmann Numbererで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAuto Luhmann Numbererを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Auto Luhmann Numberer」は無料ですか?

twhsiがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇