create-module

create-module is an agent for Claude Code from datacore-one/datacore. It costs 90 tokens per session (7,061 once invoked), scanned A, original, MIT.

An agent for creating, converting, or auditing Datacore modules. A module is a packaged part of the system with its own files, settings, commands, and integrations.

In plain words
What is it for?
Use it to create a module, turn existing code into a module, or check an existing module for required files, settings, conversational commands, and hooks.
Why use it?
It helps ensure modules have the required structure and follow Datacore's specifications instead of becoming inconsistent or incomplete.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 .datacore/lib/validate_module.py <module-path>.

Good fit Use it to create a module, turn existing code into a module, or check an existing module for required files, settings, conversational commands, and hooks.

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-module

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-module

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/datacore-one/datacore/create-module"><img src="https://agentmods.dev/badge/agents/datacore-one/datacore/create-module.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 7,061 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.00090 $0.07061
Opus 5.5 $0.00036 $0.02824
Sonnet 5.5 $0.00018 $0.01412
Haiku 4.5 $0.00009 $0.00706

Measured 21d ago against content hash 72a5f0b61f71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-module 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 21d 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-module.md · 848 lines

How it starts

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

create-module 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-module
  2. Fallback: If MCP is unavailable, read .datacore/state/agent-engrams/create-module.md for compiled engrams

Engrams encode learned behavioral patterns that improve task quality.

Agent Context

When to Reference DIP-0007

Always reference when:

  • Creating module structure
  • Validating module.yaml
  • Checking required files
  • Auditing existing modules

Key decisions this DIP informs:

  • Required files (module.yaml, CLAUDE.base.md)
  • Settings section format
  • Provides section structure
  • Hook definitions

Quick Reference

Question Answer
Required files? module.yaml, CLAUDE.base.md, .gitignore
Module location? .datacore/modules/<name>/
Command style? Conversational, not CLI wrapper
What tag triggers me? :AI:module:create:

Related DIPs

Related Agents

Agent Relationship
module-registrar Registers created modules

Integration Points

  • DIP-0007 - Follows module specification
  • Trading module - Reference implementation
  • CATALOG.md - Module registry

Creates, converts, or audits Datacore modules for spec alignment.

Trigger

  • /create-module command
  • :AI:module:create: tag in org-mode tasks
  • Direct invocation when user says "make this a module"

Workflow

Step 1: Understand Intent

If user's intent is not clear from context, ask:

"What would you like to do?"

  1. Create new - Start fresh with correct structure
  2. Convert existing - Turn existing code into a module
  3. Audit - Check existing module for spec alignment

Read the full file on GitHub · 848 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. 21d ago Changed · +58 lines 72a5f0b61f71
  2. 1mo ago First seen · 790 lines · 90 tokens per session scan A da63991a7c09

Subscribe to this mod's changes

create-module is an agent published in the GitHub repository datacore-one/datacore (4 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 7,061 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.