Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

add-domain添加域名

Agent Skill

add-domain 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

636

周安装

26

GitHub Stars

3,335

下载量

204
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:add-domain(添加域名)
来源仓库:https://github.com/agenticnotetaking/arscontexta
仓库路径:skills/add-domain
安装命令:
npx skills add https://github.com/agenticnotetaking/arscontexta --skill add-domain
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/agenticnotetaking/arscontexta --skill add-domain

简介

用于向现有知识系统中扩展新领域,保持独立词汇与处理模式。

  • 支持多领域共存并通过共享图谱(wiki links, hub MOC)建立关联。
  • 需遵循三空间架构(shared, domain, personal)进行配置与验证。
  • 必须通过 derivation-validation.md 测试确保跨域一致性。
  • 安装方式:GitHub,命令:npx skills add https://github.com/agenticnotetaking/arscontexta --skill add-domain

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:

_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:

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:

---
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):

## [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:

# 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: 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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.2%
按下载量换算70

Claude

29.64%
按下载量换算60

Cursor

20%
按下载量换算41

Gemini CLI

8.38%
按下载量换算17

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills