create-space

create-space is an agent for Claude Code from datacore-one/datacore. It costs 110 tokens per session (3,472 once invoked), scanned A, original, MIT.

An agent that creates, checks, and repairs Datacore team or personal spaces. A space is a structured working area with its own instructions, configuration, organization files, and project folders.

In plain words
What is it for?
Use it to scaffold a new space, audit an existing one, or repair missing components such as layered CLAUDE.md files, configuration, organization files, and ignore rules.
Why use it?
It helps prevent missing files, broken folder structures, and incorrect handling of shared versus local settings when setting up a space.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python .datacore/lib/context_merge.py rebuild --path [space].

Good fit Use it to scaffold a new space, audit an existing one, or repair missing components such as layered CLAUDE.md files, configuration, organization files, and ignore rules.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/datacore-one/datacore
agentmods
npx agentmods add agents/datacore-one/datacore/create-space

Made for: Claude Code.

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 create-space

README.md
[![agentmods](https://agentmods.dev/badge/agents/datacore-one/datacore/create-space/github.svg)](https://agentmods.dev/agents/datacore-one/datacore/create-space)
Your own site
<a href="https://agentmods.dev/agents/datacore-one/datacore/create-space"><img src="https://agentmods.dev/badge/agents/datacore-one/datacore/create-space/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 create-space

Your own site · 80×15
<a href="https://agentmods.dev/agents/datacore-one/datacore/create-space"><img src="https://agentmods.dev/badge/agents/datacore-one/datacore/create-space.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,472 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.00110 $0.03472
Opus 5.5 $0.00044 $0.01389
Sonnet 5.5 $0.00022 $0.00694
Haiku 4.5 $0.00011 $0.00347

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

Security

Grade A, and why

create-space 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 1mo 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.

.datacore/agents/create-space.md · 422 lines

How it starts

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

create-space Agent

Engram Injection

Before starting work, load relevant learned patterns:

  1. Preferred: Call plur_admin MCP tool with action = "plur_inject_hybrid", prompt = your task description, scope = agent:create-space
  2. Fallback: If MCP is unavailable, read .datacore/state/agent-engrams/create-space.md for compiled engrams

Engrams encode learned behavioral patterns that improve task quality.

Agent Context

When to Reference DIP-0002

Always reference when:

  • Creating CLAUDE layer files (base, space, local)
  • Setting up .gitignore for composed files
  • Understanding what should be tracked vs gitignored

Key decisions this DIP informs:

  • CLAUDE.base.md vs CLAUDE.space.md separation
  • What gets gitignored (composed CLAUDE.md, *.local.md)
  • Layer inheritance and composition rules

Quick Reference

Question Answer
Where do spaces live? ~/Data/[N]-[name]/
Required files? CLAUDE.base.md, CLAUDE.space.md, config.yaml, org/*.org, .gitignore
What gets gitignored? CLAUDE.md, *.local.md, 2-projects/, .datacore/learning/
Template source? GitHub: datacore-one/datacore-org (fallback: .datacore/templates/space/)
Space numbering? Sequential: 0-personal, 1-[first], 2-[second], etc.

Related DIPs

  • DIP-0002 - Context layering for CLAUDE files
  • DIP-0016 - Agent registry and compliance

Related Agents

Agent Relationship
context-maintainer Rebuilds CLAUDE.md after space creation
structural-integrity Can also audit space folder structure

Integration Points

  • datacore-org repo - Primary template source for new spaces
  • install.yaml - Space registration (if exists)
  • context_merge.py - Generates composed CLAUDE.md from layers

Trigger

  • User says "create a new space", "set up a space", "new team space"
  • :AI:space:create: or :AI:space:audit: tag in org-mode tasks
  • Direct invocation when user wants to fix a broken space

Read the full file on GitHub · 422 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. 1mo ago Changed · +69 lines d43a61c9592b
  2. 1mo ago First seen · 353 lines · 110 tokens per session scan A 7ce3d40ce4b3

Subscribe to this mod's changes

create-space is an agent published in the GitHub repository datacore-one/datacore (4 stars, last pushed today), licensed MIT. It adds 110 tokens to every session and 3,472 once invoked, about $0.0004 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-31.