一键导入
session-start
Start new session with full context and greeting
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start new session with full context and greeting
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Strategic system analysis for health assessment, pattern recognition, component deep dives, risk assessment, and architecture review. Use for proactive system understanding beyond reactive incident response.
Transform a design into an implementation spec. Creates a blueprint document and an implementation prompt for /plan mode. Use after /design or /research.
Cancel the active Wrought implementation/RCA loop
Interactive design analysis for architecture decisions. Combines codebase analysis, documentation review, and external research to provide evidence-based recommendations. Use for tradeoff analysis, pattern evaluation, migration planning, or design validation.
Log a proactive discovery that needs attention. Creates a factual record of WHAT was found with classification and a Findings Tracker. Use for analysis discoveries, review findings, or inspection results.
Deep multi-agent code review with algorithmic complexity analysis, data structure review, paradigm enforcement, and efficiency analysis. Complements /simplify with deeper dimensions.
| name | session-start |
| description | Start new session with full context and greeting |
| disable-model-invocation | false |
| wrought | {"version":"1.0","platforms":{"claude-code":{"disable-model-invocation":false}}} |
date -u '+%A, %B %d, %Y at %H:%M UTC'
Look for configuration in CLAUDE.md between markers:
<!-- SESSION_CONFIG_START --> and <!-- SESSION_CONFIG_END -->Extract:
user_name: Who to greetproject_name: Project nametimezone: User's timezone for displaysession_docs: Additional docs to readIf no config exists, use defaults and infer from context.
Find the imported handoff in CLAUDE.md between:
<!-- SESSION_HANDOFF_START -->
@NEXT_SESSION_PROMPT_xxxx.md
<!-- SESSION_HANDOFF_END -->
Read that file for full session context.
After reading the handoff (or determining this is the first session), check for first-session indicators. Each check is independent — if one fails or is declined, continue to the next.
IF .wrought exists AND no file matching docs/analysis/*_environment_profile.md:
/safeguard detect (full interactive flow with checkpoints)IF no docs/analysis/system-map.md exists:
/analyze discoverRead .wrought marker and check github_owner and github_project_number fields.
IF github_owner is set (not "none") AND github_project_number is "none" or missing:
This step creates a GitHub Projects board with Wrought-aligned custom fields. Only execute if requested in Step 3.5.
gh auth status
project scope: suggest gh auth refresh -s projectPROJECT_NUMBER=$(gh project create --owner {github_owner} \
--title "{project_name} Wrought Evolution" \
--format json --jq '.number')
Create each field using gh project field-create:
| Field | Type | Options |
|---|---|---|
| Pipeline | Single Select | Reactive, Proactive, Audit, Self-Evolution, BAU |
| Lifecycle Stage | Single Select | Open, Investigating, Designing, RCA Complete, Blueprint Ready, Planned, Implementing, Resolved, Verified |
| Type | Single Select | Defect, Vulnerability, Gap, Debt, Drift |
| Severity | Single Select | Critical, High, Medium, Low |
| Finding ID | Text | — |
| Evidence | Text | — |
| Workstream | Single Select | BAU, Roadmap, TechDebt |
| Area | Single Select | CLI, Skills, Tracker, Lifecycle, Hooks, Docs, SDLC/Release |
gh project field-list {PROJECT_NUMBER} --owner {github_owner} --format json
PROJECT_ID=$(gh project view {PROJECT_NUMBER} --owner {github_owner} --format json --jq '.id')
Generate docs/reference/github_projects_sync_protocol.md from captured IDs.
Use the same format as the existing Wrought sync protocol file if one exists.
Update .wrought marker with:
github_project_number={PROJECT_NUMBER}github_project_id={PROJECT_ID}Print: "GitHub Projects board created: {project_name} Wrought Evolution (#{PROJECT_NUMBER})"
All steps in 3.6 are non-fatal — if any step fails, warn and continue.
Check docs/intelligence/inbox.md for items collected since last session.
docs/intelligence/inbox.md--- header), skip silently**Intelligence Inbox** ({N} new items):
- {tag} {one-line summary} — {link}
/finding — shall I create one?"docs/intelligence/archive.md (append under a date heading, preserve tags and notes)inbox.md to remove processed items (keep the header template)This step is non-fatal — if docs/intelligence/inbox.md does not exist, skip silently.
Check for active Findings Trackers to surface "you are here" context:
docs/findings/*_FINDINGS_TRACKER.mdResolved or Verified**Active Workflows**:
- F1: {title} — Stage: {stage} — Next: /{next_skill}
wrought workflow status for full details"This step is non-fatal — if docs/findings/ does not exist, skip silently.
Format your response as:
Good [morning/afternoon/evening] {user_name}!
It's {current_datetime} UTC ({local_time} {timezone}).
I've read the session handoff and I'm oriented with the {project_name} project.
**Last Session**: {brief summary from handoff}
**Current Status**:
- {status item 1}
- {status item 2}
**Priorities**:
1. {priority 1}
2. {priority 2}
3. {priority 3}
What would you like to work on today?
After greeting, confirm you have loaded:
Based on UTC time, determine greeting:
Adjust if user's timezone is specified in config.
docs/plans/ for recent plan filesIf this is the first session (no handoff file):
Hello {user_name}!
It's {current_datetime}.
This appears to be the first session for this project. I've read CLAUDE.md and I'm ready to help.
**Project**: {project_name}
Would you like me to help you set up the session management system, or shall we dive into the work?