ownyourcode: Command for Claude Code

.claude/commands/own/init.md

init is a command for Claude Code from DanielPodolsky/ownyourcode. It costs 14 tokens per session (10,670 once invoked), scanned C, original, MIT.

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

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

This is DanielPodolsky/ownyourcode's own configuration. It tells Claude Code how to work on ownyourcode itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ownyourcode configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DanielPodolsky/ownyourcode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DanielPodolsky/ownyourcode/main/.claude/commands/own/init.md
Clone the repo
git clone --depth 1 https://github.com/DanielPodolsky/ownyourcode

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 init

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielpodolsky/ownyourcode/init/github.svg)](https://agentmods.dev/commands/danielpodolsky/ownyourcode/init)
Your own site
<a href="https://agentmods.dev/commands/danielpodolsky/ownyourcode/init"><img src="https://agentmods.dev/badge/commands/danielpodolsky/ownyourcode/init/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 init

Your own site · 80×15
<a href="https://agentmods.dev/commands/danielpodolsky/ownyourcode/init"><img src="https://agentmods.dev/badge/commands/danielpodolsky/ownyourcode/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00014 $0.10670
Opus 5.5 $0.00006 $0.04268
Sonnet 5.5 $0.00003 $0.02134
Haiku 4.5 $0.00001 $0.01067

Measured 1mo ago against content hash 0d4dde99b4d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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.js — window.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. 1mo ago 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 (292 stars, last pushed 4mo ago), licensed MIT. It adds 14 tokens to every session and 10,670 once invoked, about $0.0001 per session on Opus 5.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.