/kstack:k-explorefrom K-stack
Explains how a subsystem works, traces runtime flows, answers where code should live, and uncovers design rationale via git history. Read-only exploration for onboarding or understanding unfamiliar code.
Ships in K-stack. 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.
Read-only. It produces a mental model a senior engineer can act on, not annotated source.
State your reading of the question in one line and proceed. The user redirects if you are off. Pick the size:
explore worker explores and explains in one pass. Go to step 3.When the territory is unmapped, first send a scan fan-out (see Haiku fan-out in ../k-mode/references/routing.md) to locate entry points, key types, and the files each slice will need. The explore workers then start from those pointers instead of searching on their own.
Split the question into two to four disjoint slices. Example: data model and state, request path, configuration and side effects. Dispatch all slices in one message, one explore worker per slice. Each brief says:
History seat (for why questions). Run git log -S/-G on key symbols, git log --follow on the core files, and git blame on the surprising lines. Include linked PRs and issues via gh when a remote exists. Return the decisions found, each with its commit or PR, and mark each as stated or inferred.
One design worker writes the explanation from the findings. It reconciles overlaps and resolves contradictions by reading the code. For a narrow question, the single explore worker writes it directly.
Output sections, dropping any that do not apply:
After the explanation, dispatch two review workers in one message with the explanation and file paths. One uses the lens of structure and reader load, the other failure modes and invariants. Judge the findings as the lead: act on, consider, noted, dismissed, each with a one-line reason. Present the explanation first and the critique below it.
Lightly edit for the conversation's context. Do not substantially rewrite the explainer. Apply k-write rules.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kasempiternal/k-stack --plugin kstack14 skills in this plugin
/k-agent-timeUse when asked to improve, optimize, redesign or solve an open-ended technical problem, or before dismissing an option as too big, slow or costly. Prices effort for agents, not human-hours./k-cursor-architectDelegate focused implementation or investigation from Claude Code to the Cursor Agent CLI (cursor-agent) running Grok 4.7. Use when the user invokes /k-cursor-architect, asks Claude to hand work to Cursor or Grok, or enables session-only delegation. Session mode makes Cursor the exclusive delegation backend and blocks native Claude teammates. Never enables a global or persistent mode./k-designDesign before implementing. Opus produces the data shape, interface, file plan, failure cases, tests, and verification commands for a change, and runs a competing-designs bakeoff when the design is contested or has no precedent. Use for architecture, system or API design, implementation plans, repo restructuring, RFC-grade decisions, or from k-mode before code that crosses a function boundary./k-e2e-qaE2E and UI verification workflows. AgentController for native macOS apps (mcp__agentcontroller__*) and for iOS simulators and physical iPhones (mcp__agentcontroller-ios__*), Maestro or raw adb for Android (mcp__maestro__*), Claude in Chrome or Playwright MCP for the web. Use when running UI tests, QA automation, simulator or device testing, or driving and verifying a macOS app, iPhone, Android device, or web page./k-effortSwitch K-stack's routing level the way /effort switches session effort. Levels are lean < balanced < quality, plus burn on top. A typed level applies now and is saved as the default; add "session" to keep it to this session. Use for /k-effort, "kstack effort", "cheaper kstack routing", or "more effort on kstack"./k-gpt-architectDelegate focused implementation or investigation from Claude Code to the Codex MCP. Use when the user invokes /k-gpt-architect, asks Claude to hand work to Codex, or enables session-only delegation. Session mode makes Codex the exclusive delegation backend and blocks native Claude teammates. Never enables a global or persistent mode.Other plugins' skills for the same job