init

A project-initialization command that creates the RENATA project structure, including CLAUDE.md, documentation folders, and Claude configuration files. It can also clone an optional frontend starter.

In plain words
What is it for?
Use it after installing RENATA or when adding its structure to an existing project. It can prepare project rules, progress tracking, documentation, and an optional frontend.
Why use it?
It gives a new or existing project a consistent starting structure and points out missing command-line dependencies.

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/ainsteinsbr/renata/init
Clone the repo
git clone --depth 1 https://github.com/AInsteinsBR/renata
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,475 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00027 $0.01475
Opus 5 $0.00014 $0.00737
Sonnet 5 $0.00005 $0.00295
Haiku 4.5 $0.00003 $0.00147

Measured 2d ago against content hash fe3b28f37042, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

init scanned grade C with 1 finding 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 2d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf frontend/.git
commands/init.md · 105 lines

How it starts

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

/renata:init — Initialize a new project with the RENATA structure

You initialize the current project with the RENATA scaffold: CLAUDE.md, the docs/ structure, and .claude/ (progress-map + rules). Optionally, it clones a frontend starter. It receives the project name in $ARGUMENTS.

Respond to the user, and write the "next steps" output, in the user's language (the language they are writing in).

When to use

  • Right after installing the RENATA plugin, in a new project directory (empty or with initial code).
  • To "renata-ify" an existing project that does not yet have the structure — in that case the closing output points to /renata:adopt (full brownfield adoption).

Steps

1. Check machine dependencies

The RENATA hooks and the commit-time ADR enforcement depend on a few CLI tools. Check them all in a single Bash call:

for t in yq jq python3 git; do command -v "$t" >/dev/null 2>&1 && echo "ok       $t" || echo "MISSING  $t"; done
  • yqrequired: without it, rules-violation.sh does not validate rules.yaml on commit and the status line loses ADR enforcement. No fallback.
  • jq or python3 — the stage gate and the status line need at least one of the two; only treat as missing if both are absent.
  • git — needed for step 6 (pre-commit enforcement) and for the --starter clone.

If nothing is missing, say nothing about this step and move on.

If something is missing:

  1. Detect the available package manager (brew on macOS, apt-get or dnf on Linux) and install the missing tools with it (e.g., brew install yq jq). Run the install as a normal, visible Bash call — the user's permission prompt is the consent. Never install through any other silent mechanism.
  2. If there is no package manager, or the user declines the install, print the manual install command(s) and continue with the init — the hooks degrade with warnings instead of breaking, and the SessionStart warning will keep reminding the user about yq.

Read the full file on GitHub · 105 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. 2d ago First seen · 105 lines · 27 tokens per session scan C fe3b28f37042

Subscribe to this mod's changes

init is a command published in the GitHub repository AInsteinsBR/renata (10 stars, last pushed 11d ago), licensed MIT. It adds 27 tokens to every session and 1,475 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.