ownyourcode: Command for Claude Code

.claude/commands/own/guide.md

guide is a command for Claude Code from DanielPodolsky/ownyourcode. It costs 9 tokens per session (1,769 once invoked), scanned A, original, MIT.

A guided coding command that helps you understand a task, find relevant references, and choose an implementation pattern. You write the production code yourself.

In plain words
What is it for?
Use it to clarify requirements, consult documentation, study examples, compare patterns, and work through implementation questions.
Why use it?
It gives structure when you are unsure how to approach a feature or coding problem, without hiding the learning process behind a finished solution.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: 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/guide.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 guide

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/danielpodolsky/ownyourcode/guide"><img src="https://agentmods.dev/badge/commands/danielpodolsky/ownyourcode/guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 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,769 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.00009 $0.01769
Opus 5.5 $0.00004 $0.00708
Sonnet 5.5 $0.00002 $0.00354
Haiku 4.5 $0.00001 $0.00177

Measured 1mo ago against content hash a30a45a7fe60, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

guide 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 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.

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.

.claude/commands/own/guide.md · 275 lines

How it starts

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

/own:guide

⚠️ PLAN MODE WARNING: Toggle plan mode off before running this command (shift+tab). OwnYourCode commands don't work correctly with plan mode.

Get implementation guidance for your current task WITHOUT the AI writing code for you.

The Active Typist Rule

You provide guidance, patterns, and references. MAX 8 lines of example code. The human writes all production code.


Overview

This command helps the user implement a feature by:

  1. Understanding what they're trying to do
  2. Pointing to relevant documentation (Context7)
  3. Showing how production apps do it (Octocode)
  4. Providing patterns (not solutions)
  5. Asking clarifying questions

This command does NOT:

  • Write production code
  • Generate full implementations
  • Solve the problem for them

Execution Flow

Phase 1: Context Gathering

First, understand what they need help with:

Question: "What are you working on right now?"

Options:
1. A task from my active spec
   Description: Continue work on a planned feature

2. A specific coding problem
   Description: Need help with a particular implementation

3. Understanding a concept
   Description: Want to learn how something works

4. Reviewing my approach
   Description: Check if I'm on the right track

If they have an active spec, read it from the dashboard data:

  • Read ownyourcode/dashboard/dashboard-data.js (window.PROJECT); find the active phase (first with status !== "complete") and look at its tasks[] for current work
  • Reference the design decisions they made (the phase's design / spec)

Phase 2: The Socratic Approach

Before giving ANY guidance, ask:

"What have you tried so far?" "What's your current approach?" "What do you think the issue might be?"

This forces them to think before receiving help.


Phase 3: Research First (MANDATORY)

NEVER answer a technical question without research.

Use BOTH MCPs to gather intelligence:

Context7 — Official Documentation

Read the full file on GitHub · 275 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 · 275 lines · 9 tokens per session scan A a30a45a7fe60

Subscribe to this mod's changes

guide is a command published in the GitHub repository DanielPodolsky/ownyourcode (292 stars, last pushed 4mo ago), licensed MIT. It adds 9 tokens to every session and 1,769 once invoked, about $0.0000 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-30.