deepwork-status
View deepwork session status — phase, team, bar verdicts, proposals, guardrails
What this skill does
# Deepwork Status
Display the current status of all active deepwork sessions.
1. Use Glob to find all active instances:
```
Glob: ${CLAUDE_PROJECT_DIR:-$(pwd -P)}/.claude/deepwork/*/state.json
```
If no files are found, report that no deepwork session is currently active and stop.
2. Read each state file found. For each instance, display a brief summary row:
| Instance ID | Goal | Phase | Team |
|---|---|---|---|
| `<id>` | `<goal>` | `<phase>` | `<team_name>` |
3. For the current session's instance (match `state.json.session_id` against `$CLAUDE_CODE_SESSION_ID` if available, or show all if the env var is unavailable), display detailed status:
**Core fields**
- **Goal**
- **Phase** (scope | explore | synthesize | critique | refine | deliver | done | refining)
- **Team**: `team_name`
- **Instance**: `instance_id`
- **Started**: `started_at`
- **Last updated**: `last_updated`
- **Safe mode**: `safe_mode`
**Source of truth** (`source_of_truth[]`): list each path; or "(none specified)"
**Anchors** (`anchors[]`): list each file:line; or "(none specified)"
**Written bar** (`bar[]`): table of:
| ID | Criterion | Verdict | Categorical ban | Evidence required |
|---|---|---|---|---|
**Empirical unknowns** (`empirical_unknowns[]`): table of:
| ID | Description | Artifact | Owner | Result |
|---|---|---|---|---|
**Role definitions** (`role_definitions[]`): table of:
| Name | Archetype | Model | Output artifact |
|---|---|---|---|
**Guardrails** (`guardrails[]`): list:
```
- <rule> [source: <source>, <timestamp>]
```
**Banners** (`banners[]`): if non-empty, display:
```
Banners: N artifacts flagged
- <artifact_path>: <reason> (<banner_type>, <added_at>)
...
```
If empty or absent, omit this section entirely.
**Proposal versions** (list `proposals/*.md` files with their `version:` and `delta_from_prior:` front-matter if available).
4. **Cross-check state** (runs after step 3, before TaskList):
A. Glob the active instance dir: `${CLAUDE_PROJECT_DIR:-$(pwd -P)}/.claude/deepwork/<id>/*.md` (NOT archived — live session).
B. For each file, extract the frontmatter (first `---` block).
C. From each parsed frontmatter, collect:
- `artifact_type`
- `bar_id` (or `bar_ids`)
- `cross_check_for` (findings artifacts — points to the bar_id being cross-checked)
- `verdict` (critique artifacts — `HOLDING|APPROVED`)
- `result` (empirical_results — `confirmed|refuted|inconclusive`)
D. Render a "Cross-check state" column in the bar verdict table:
| Gate | Verdict | Cross-check state | Evidence |
|---|---|---|---|
| G6 | PASS | 2/2 confirmed | findings.hook-auditor.md (primary), mechanism.enforcement-designer.md (secondary) |
| G3 | PASS | empirical confirmed | empirical_results.E2.md (result: confirmed) |
E. Backwards compatible: artifacts without frontmatter contribute no cross-check state;
column shows `—`.
F. Also display:
- **Critique verdict**: glob `critique.v*.md` (highest version), read `verdict` field.
Display: `"CRITIC verdict: <verdict> (critique.v<version>.md)"`
- **Empirical results**: glob `empirical_results.*.md`, read `empirical_id` + `result`.
Display table:
| Unknown | Result |
| `<empirical_id>` | `<result>` |
5. **Hooks health check**: Read `state.json.hooks_inject_status`. Display under **Hooks** section:
- If `hooks_inject_status` is present: `Injected: <block_count> blocks at <timestamp>` — no action needed.
- If `hooks_inject_status` is absent or null: display a warning: `WARNING: hooks_inject_status missing — hooks may not have been injected. Run /deepwork-teardown and restart the session if enforcement hooks are required.`
- Compare `hooks_inject_status.timestamp` against `started_at`: if the inject timestamp predates `started_at` by more than 60 seconds, display: `WARNING: hooks_inject_status is older than session start — may reflect a prior session's injection.`
6. Call `TaskList` to get live task status. Display tasks grouped by status (in_progress, pending, completed) with their owner and metadata.bar_id where available.
7. Read the last 50 lines of `${CLAUDE_PROJECT_DIR:-$(pwd -P)}/.claude/deepwork/<id>/log.md` and display as **Recent Activity**.
8. If `state.json.hook_warnings[]` is non-empty, display under **Hook Warnings** (these are incident signals that triggered guardrail auto-append).
9. If `state.json.user_feedback` is set, display it under **User Feedback** (from a prior ExitPlanMode rejection).
Format all of this as a clean, readable dashboard. Use markdown tables; keep the overall output scannable.
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.