add-domain

add-domain is a skill for Claude Code from Skyfox-io/Memex. It costs 38 tokens per session (1,278 once invoked), scanned A, original, MIT.

A workspace setup action for creating a new topic area in Memex, a system for organizing notes and project context. It creates a domain folder, an index, a file-tracking record, and the needed manifest links.

In plain words
What is it for?
Use it to create a domain, optionally move matching existing files into it, update links, and register the new area in the manifest.
Why use it?
It gives a new subject its own organized home and connects it to the workspace’s main index.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the memex plugin — 17 skills shipped together

Good fit Use it to create a domain, optionally move matching existing files into it, update links, and register the new area in the manifest.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/skyfox-io/memex/add-domain
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Skyfox-io/Memex --skill add-domain
Clone the repo
git clone --depth 1 https://github.com/Skyfox-io/Memex

Made for: Claude Code.

Or install memex, the plugin that ships this one along with the rest of its 17 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for add-domain

README.md
[![agentmods](https://agentmods.dev/badge/skills/skyfox-io/memex/add-domain/github.svg)](https://agentmods.dev/skills/skyfox-io/memex/add-domain)
Your own site
<a href="https://agentmods.dev/skills/skyfox-io/memex/add-domain"><img src="https://agentmods.dev/badge/skills/skyfox-io/memex/add-domain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for add-domain

Your own site · 80×15
<a href="https://agentmods.dev/skills/skyfox-io/memex/add-domain"><img src="https://agentmods.dev/badge/skills/skyfox-io/memex/add-domain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01278
Opus 5.5 $0.00015 $0.00511
Sonnet 5.5 $0.00008 $0.00256
Haiku 4.5 $0.00004 $0.00128

Measured 2mo ago against content hash 34fa21c79cf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

add-domain scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

memex/skills/add-domain/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Memex - Add Domain

Wikilink rule: Use [[filename]] for every file reference in markdown.

Create a domain folder with a hub index and a closets file, optionally migrate matching files into it, and wire it into _MANIFEST.md.

Step 1: Validate workspace

Run WORKSPACE_ROOT=$(pwd) && echo "$WORKSPACE_ROOT" via Bash.

Read _MANIFEST.md. If missing: tell the user "No manifest found. Run /memex:init first." and stop.

Step 2: Get the domain name

If $ARGUMENTS is set, use it. Otherwise ask. Convert to slug (lowercase, hyphens, no spaces).

Step 3: Scan for files that belong in this domain

Scan the workspace for existing files about this topic (by content, not filename). If found, list them and ask whether to move them in. On confirmation, move and update [[wikilinks]] in other files that referenced the old paths.

Step 4: Create the folder and closets file

Create [domain-name]/ at the workspace root (or inside the established domains parent if existing Hub Map entries use one).

Create [domain-name]/_CLOSETS.md. Format and per-entry typed-field schema (subjects, people, claims, decisions, dates, status) are canonical at memex/skills/session-end/references/closets-format.md. Per-entry summary fields follow the 8 rules at memex/skills/session-end/references/summary-rules.md. Use templates/closets.md.tmpl from the init skill for the file header.

If files were moved in Step 3, add a closets entry per file populated from its content.

Optional: prose hub index

By default, domains are closets-only (the typed-field index handles retrieval). An optional prose [domain-name]-index.md can also be created for human-facing context: domain philosophy, "how we work here" preamble, ad-hoc notes that don't fit typed rows. Skipped by default.

If the user explicitly asks for a hub index, or the domain has prose context worth preserving (e.g., a long-form doc migrated from elsewhere), create [domain-name]/[domain-name]-index.md:

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 101 lines · 38 tokens per session scan A 34fa21c79cf2

Subscribe to this mod's changes

add-domain is a skill published in the GitHub repository Skyfox-io/Memex (17 stars, last pushed 4mo ago), licensed MIT. It adds 38 tokens to every session and 1,278 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

add-domain compared with skills from other repositories

add-domain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
add-domainSkyfox-io/MemexSkill174mo agoMITA38Claude Code
setup-brainmycelium-hq/ai-brain-starterSkill50yesterdayMITA66Claude Code
second-brain-mappingmycelium-hq/ai-brain-starterSkill50yesterdayMITA116Claude Code
evolvemycelium-hq/ai-brain-starterSkill50yesterdayMITA100Claude Code
closewrg32786/aigent-osSkill24yesterdayMITA15Claude Code
dreamwrg32786/aigent-osSkill24yesterdayMITA25Claude Code
Promotewrg32786/aigent-osSkill24yesterdayMITA68Claude Code, Codex