overview-exploration
This skill should be used when performing quick project overview exploration at the start of ultrawork sessions. Executes directly without agent spawn for fast codebase understanding.
What this skill does
# Overview Exploration Skill
Quick project overview exploration executed directly without agent spawn.
## When to Use
- At the start of ultrawork sessions (exploration phase)
- When project structure understanding is needed
- Context collection before targeted exploration
---
## Execution Steps
### Step 1: Detect Project Type
Check for language/framework config files:
```python
Glob(pattern="package.json") # Node.js/JS
Glob(pattern="go.mod") # Go
Glob(pattern="requirements.txt") # Python
Glob(pattern="Cargo.toml") # Rust
Glob(pattern="pom.xml") # Java/Maven
```
Read discovered files to understand dependencies and framework.
### Step 2: Explore Directory Structure
```python
# Top-level structure
Glob(pattern="*", path=".")
# Main source directories
Glob(pattern="src/*")
Glob(pattern="app/*")
Glob(pattern="lib/*")
```
### Step 3: Identify Entry Points and Patterns
```python
# Find entry points (language-specific)
Grep(pattern="export default|module.exports", type="ts")
Grep(pattern="def main|if __name__", type="py")
Grep(pattern="func main", type="go")
# Check for existing patterns
Grep(pattern="auth|login|session", output_mode="files_with_matches")
```
### Step 4: Quantitative Data Collection
Beyond descriptive findings, collect measurable data that enables informed planning decisions.
**Test file count:**
```bash
# Count test files in project
find . -name "*.test.*" -o -name "*.spec.*" | wc -l
# Check for test configuration
ls jest.config* vitest.config* .bun* 2>/dev/null
```
**Key interface signatures:**
```bash
# Extract exported interfaces and types
grep -A3 "export.*interface\|export.*type\|export.*function" src/ --include="*.ts" -rn | head -20
```
**File line counts for main source files:**
```bash
# Line counts for relevant source files
wc -l src/**/*.ts 2>/dev/null | tail -5
```
Include these metrics in your exploration output under a "Quantitative Data" subsection (see Output Format below).
### Step 5: Read Documentation
```python
Read(file_path="README.md")
Read(file_path="CLAUDE.md")
```
---
## Goal-Aligned Exploration Priority
Exploration must be driven by the session goal. Breadth-first scanning wastes time when the goal points to a specific domain.
### Keyword Extraction
Parse the session goal for domain keywords to prioritize exploration:
| Goal keyword | Priority exploration area |
|-------------|--------------------------|
| auth, login, session, JWT | Authentication layer, middleware, token handling |
| database, schema, migration, model | Database layer, ORM config, migration files |
| API, endpoint, route, REST | Route handlers, controllers, API middleware |
| test, coverage, spec | Test infrastructure, test utilities, CI config |
| UI, component, page, form | Frontend components, layouts, styles |
| deploy, CI, build, config | Build system, CI/CD pipelines, environment config |
**Example**: goal = "add authentication" → prioritize exploring `auth/`, `login/`, `session/`, `middleware/` patterns first.
### Exploration Priority Order
1. Files directly named in or implied by the goal
2. Files that import/depend on those files (consumers)
3. Test files for the above
4. Configuration files (if goal involves infra changes)
5. Everything else (surface scan only)
### Relevance Annotation
Every finding should connect back to the goal. Annotate findings with relevance:
```markdown
### src/middleware/auth.ts
**Relevance**: Direct target for modification (goal: "add role-based access")
- Uses JWT validation with `jsonwebtoken` library
- 12 route files import this middleware
```
---
## Output Format
Summarize findings in structured format:
```markdown
## Overview Exploration Results
**Project Type**: {framework/language}
**Tech Stack**:
- Language: {language and version}
- Framework: {framework}
- Database: {if found}
- Test: {test framework}
**Directory Structure**:
{tree representation}
**Key Entry Points**:
- {main files}
**Existing Patterns**:
- {auth, database, api patterns found}
**Quantitative Data**:
| Metric | Value |
|--------|-------|
| Test files | {count} |
| Test runner | {runner} |
| Lines in {key file} | {count} |
| Exported interfaces | {count} |
**Relevant to Goal**:
- {files directly related to the session goal, with relevance annotation}
```
See `references/templates.md` for complete template.
---
## Session Integration
When running within an ultrawork session:
1. **Update exploration stage** to `overview`
2. **Write** findings to `$SESSION_DIR/exploration/overview.md`
3. **Add** summary to `context.json`
4. **Advance** stage to `analyzing`
**Note**: `SESSION_DIR` is the session metadata directory (e.g., `~/.claude/ultrawork/sessions/${CLAUDE_SESSION_ID}`), not the project working directory. All exploration artifacts are stored in the session directory to maintain session isolation.
```bash
# For ultrawork, use scripts written in Javascript/Bun
SCRIPTS="${CLAUDE_PLUGIN_ROOT}/src/scripts"
# Update stage
bun $SCRIPTS/session-update.js --session ${CLAUDE_SESSION_ID} --exploration-stage overview
# Get session directory and write findings
SESSION_DIR=~/.claude/ultrawork/sessions/${CLAUDE_SESSION_ID}
mkdir -p "$SESSION_DIR/exploration"
# Write findings to $SESSION_DIR/exploration/overview.md using Write tool
# Add to context (file path is relative to SESSION_DIR)
bun $SCRIPTS/context-add.js --session ${CLAUDE_SESSION_ID} \
--explorer-id "overview" \
--file "exploration/overview.md" \
--summary "{summary}" \
--key-files "{files}" \
--patterns "{patterns}"
# Advance stage
bun $SCRIPTS/session-update.js --session ${CLAUDE_SESSION_ID} --exploration-stage analyzing
```
---
## Time Budget
- **Target**: Complete within 30 seconds
- **Max Read**: 5-7 files
- **Max Glob**: 10 patterns
No excessive exploration - overview aims for quick understanding. Targeted exploration handles detailed investigation.
---
## Next Steps
After overview completion:
1. Analyze Goal + Overview → Generate targeted exploration hints
2. Detailed exploration via `Task(subagent_type="ultrawork:explorer")`
3. All exploration complete → Proceed to Planning phase
---
## Additional Resources
### Reference Files
- **`references/examples.md`** - Complete exploration examples for different project types
- **`references/templates.md`** - Output templates and session integration commands
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.