aiox-master
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/aiox-master/SKILL.md --> <!-- Source:…
Creates a new SYNAPSE domain file and registers it in the manifest.
$ npx -y skills add SynkraAI/aiox-core --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/create-domainContext preview
What this command does when you run it.
Creates a new SYNAPSE domain file and registers it in the manifest.
Creates a new SYNAPSE domain file and registers it in the manifest.
---
Create a new custom domain in `.synapse/` with a corresponding entry in `.synapse/manifest`, allowing users to add their own rule sets to the SYNAPSE context engine.
---
---
| Parameter | Required | Description | |-----------|----------|-------------| | `domain-name` | Yes | Name for the new domain (kebab-case, lowercase) | | `description` | No | Short description of the domain's purpose | | `recall-keywords` | No | Comma-separated RECALL keywords for L6 matching | | `exclude-keywords` | No | Comma-separated EXCLUDE keywords | | `initial-rules` | No | One or more initial rules to include |
---
If invalid, report: `Error: Domain name must be lowercase kebab-case (e.g., "my-custom-rules"). Got: "{name}"`
Convert the kebab-case name to UPPERCASE_SNAKE_CASE for use in manifest and domain file:
Read `.synapse/manifest` and check if `{DOMAIN_KEY}_STATE` already exists.
If it exists, report: `Error: Domain "{domain-name}" already exists in the manifest. Use "add" to add rules to it instead.`
Check if file `.synapse/{domain-name}` already exists on the filesystem.
If it exists, report: `Error: Domain file ".synapse/{domain-name}" already exists on disk.`
Create `.synapse/{domain-name}` using the template from `.claude/commands/synapse/templates/domain-template`:
# ==========================================
# SYNAPSE Domain: {DOMAIN_NAME}
# Created: {CURRENT_DATE}
# Description: {DESCRIPTION}
# ==========================================
# Rules
{DOMAIN_KEY}_RULE_0={FIRST_RULE_OR_PLACEHOLDER}Append to `.synapse/manifest` using the template from `.claude/commands/synapse/templates/manifest-entry-template`:
# Layer 6: {domain-name}
{DOMAIN_KEY}_STATE=active
{DOMAIN_KEY}_RECALL={recall-keywords-or-empty}
{DOMAIN_KEY}_EXCLUDE={exclude-keywords-or-empty}---
---
| Error | Message | |-------|---------| | Invalid name | `Error: Domain name must be lowercase kebab-case (e.g., "my-custom-rules"). Got: "{name}"` | | Domain exists (manifest) | `Error: Domain "{name}" already exists in the manifest. Use "add" to add rules to it instead.` | | Domain exists (file) | `Error: Domain file ".synapse/{name}" already exists on disk.` | | Manifest not found | `Error: .synapse/manifest not found. SYNAPSE must be initialized first (SYN-8).` | | Write failure | `Error: Failed to write domain file. Check filesystem permissions.` |
---
*Create Domain — SYNAPSE CRUD Command C2* *Source: SYNAPSE-HOOK-SKILL-COMMAND-ANALYSIS.md section 2.3*
🌐 README por idioma: EN | PT | ES | ZH Devolvendo às pessoas o poder de criar — Framework open source de orquestração de IA que devolve o controle a quem tem coragem de construir.
Repo: SynkraAI/aiox-core
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/aiox-master/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/analyst/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/architect/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/data-engineer/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/dev/SKILL.md --> <!-- Source:…
<!-- ACORE-CLAUDE-AGENT-COMMAND: legacy-shim --> <!-- Canonical Skill: .claude/skills/AIOX/agents/devops/SKILL.md --> <!-- Source:…