scopes: Command for Claude Code

.claude/commands/context/create.md

create is a command for Claude Code from kamiazya/scopes. It costs 0 tokens per session (1,642 once invoked), scanned A, original, Apache-2.0.

A command that creates initial project context documents in `.claude/context/` by examining the current project. These documents give an agent a shared starting description of the codebase.

In plain words
What is it for?
Use it when setting up context for a project, after checking the required date-time rule and project type. If context files already exist, it asks before overwriting them.
Why use it?
It establishes baseline project information so future sessions can work from documented context instead of rediscovering the project each time.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

This is kamiazya/scopes's own configuration. It tells Claude Code how to work on scopes 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 scopes configures →

Reuse

Borrowing it

Nothing to install: this file belongs to kamiazya/scopes. 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/kamiazya/scopes/main/.claude/commands/context/create.md
Clone the repo
git clone --depth 1 https://github.com/kamiazya/scopes

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 create

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/kamiazya/scopes/create"><img src="https://agentmods.dev/badge/commands/kamiazya/scopes/create.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 1,642 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.00000 $0.01642
Opus 5.5 $0.00000 $0.00657
Sonnet 5.5 $0.00000 $0.00328
Haiku 4.5 $0.00000 $0.00164

Measured 2mo ago against content hash b9001ce0c6f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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/context/create.md · 162 lines

How it starts

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

Create Initial Context

This command creates the initial project context documentation in .claude/context/ by analyzing the current project state and establishing comprehensive baseline documentation.

Required Rules

IMPORTANT: Before executing this command, read and follow:

  • .claude/rules/datetime.md - For getting real current date/time

Preflight Checklist

Before proceeding, complete these validation steps. Do not bother the user with preflight checks progress ("I'm not going to ..."). Just do them and move on.

1. Context Directory Check

  • Run: ls -la .claude/context/ 2>/dev/null
  • If directory exists and has files:
    • Count existing files: ls -1 .claude/context/*.md 2>/dev/null | wc -l
    • Ask user: "⚠️ Found {count} existing context files. Overwrite all context? (yes/no)"
    • Only proceed with explicit 'yes' confirmation
    • If user says no, suggest: "Use /context:update to refresh existing context"

2. Project Type Detection

  • Check for project indicators:
    • Node.js: test -f package.json && echo "Node.js project detected"
    • Python: test -f requirements.txt || test -f pyproject.toml && echo "Python project detected"
    • Rust: test -f Cargo.toml && echo "Rust project detected"
    • Go: test -f go.mod && echo "Go project detected"
  • Run: git status 2>/dev/null to confirm this is a git repository
  • If not a git repo, ask: "⚠️ Not a git repository. Continue anyway? (yes/no)"

3. Directory Creation

  • If .claude/ doesn't exist, create it: mkdir -p .claude/context/
  • Verify write permissions: touch .claude/context/.test && rm .claude/context/.test
  • If permission denied, tell user: "❌ Cannot create context directory. Check permissions."

4. Get Current DateTime

  • Run: date -u +"%Y-%m-%dT%H:%M:%SZ"
  • Store this value for use in all context file frontmatter

Instructions

1. Pre-Analysis Validation

  • Confirm project root directory is correct (presence of .git, package.json, etc.)
  • Check for existing documentation that can inform context (README.md, docs/)
  • If README.md doesn't exist, ask user for project description

Read the full file on GitHub · 162 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. 2mo ago First seen · 162 lines · 0 tokens per session scan A b9001ce0c6f1

Subscribe to this mod's changes

create is a command published in the GitHub repository kamiazya/scopes (2 stars, last pushed 11mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,642 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-31.

Related

create compared with commands from other repositories

create next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
createkamiazya/scopesCommand211mo agoApache-2.0A0Claude Code
diagnose-deeptracezscaler/zscaler-mcp-serverCommand5510d agoMITA29Claude Code
troubleshoot-experiencezscaler/zscaler-mcp-serverCommand5510d agoMITA25Claude Code
app-healthzscaler/zscaler-mcp-serverCommand5510d agoMITA16Claude Code
compare-locationszscaler/zscaler-mcp-serverCommand5510d agoMITA20Claude Code
investigate-alertszscaler/zscaler-mcp-serverCommand5510d agoMITA23Claude Code
investigate-sandboxzscaler/zscaler-mcp-serverCommand5510d agoMITA30Claude Code