create

A command-line tool that creates starter projects for ErisPulse modules or adapters. It checks names, asks for missing details, and fills in the project template.

In plain words
What is it for?
Use it to scaffold a new ErisPulse module or adapter, generate its naming text, and copy the project logo into the expected location.
Why use it?
It removes the repetitive setup work involved in starting a new module or adapter. Name validation also helps prevent invalid project names.

Command

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.

agentmods
npx agentmods add commands/erispulse/erispulse/create
Clone the repo
git clone --depth 1 https://github.com/ErisPulse/ErisPulse
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 731 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00731
Opus 5 $0.00000 $0.00365
Sonnet 5 $0.00000 $0.00146
Haiku 4.5 $0.00000 $0.00073

Measured yesterday against content hash 6c2820e4e945, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create 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 yesterday.

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.

docs/en/api-reference/auto_api/ErisPulse/CLI/commands/create.md · 135 lines

What it actually says

ErisPulse.CLI.commands.create 模块


模块概述

Create 命令实现

脚手架工具,快速创建 Module / Adapter 项目模板


函数列表

_camel_to_snake(name: str)

将 PascalCase/CamelCase 名称转换为 snake_case

  • name (str): 原始名称 返回值 (str): 转换后的 snake_case 名称

_to_converter_name(name: str)

根据适配器名称生成转换器类名

  • name (str): 适配器名称 返回值 (str): 转换器类名(名称后追加 Converter)

_validate_name(name: str)

校验项目/模块/适配器名称是否合法

名称必须以字母开头,且只能包含字母、数字和下划线。

  • name (str): 待校验的名称 返回值 (bool): 合法返回 True,否则 False

_copy_erispulse_logo(project_dir: Path)

将 ErisPulseLogo.png 拷贝到项目的 .github/assets/ 目录

  • project_dir (Path): 项目根目录

_scaffold_text(name: str)

构建当前语言的脚手架文案映射,并预填充 {name} 占位符

  • name (str): 模块/适配器名称 返回值 (dict): ScaffoldText.all() 的文案字典(含占位符替换)

类列表

class CreateCommand(Command)

create 命令

脚手架工具,快速创建 Module / Adapter 项目模板

方法列表
_interactive_select_type()

交互式选择创建类型(Module 或 Adapter)

返回值 (str): 返回 "module" 或 "adapter"


_ask_missing(args, field_name: str, prompt_text: str, default: str = '')

获取参数值,若缺失则交互式提示输入

  • args (Any): 解析后的命令参数对象
  • field_name (str): 参数字段名
  • prompt_text (str): 提示文本
  • default (str): 默认值 (默认: "") 返回值 (str): 获取到的参数值

_create_module(args, name: str)

创建 Module 项目脚手架

  • args (Any): 解析后的命令参数对象
  • name (str): 模块名称 返回值 (None): 无返回值

_create_module_local(args, name: str)

创建本地插件(--local):生成 plugins/ 目录结构,免打包安装

  • args (Any): 解析后的命令参数对象
  • name (str): 模块名称 返回值 (None): 无返回值

_create_adapter(args, name: str)

创建 Adapter 项目脚手架

  • args (Any): 解析后的命令参数对象
  • name (str): 适配器名称 返回值 (None): 无返回值

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. yesterday First seen · 135 lines · 0 tokens per session scan A 6c2820e4e945

Subscribe to this mod's changes

create is a command published in the GitHub repository ErisPulse/ErisPulse (56 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 731 tokens. 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.