Add Domainのロゴ

Add Domain

組織人気
agenticnotetaking
add-domain

Add a new knowledge domain to your existing system. Derives domain-specific configuration through conversation, generates domain folders, templates, and vocabulary while preserving and connecting to your existing architecture.

Add to TypingMind

概要

公開者agenticnotetaking
リポジトリarscontexta
スキル名add-domain
スター
3.5K
フォーク
226
同梱ファイル
1
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 1個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

You are extending an existing knowledge system with a new domain. This is composition, not replacement. The new domain must coexist with existing domains while maintaining its own vocabulary, schema, and processing patterns. The shared graph (wiki links, hub MOC, description fields) connects everything.

Your Task

Add a new knowledge domain: $ARGUMENTS

Reference Files

Read these during derivation phases:

Composition rules:

  • ${CLAUDE_PLUGIN_ROOT}/reference/derivation-validation.md -- Test 4 (Multi-Domain Composition) validates the pattern
  • ${CLAUDE_PLUGIN_ROOT}/reference/three-spaces.md -- three-space architecture (shared across domains)
  • ${CLAUDE_PLUGIN_ROOT}/reference/interaction-constraints.md -- coherence validation for domain config

Domain configuration:

  • ${CLAUDE_PLUGIN_ROOT}/reference/vocabulary-transforms.md -- domain-native term mapping
  • ${CLAUDE_PLUGIN_ROOT}/reference/tradition-presets.md -- pre-validated domain configurations
  • ${CLAUDE_PLUGIN_ROOT}/reference/use-case-presets.md -- 3 presets with configurations
  • ${CLAUDE_PLUGIN_ROOT}/reference/dimension-claim-map.md -- research backing for dimension positions
  • ${CLAUDE_PLUGIN_ROOT}/reference/failure-modes.md -- domain vulnerability matrix

Validation:

  • ${CLAUDE_PLUGIN_ROOT}/reference/kernel.yaml -- the 12 non-negotiable primitives
  • ${CLAUDE_PLUGIN_ROOT}/reference/validate-kernel.sh -- kernel validation script

PHASE 1: Scan Existing System

Automated. Understand what exists before adding to it.

1a. Read system configuration

Read ops/derivation.md for:

  • Current dimension positions
  • Vocabulary mapping
  • Platform and automation level
  • Active feature blocks

Read ops/config.yaml for live configuration values.

1b. Inventory existing domains

Identify all current knowledge domains:

  • Primary notes folder and its domain vocabulary
  • Any existing secondary domains (folders, templates, MOCs)
  • Schema fields in use per domain

1c. Identify dimension types

Classify each of the 8 dimensions as system-level or domain-adjustable:

DimensionTypeRationale
Organizationsystem-levelFlat/hierarchical applies to the whole workspace
Automationsystem-levelHooks and skills are workspace-wide infrastructure
Navigation depthsystem-levelHub MOC structure is shared
Granularitydomain-adjustableDifferent domains may need different granularity
Processingdomain-adjustableResearch needs heavy, relationships need light
Maintenancedomain-adjustableDifferent condition thresholds per domain growth rate
Schemadomain-adjustableDomain-specific fields vary
Linkingdomain-adjustableSome domains need semantic search, others don't

System-level dimensions are fixed by the existing system. Domain-adjustable dimensions can vary for the new domain.


PHASE 2: Conversation

1-3 conversation turns to understand the new domain. Use AskUserQuestion for each turn.

Opening question

Ask ONE focused question about the new domain:

"Tell me about [domain hint from $ARGUMENTS] -- what kinds of things will you track, and how does this relate to your existing [current domain vocabulary] work?"

The second half is critical: understanding the relationship between domains drives composition decisions.

Signal extraction

As the user responds, extract signals for domain-adjustable dimensions:

SignalDimensionPosition
"Quick notes about people"Granularitymoderate
"Deep analysis of sessions"Processingheavy
"Just remember key moments"Processinglight
"I revisit and update often"Maintenancetight thresholds
"Mostly static once captured"Maintenancelax thresholds
"Need to find patterns across entries"Linkingexplicit+implicit

Also extract:

  • Volume estimate -- how many notes per processing batch
  • Temporal dynamics -- how fast does content change
  • Vocabulary -- the user's own words for notes, processes, organization
  • Cross-domain relationship -- how this connects to existing domain(s)

Follow-up strategy

After the opening response, ask 1-2 follow-ups targeting:

  1. Vocabulary confirmation -- "When you say [user's word], do you mean individual insights or longer entries?"
  2. Cross-domain connection patterns -- "Will [new domain] notes connect to your [existing domain] notes? How?"

Do NOT ask about dimensions directly. Listen for them in natural conversation.


PHASE 3: Derive Domain Configuration

3a. Map signals to domain-adjustable dimensions

For each adjustable dimension, determine the position for the new domain:

  • User signals (highest priority)
  • Closest use-case preset from ${CLAUDE_PLUGIN_ROOT}/reference/use-case-presets.md
  • Cascade from system-level dimensions

