AI Fluency Framework
Aligned with Anthropic's 4Ds model - Delegation, Description, Discernment, Diligence. Explicit human vs AI task distribution.
Learn about AI Fluency
Stop guessing. Start executing. Intelligent prompt engineering for Claude Code.
You write a prompt. Claude guesses what you meant. You get something close but not quite right. You clarify. Claude tries again. Repeat.
This wastes time and tokens.
Claude Commands Library ensures every prompt is perfect before execution:
# Before: Vague prompt leads to wrong implementation
"Add login to my app"
# After: Phase 0 asks what you actually need
/prompt-technical Add login to my app
# Claude asks:
# - Which authentication method? (JWT / OAuth / Session)
# - Which database stores users?
# - What UI framework for the login form?
# - Should I add password reset functionality?
# Result: Precise implementation matching your exact needs# Download and run installer
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/Tadzesi/claude-ideas/main/install-claude-commands.ps1" -OutFile "install.ps1"
.\install.ps1# Perfect any prompt (2 seconds)
/prompt Fix the authentication bug
# Technical analysis with agent assistance (5-30 seconds)
/prompt-technical Implement caching with Redis
# Deep multi-agent research (1-3 minutes)
/prompt-research Perform security audit of payment system
# Save your work
/session-endCommands show real-time progress as they run.
| Command | Purpose | Speed | When to Use |
|---|---|---|---|
/prompt | Basic prompt perfection | ~2s | Quick fixes, simple tasks |
/prompt-hybrid | Intelligent with agents | 2-30s | Complex tasks, codebase changes |
/prompt-technical | Implementation analysis | 5-30s | New features, refactoring |
/prompt-research | Deep multi-agent research | 60-180s | Security audits, architecture review |
| /prompt-article | Article writing wizard | Interactive | Blog posts, documentation | | /session-start | Load previous context | ~2s | Beginning of session | | /session-end | Save current context | ~5s | End of session | | /reflect | Improve skills from feedback | 5-15s | After using a command |
Every command runs your prompt through validation:
Tasks are scored for complexity (0-50+):
The system tracks:
After 3+ occurrences, it suggests smart defaults.
Multi-agent research now uses real Claude Code subagents instead of prose simulation. Each specialist lives in .claude/agents/ with valid YAML frontmatter (name, description, tools, model, color) and runs in its own isolated context window.
5 specialist subagents:
research-explore (haiku, blue) — codebase discovery, architecture mappingresearch-pattern (haiku, green) — convention detectionresearch-security (sonnet, red) — OWASP Top 10, vulnerability scanningresearch-performance (sonnet, orange) — N+1, async, caching auditresearch-citation (haiku, purple) — file:line evidence on every findingOrchestration in main thread. The prompt-research/SKILL.md orchestrator spawns subagents via the Task tool (single message, multiple parallel invocations), runs gap analysis, and persists citation entries — because subagents cannot spawn other subagents (Anthropic limit).
Net diff: -1 172 LOC. Removed 5 prose-only library/research-agent-*.md files (~6 000 words) and config/agent-roles.json (408 lines, mostly aspirational fields). Debloated research-adapter.md from 2 411 → 627 words.
Tools narrowed: Bash removed from explore + security allowlists (read-only research is fully served by Read+Grep+Glob; attack surface narrowed).
Architecture cleanup pass driven by a documented diagnostic. Net diff: -2 856 LOC.
prompt-research/SKILL.md rewritten following Anthropic's progressive disclosure: 902 → 185 lines (-79%).scripts/sync-version.ps1 propagates package.json version to installer + CLAUDE.md (modes: -Check, -DryRun, default writes).-RebaselineMemory flag, version-transition announcement, obsolete-subdir auto-detection..claude/CLAUDE.md.Repo reduced from 11 commands to the three that are actually used: /prompt, /prompt-article-readme, /prompt-research. Everything else removed.
Session Memory added as a workflow layer:
.claude/memory/diary/ before every compaction. Captures task summary, design decisions (with WHY), challenges, solutions, and observed preferences. Per-project; never committed./reflect-diary — reads accumulated diary entries, identifies recurring patterns, and proposes updates to project-profile.md. Nothing applied without explicit approval.install-claude-commands.ps1 now deploys the hook to ~/.claude/hooks/ and registers it in ~/.claude/settings.json on any machine.Token + context savings targeted at claude-opus-4-7. Seven additive changes, all backward compatible.
Highlights:
cache_control: ephemeral breakpoints on stable library files (core-library, model-router, exec-plan-template, model-tiers, adapters). Expected ~90% input cost reduction on warm cache hits. 5m default TTL, 1h beta TTL via extended-cache-ttl-2025-04-11.opus is now opus-fast (Opus 4.6, 200K ctx, 4K thinking, interactive) vs opus-smart (Opus 4.7, 1M ctx beta, 8K thinking, interleaved thinking beta). Router picks based on depth-vs-latency tradeoff.thinking_budget_tokens in model-tiers.json: haiku 0 / sonnet 2K / opus-fast 4K / opus-smart 8K.context-management-2025-06-27 with clear_tool_uses_20250919 to prevent 200K context exhaustion during /prompt-research iterations.memory_20250818 with a Phase A/B/C/D progressive migration plan./reflect for 50% cost reduction on non-urgent SDK-driven runs.Plan-first discipline promoted from individual /prompt* skills to a global session protocol loaded from CLAUDE.md. Applies to every interaction, not only slash commands.
Four rules:
git commit, git push, npm install, installer runs without explicit consentWhy it matters: previously, normal conversation bypassed Phase 0 discipline and auto-executed. v4.8 fixes the root cause — CLAUDE.md is loaded into every session automatically.
Three major additions to Phase 0 that make every prompt cheaper to run and clearer to approve:
Curiosity Gate (Step 0.25) — confidence score 0-100 with a mandatory assumption ledger whenever confidence drops below 100%. No more silent guessing:
ASSUMPTIONS I AM MAKING (correct me if wrong)
- Block goes BEFORE Step 0.6, not after.
- Minor version bump (v4.1) is appropriate.
Confidence: 85%Options-First (Step 0.35) — 2-3 alternatives shown BY DEFAULT for Task/Feature/Bug Fix/Refactor/Config prompts. Each option carries a model tier (haiku/sonnet/opus) and token-cost estimate so you choose knowing the tradeoff.
Execution Plan + MODEL HINT (Step 0.55) — mandatory block before the approval gate. Lists verified files, numbered steps, tools, risks, verification, effort, and assumptions. Plus one line:
MODEL HINT: sonnet (claude-sonnet-4-6) — multi-step single-file edit.
Savings vs current: ~80% (switch from opus).Approval gate adds a new response: switch [haiku|sonnet|opus] — change model before approving to cut cost.
Estimated token savings: 30-45% through Haiku default for simple tasks (memory recall, single-file edits, deploy scaffolds, README generation).
Every skill now has a built-in contract that prevents Claude from inventing facts:
HARD-GATE blocks — pre-flight checklist in every skill before any output:
- [ ] project-profile.md read this session
- [ ] No version numbers copied from templates — all from read files
- [ ] No file paths invented — all verified with Read or GlobNEVER rules — explicit domain-specific prohibitions (e.g. /prompt-dotnet will never state a NuGet version without reading .csproj).
Chain-of-Thought REASONING block — Step 0.1 now requires:
REASONING
Prompt type: Task (Feature) — because input contains "add" + specific component name
Facts from project-profile.md: Stack is Node.js/VitePress, kebab-case conventions
Cannot determine: which specific file to editCore library v2.0 with Mermaid flowchart and Grounding Protocol.
/session-start and /session-end removed — replaced by Claude Code auto-memory/deploy and /new-stack are now universal — all server config read from personal-profile.md/prompt-dotnet and /prompt-react scan fallbacks added (monorepo support)Two new project-aware skills that scan your codebase before asking any questions:
/prompt-dotnet - Reads .csproj, Program.cs, appsettings.json, Docker files:
PROJECT SCAN COMPLETE
Framework: net10.0
Architecture: Minimal API
Auth: JWT
ORM: EF Core | DB: PostgreSQL — ConnectionStrings:Default
Docker: yes — stack: myapp
Packages: FluentValidation, Serilog, MediatR/prompt-react - Reads package.json, vite.config.ts, tsconfig.json:
PROJECT SCAN COMPLETE
React: 19.0.0 | TypeScript: yes, strict: yes
Router: React Router v6
State: Zustand
Data fetching: TanStack Query
Base path: /appname/Both skills apply best practices for the detected stack automatically — no repeated questions.
Skills Format - Commands now use the native Claude Code Skills format:
---
name: prompt
description: Transform any prompt into an unambiguous, executable format...
argument-hint: "[your prompt or task description]"
---Claude automatically suggests the right skill based on description. No more manual /prompt when Claude already knows what you need.
Project-Aware Startup - Every command loads project context first:
CONTEXT LOADED FROM PROJECT PROFILE
Project: My App v2.1 | Stack: Node.js + PostgreSQL
Platform: macOS | Branch: feature/auth
Recent work: Added JWT middleware (yesterday)
What else do you need for this task?Zero Repeated Questions - The populated project-profile.md eliminates asking the same questions across sessions. Tech stack, preferences, structure - all pre-filled automatically.
Memory Recall - Commands remember your project between sessions:
Session 1: "What framework?" → "Express + TypeScript"
Session 2: Context: Express + TypeScript (from project profile) ✓AI Fluency - Full 4Ds Framework integration:
/reflectNew to Claude Commands?
Follow the Getting Started Guide for a complete walkthrough.
Install Now → | Browse Commands → | Understand Architecture →