ctx:configure

ctx:configure is a command for coding agents from shakestzd/contextune. It costs 22 tokens per session (2,226 once invoked), scanned B, original, MIT.

A guided command for designing software systems, APIs, and component interfaces. It moves from understanding the problem through research, written requirements, decomposition, and an implementation plan.

In plain words
What is it for?
Use it when planning a new feature or system, designing an API, structuring component interfaces, comparing build-versus-buy options, or breaking down complex work.
Why use it?
It turns a broad architecture question into explicit constraints, success criteria, assumptions, dependencies, and decisions.

Command

Part of the contextune plugin — 8 skills, 14 commands, 5 agents, 6 hooks, 1 MCP server shipped together

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/shakestzd/contextune/ctx-configure
Clone the repo
git clone --depth 1 https://github.com/shakestzd/contextune

Or install contextune, the plugin that ships this one along with the rest of its 8 skills, 14 commands, 5 agents, 6 hooks, 1 MCP server.

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 ctx:configure

README.md
[![agentmods](https://agentmods.dev/badge/commands/shakestzd/contextune/ctx-configure.svg)](https://agentmods.dev/commands/shakestzd/contextune/ctx-configure)
Your own site
<a href="https://agentmods.dev/commands/shakestzd/contextune/ctx-configure"><img src="https://agentmods.dev/badge/commands/shakestzd/contextune/ctx-configure.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00022 $0.02226
Opus 5 $0.00011 $0.01113
Sonnet 5 $0.00004 $0.00445
Haiku 4.5 $0.00002 $0.00223

Measured 4d ago against content hash b182d815f3da, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

ctx:configure scanned grade B with 1 finding 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 4d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

if grep -q '"slashsense@Contextune".*true' ~/.claude/settings.json 2>/dev/null; then
commands/ctx-configure.md · 332 lines

How it starts

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

Contextune Interactive Configuration

Interactive setup for Contextune features with guided prompts.

What this configures:

  • ✨ Extraction-optimized output style (automatic documentation)
  • 🎨 Status bar integration (optional)
  • 📝 CLAUDE.md integration (optional)

Run /ctx:configure and Claude will guide you through interactive prompts.


Quick Start

/ctx:configure

Claude will detect your current setup and present interactive options via dialog prompts.


Interactive Flows

Flow 1: First-Time Setup (Complete Setup in One Command)

When you run /ctx:configure and nothing is installed, Claude guides you through:

Step 1: "Would you like to install the extraction-optimized output style?"

  • Install - Enable automatic documentation extraction
  • Skip - Continue without

Step 2 (if Install): "Where should the output style be installed?"

  • This project - Install to .claude/output-styles/ (git-trackable, team can share)
  • All projects - Install to ~/.claude/output-styles/ (available everywhere)

Step 3: "Would you like to add Contextune to your status bar?"

  • Yes - Show Contextune commands in status bar (zero token cost)
  • No - Skip status bar integration

Result: Complete setup with your preferred configuration ✅


Flow 2: Manage Existing Installation

If customizations are already installed, Claude offers:

"Manage Contextune configuration"

Current installation displayed (e.g., "Output style: user-level, Status line: ✅")

  • Activate style - Make extraction-optimized active for this session
  • Reinstall - Change installation scope (user ↔ project)
  • Uninstall - Remove all customizations
  • Keep as-is - No changes

Flow 3: Uninstall (Clean Removal)

If you choose to uninstall, Claude shows:

⚠️ Important Warning:

Before disabling the Contextune plugin (/plugin disable contextune), run this uninstall process FIRST.

The plugin's hooks won't be available after disabling, so remove customizations while the plugin is still active.

Read the full file on GitHub · 332 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. 4d ago First seen · 332 lines · 22 tokens per session scan B b182d815f3da

Subscribe to this mod's changes

ctx:configure is a command published in the GitHub repository shakestzd/contextune (5 stars, last pushed 8mo ago), licensed MIT. It adds 22 tokens to every session and 2,226 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.