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.
npx agentmods add commands/athola/claude-night-market/create-commandgit clone --depth 1 https://github.com/athola/claude-night-marketWrote 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.
[](https://agentmods.dev/commands/athola/claude-night-market/create-command)<a href="https://agentmods.dev/commands/athola/claude-night-market/create-command"><img src="https://agentmods.dev/badge/commands/athola/claude-night-market/create-command.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00011 | $0.03279 |
| Opus 5 | $0.00005 | $0.01639 |
| Sonnet 5 | $0.00002 | $0.00656 |
| Haiku 4.5 | $0.00001 | $0.00328 |
Grade A, and why
create-command 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 567 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Command
Creates new slash commands through a structured workflow: iron-law → brainstorm → design → scaffold → validate. Uses Socratic questioning to refine rough ideas into well-designed commands before generating any files.
When To Use
Use this command when you need to:
- Creating a new slash command from scratch
- Need guided brainstorming for command design
- Want structured workflow for command development
When NOT To Use
Avoid this command if:
- Creating skills - use /create-skill instead
- Creating hooks - use /create-hook instead
- Modifying existing commands - edit directly
Usage
# Start with brainstorming (recommended)
/create-command "run all tests and show coverage report"
# Skip brainstorming if design is clear
/create-command test-coverage --skip-brainstorm
# Create in specific plugin
/create-command "analyze git history" --plugin sanctum
What is a Slash Command?
Slash commands are shortcuts that expand into prompts Claude follows. They're stored as .md files in commands/ and referenced in plugin.json.
Simple command example:
---
description: Run tests with coverage
---
Run all tests with pytest and display a coverage report. Focus on files changed in the current branch.
Command with arguments:
---
description: Review specific PR
usage: /review-pr <pr-number> [--focus security|performance|all]
---
Review pull request #$ARGUMENTS using the code review skill. Focus on ${focus:-all} aspects.
Workflow
Phase 0: Iron Law Interlock (Blocking)
This phase is required and cannot be skipped.
Before any file creation, satisfy the Iron Law interlock:
Step 1: Create Test File FIRST
# Determine test location based on target plugin
tests/unit/test_${command_name}_command.py
Step 2: Write Structural Validation Tests
"""Tests for ${command_name} command structure and validation.
Written BEFORE implementation per Iron Law.
"""
import json
from pathlib import Path
import pytest
class Test${CommandName}Command:
"""Test /${command_name} command structure."""
@pytest.fixture
def command_file_path(self) -> Path:
return Path(__file__).parents[2] / "commands" / "${command_name}.md"
@pytest.fixture
def plugin_json_path(self) -> Path:
return Path(__file__).parents[2] / ".claude-plugin" / "plugin.json"
def test_should_exist_when_command_file_path_resolved(
self, command_file_path: Path
) -> None:
"""Command file must exist."""
assert command_file_path.exists()
def test_should_have_frontmatter_when_parsing_content(
self, command_file_path: Path
) -> None:
"""Command must have valid frontmatter."""
content = command_file_path.read_text()
assert content.startswith("---")
assert "description:" in content
def test_should_be_registered_in_plugin_json(
self, plugin_json_path: Path
) -> None:
"""Command must be registered in plugin.json."""
plugin = json.loads(plugin_json_path.read_text())
commands = plugin.get("commands", [])
assert any("${command_name}.md" in cmd for cmd in commands)
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.
- 6d ago First seen · 567 lines · 11 tokens per session scan A c279213ec52f
create-command is a command published in the GitHub repository athola/claude-night-market (335 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 3,279 once invoked, about $0.0001 per session on Opus 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.
Other commands, from other repositories
analyze-codebase
Generate comprehensive analysis and documentation of entire codebase.
prompt
System instructions for writing effective prompts. Apply when generating commands, skills, agents, or any LLM instructions.
anti-slop-designer
Use when a UI looks machine-made rather than decided. Violet gradients, glassmorphism everywhere, identical cards in a grid, untouched shadcn or Material defaults, emoji bullets, or copy stuffed with seamless and unlock.
design-critic
Use when you want an honest read on a design instead of encouragement. What is wrong, ranked by severity, with the reason attached. Works on a screenshot, a mockup, or a described screen.
codex-review
Run OpenAI Codex code review on current changes or a specific branch/commit.
debug-session
Start a comprehensive debugging session.