init

A project setup command for OwnYourCode that records the project's mission, technology stack, and development roadmap.

In plain words
What is it for?
Use it to initialize an empty project or document an existing one, select a profile, detect its technology stack, and create a roadmap.
Why use it?
It gives a new or partly built project a defined starting point and keeps key project information in expected configuration and dashboard files.

Command for Claude Code

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/danielpodolsky/ownyourcode/init
Clone the repo
git clone --depth 1 https://github.com/DanielPodolsky/ownyourcode

Made for: Claude Code.

Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 10,670 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00014 $0.10670
Opus 5 $0.00007 $0.05335
Sonnet 5 $0.00003 $0.02134
Haiku 4.5 $0.00001 $0.01067

Measured yesterday against content hash 0d4dde99b4d5, 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 2 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

> curl -sSL https://raw.githubusercontent.com/DanielPodolsky/ownyourcode/main/scripts/base-install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> curl -sSL https://raw.githubusercontent.com/DanielPodolsky/ownyourcode/main/scripts/base-install.sh | bash
.claude/commands/own/init.md · 1,375 lines

How it starts

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

/own:init

⚠️ PLAN MODE WARNING: If plan mode is enabled, disable it before running this command. OwnYourCode commands don't work correctly with plan mode — it causes skipped steps and unexpected behavior. Press shift+tab to toggle plan mode off.

Initialize a OwnYourCode project by selecting your profile, defining the mission, detecting the stack, and creating a roadmap.

Overview

This command works for both new projects (empty directory) and existing projects (mid-development).

Output (v2.5 — Dashboard SDD):

  • ownyourcode/dashboard/dashboard-data.jswindow.PROJECT: mission, stack, and roadmap as a single source of truth (THIS is what you fill in Phase 6)
  • Updated .claude/ownyourcode-manifest.json — Profile + theme settings
  • Updated CLAUDE.md — Profile-specific behavior injected

Schema authority: ownyourcode/dashboard/DASHBOARD_CONTRACT.md defines the exact window.PROJECT shape and mutation rules. When this command's prose and the contract disagree, the contract wins. Read it before writing Phase 6 output.

CRITICAL: You Fill the Data File — You Do NOT Touch the Shell

The installation script already seeded ownyourcode/ with the dashboard:

<install-location>/
├── CLAUDE.md              ← Created/modified during install
├── ownyourcode/           ← Created during install (sibling to CLAUDE.md)
│   └── dashboard/
│       ├── dashboard.html        ← The VIEW SHELL — never edit for content
│       ├── dashboard-data.js     ← Empty scaffold — YOU fill this in Phase 6
│       └── DASHBOARD_CONTRACT.md ← The schema authority

Rules:

  1. Your job is to fill dashboard-data.js (the data) — never hand-edit dashboard.html (the shell). Styling is /own:theme's job, not yours.
  2. ownyourcode/ is always a sibling to CLAUDE.md (same directory level)
  3. If ownyourcode/dashboard/dashboard-data.js doesn't exist, the installation is incomplete or pre-v2.5 — tell the user to re-run the install script
  4. If you detect a project in a subdirectory (e.g., shelfie/package.json), still update the ownyourcode/ at the installation root (sibling to CLAUDE.md), not inside the subdirectory

Read the full file on GitHub · 1,375 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. yesterday First seen · 1,375 lines · 14 tokens per session scan C 0d4dde99b4d5

Subscribe to this mod's changes

init is a command published in the GitHub repository DanielPodolsky/ownyourcode (276 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 10,670 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.