3b. Build vocabulary mapping

Read ${CLAUDE_PLUGIN_ROOT}/reference/vocabulary-transforms.md for the transformation table.

Priority order:

  1. User's own words from conversation
  2. Use-case preset vocabulary
  3. Closest reference domain blend

Build the complete mapping for the new domain:

Universal TermNew Domain TermSource
note[term][user / preset / blend]
extract / reduce[term][user / preset / blend]
connect / reflect[term][user / preset / blend]
MOC[term][user / preset / blend]
description[term][user / preset / blend]
topics[term][user / preset / blend]
inbox[term][user / preset / blend]

3c. Design domain-specific schema

Start from the base note schema (description, topics) and add domain-specific fields:

yaml
_schema:
  entity_type: "[domain]-note"
  applies_to: "[domain-folder]/*.md"
  required:
    - description
    - topics
  optional:
    - [domain-specific fields based on conversation signals]
  enums:
    [field]:
      - [domain-relevant values]

3d. Collision check

This is critical for multi-domain composition. Verify:

  1. Filename uniqueness -- the new domain's note titles won't collide with existing notes. Wiki links resolve by filename across the entire workspace, so every filename must be unique.

  2. Schema field names -- new domain fields don't conflict with existing domain fields. If both domains use a field name (e.g., type), the enum values must be mutually exclusive or the field must have compatible semantics.

  3. Template names -- new domain templates have distinct names from existing templates.

  4. Folder names -- new domain folders don't collide with existing folders.

If any collisions are detected, resolve them before proceeding.


PHASE 4: Check Composition Rules

Read ${CLAUDE_PLUGIN_ROOT}/reference/derivation-validation.md (Test 4: Multi-Domain Composition) for the validated composition pattern.

Verify each composition rule:

Rule 1: Wiki links resolve unambiguously in shared namespace

All note filenames must be unique across all domains. The new domain's naming conventions must be compatible with existing ones.

Rule 2: Hub MOC links to all domain MOCs

The existing hub MOC (index.md or equivalent) must be updated to include the new domain's entry point MOC. The hierarchy becomes:

hub -> existing domain MOCs
    -> new domain MOC

Rule 3: Cross-domain reflect searches all notes folders

If connection finding (reflect) is active, it must search across all domains -- a note in the new domain might connect to a note in the existing domain. Semantic search collections must include the new domain folder.

Rule 4: Domain-specific processing can coexist

If the new domain needs different processing intensity than the existing domain, the pipeline must route by note type. Heavy processing for research notes, light processing for relationship notes, etc.

Rule 5: Context file loading is progressive

The new domain's methodology guide should load only when working in that domain, not at every session start. This prevents context bloat as domains accumulate.

Coherence check

Run the new domain's configuration through ${CLAUDE_PLUGIN_ROOT}/reference/interaction-constraints.md:

  • Hard constraint violations between new domain config and system-level dimensions
  • Soft constraint warnings specific to the new domain
  • Cascade effects on existing domain(s)

PHASE 5: Present Proposal

Show the user exactly what will be created and how it connects to what exists.

Output format:

=== ADD DOMAIN PROPOSAL ===
New domain: [domain name]
Vocabulary: [key term mappings]

--- What will be created ---

Folder structure:
  [domain-folder]/           <- [description]
    index.md                 <- domain hub MOC
  [domain-inbox]/            <- capture zone (if processing >= moderate)
  templates/[domain]-note.md <- note template with domain schema

--- Connections to existing system ---

- Hub MOC (index.md): add [new domain] section with link to [[domain-index]]
- Cross-domain links: [new domain] notes can link to [existing domain] notes and vice versa
- Shared infrastructure: self/, ops/, templates/ remain shared
- Semantic search: [new collection added / not needed at current volume]

--- What does NOT change ---

- Existing [domain] folder: untouched
- Existing templates: untouched
- Existing MOC hierarchy: untouched (hub gains one new link)
- self/ space: shared (methodology.md updated with multi-domain patterns)
- ops/ space: shared (derivation.md updated with domain addition)

--- Domain Configuration ---

| Dimension | Position | Rationale |
|-----------|----------|-----------|
| Granularity | [val] | [reason] |
| Processing | [val] | [reason] |
| Maintenance | [val] | [reason] |
| Schema | [val] | [reason] |
| Linking | [val] | [reason] |
| (system-level dimensions inherited from existing system) |

--- Schema Preview ---

[Show the _schema block for the new domain template]

--- Vocabulary Mapping ---

| Universal | New Domain | Existing Domain |
|-----------|-----------|-----------------|
| note | [term] | [existing term] |
| ... | ... | ... |

Would you like me to create this? I can adjust anything before generating.
=== END PROPOSAL ===

Wait for user approval before proceeding.


PHASE 6: Generate

Create the new domain's infrastructure. Order matters -- later artifacts reference earlier ones.

Step 1: Domain folder structure

