/cct-helpers:mcp-usagefrom cct-helpers
Provides MCP procedures for digesting large inputs, extracting structured data, mapping unfamiliar repos, looking up library APIs, and running headless batch operations.
Ships in cct-helpers. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Procedures that used to live inline in every project's CLAUDE.local.md. They are needed occasionally, not on every turn, so they load on demand.
That always-on half — which servers are registered, the git/GitHub MCP-only requirement, Open Brain, trust/verification, and failure handling — lived in CLAUDE.local.md for a project bootstrapped before v4.0.1. The template no longer ships that file; for a newer project the always-on channel is CLAUDE.md's PROJECT-CUSTOM region.
Before local_first_pass or extract_json:
ollama_health — is the server up?ollama_list_models — are the required models present?warm_models (optional) — pre-load for faster first inference.If Ollama is unavailable: say so, proceed without local preprocessing when the task is small, and do not retry indefinitely or fail silently.
For any input over ~200 lines, or complex regardless of length (requirements, logs, architecture, policy):
local_first_pass to compress or plan.When the task needs structured data — errors, TODOs, requirements, entities, acceptance criteria, cause/effect:
extract_json with an explicit schema.Do not hand-infer structure when extraction is available. If extract_json returns invalid JSON, retry through the tool — never continue on a guessed structure.
Getting your bearings in a repo: call map_project_structure (or map_dotnet_structure in .NET repos) and let the returned structure decide which files to open. For open-ended exploration, dispatch the Explore subagent instead of walking directories by hand — it returns compressed locations, not raw file contents.
Prefer the bundled and superpowers skills over ad-hoc reading:
| Need | Skill |
|---|---|
| Review checklist (correctness, design, security, performance) | /code-review (bundled code-review plugin) |
| Requesting or digesting a review | superpowers:requesting-code-review / superpowers:receiving-code-review |
| Diagnosing a failure before changing code | superpowers:systematic-debugging |
| Environment / config sanity check | /doctor (bundled) |
In .NET repos, analyze_method_complexity, find_god_classes, and find_large_files give complexity hotspots; nuget_check_vulnerabilities and nuget_list_outdated cover dependencies.
For unfamiliar library APIs: resolve-library-id, then query-docs, then verify the code against what came back before committing.
Use it for unfamiliar framework APIs and controls, third-party patterns, and any library whose surface has changed recently. Skip it for well-known standard-library APIs and patterns already established in the codebase — follow the existing pattern first.
For repeatable non-interactive work across repos or variants, use claude -p. Start it with env -u CLAUDE_CODE_SESSION_ID: a nested claude inherits the parent's session id, and its SessionEnd would delete the parent's cct marker (the parent's next tool call in a synced project is then refused).
# Single-variant template sync
env -u CLAUDE_CODE_SESSION_ID claude -p "Run /cct:sync-template, resolve merge conflicts, commit and push"
# Multi-variant propagation
for variant in general dotnet dotnet-maui rust-tauri java python; do
env -u CLAUDE_CODE_SESSION_ID claude -p "Apply the same change to templates/$variant/ — implement, verify, commit, push"
done
Use when the pipeline is well-defined and repeatable — template propagation, release steps, batch syncs. Do not use for multi-step sprints needing checkpoints, debugging sessions, or first-time operations whose pattern has not been validated.
On Windows, run headless commands from Git Bash.
Prefer MCP tools for preprocessing and automation. Do not dump logs, directory trees, or full diffs into the conversation. Reserve reasoning budget for design decisions, code changes, test logic, and architectural trade-offs.
Unless told otherwise: MCP preprocessing → plan from tool output → verify against sources → implement → re-run build/tests → update issues if relevant → commit → summarize.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub dagonet/claude-code-toolkit --plugin cct-helpers4 skills in this plugin
/commitStage and commit changes with native git, after showing the user exactly what will be committed. Triggers on /cct-helpers:commit./contribute-upstreamPush project improvements back to the claude-code-toolkit template. Triggers on /cct-helpers:contribute-upstream./karpathy-guidelinesBehavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code.