Create the domain's notes folder and optional inbox folder:

bash
mkdir -p [domain-folder]
mkdir -p [domain-inbox]  # if processing >= moderate

Step 2: Domain note template

Create templates/[domain]-note.md with the derived _schema block, required and optional fields, and domain vocabulary in comments and examples.

Step 3: Domain hub MOC

Create [domain-folder]/index.md:

markdown
---
description: [entry point description in domain vocabulary]
type: moc
---

# index

[Orientation paragraph in domain vocabulary]

## [domain:Topics]
(topics will emerge as notes accumulate)

## Getting Started
1. Capture your first [domain:note]
2. Connect it to this hub

Step 4: Domain guide

Create a domain-specific methodology document that loads when working in this domain. For Claude Code: .claude/skills/[domain]-guide/SKILL.md or a section in the context file. For other platforms: a standalone guide file.

The guide covers:

  • How to capture in this domain
  • How to process (at the derived intensity)
  • When to connect cross-domain
  • Domain-specific quality standards
  • Domain vocabulary reference

Step 5: Update hub MOC

Add the new domain to the existing hub MOC (index.md):

markdown
## [New Domain Name]
- [[domain-index]] -- [description of what this domain tracks]

Step 6: Update context file

Add to the context file:

  • Domain routing: when working in [domain], load [domain guide]
  • Vocabulary: new domain terms added to the vocabulary reference
  • Processing: if different processing intensity, document the routing
  • Cross-domain linking: when and how to connect across domains

Step 7: Update self/methodology.md

Add multi-domain working patterns:

  • How to switch between domains
  • When to create cross-domain connections
  • Processing triggers per domain

Step 8: Update ops/derivation.md

Document the domain addition:

  • New domain name and vocabulary
  • Domain-adjustable dimension positions with rationale
  • Composition rules verified
  • Cross-domain connection patterns
  • Date and context of addition

Step 9: Update semantic search (if configured)

If qmd or equivalent is configured:

bash
# Add new collection for domain folder
qmd update
qmd embed

Update .mcp.json or equivalent configuration to include the new collection.

Step 10: Domain processing skills (if processing >= moderate)

If the new domain needs its own processing skills (because processing intensity or vocabulary differs from existing domain), generate domain-adapted versions of reduce/reflect/verify skills.

If the existing skills can handle multi-domain routing by note type, update them instead of creating duplicates.


PHASE 7: Validate

Kernel checks for new domain files

Run kernel validation against the new domain's files:

  1. YAML frontmatter valid on all new files
  2. Wiki links from new files resolve (including cross-domain links)
  3. New domain MOC is reachable from hub
  4. Description fields present
  5. Topics footers reference the domain MOC

Composition validation

  1. No field conflicts -- grep all templates for field names, verify no semantic conflicts
  2. Hub reachability -- hub MOC links to all domain MOCs, all domain MOCs link to their notes
  3. Cross-domain link test -- create a test link from new domain to existing domain, verify it resolves
  4. Filename uniqueness -- verify no duplicate filenames across domains:
    bash
    find . -name "*.md" -not -path "./.git/*" -not -name "README.md" -not -name "SKILL.md" \
      -exec basename {} \; | sort | uniq -d
  5. Vocabulary isolation -- grep the new domain's files for existing domain vocabulary terms (should not appear)

Report results

=== DOMAIN ADDITION VALIDATED ===
Domain: [name]
Files created: [N]
Hub updated: yes
Cross-domain links: functional
Filename uniqueness: verified
Schema conflicts: none

Your system now has [N] domains:
- [existing domain] ([N] notes)
- [new domain] (0 notes -- ready to start)

Next steps:
1. Capture your first [domain:note] in [domain-folder]/
2. Cross-domain connections will emerge naturally as you work
3. Run /health when /next flags maintenance issues in either domain
=== END VALIDATION ===

Quality Standards

  • Existing content is never modified unless explicitly stated (hub MOC update, context file update, derivation update are the only modifications to existing files)
  • Each domain maintains its own vocabulary -- a therapy user never sees "claim" in their reflections folder
  • Cross-domain connections are encouraged but never forced
  • The hub MOC is the single unified entry point -- it must link to ALL domains
  • Templates are the source of truth for each domain's schema -- never define schema in two places
  • If the new domain's processing needs differ significantly, prefer separate processing paths over one-size-fits-all
  • Validate that the system still passes kernel checks after the addition
  • Document everything in ops/derivation.md -- future reseeds need to understand the multi-domain composition

同梱ファイル

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

よくある質問

AIスキル「Add Domain」では何ができますか?

Add a new knowledge domain to your existing system. Derives domain-specific configuration through conversation, generates domain folders, templates, and vocabulary while preserving and connecting to your existing architecture.

TypingMindでAdd Domainを使うメリットは何ですか?

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

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

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

Add Domainを使えるAIモデルはどれですか?

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

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

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

AIスキル「Add Domain」は無料ですか?

はい。agenticnotetakingがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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