deepwork-bar
Add, remove, or list written-bar criteria for the active deepwork session
What this skill does
# Deepwork Bar Management
Manually manage the `state.json.bar[]` array — the gate criteria CRITIC verdicts against.
## Arguments
The `args` string passed to this skill is one of:
- `add "<criterion>" [--categorical-ban]` — append a new criterion with auto-assigned id (G<N+1>). Use `--categorical-ban` for hard limits.
- `remove <id>` — remove the criterion with the given id (e.g., `G3`)
- `list` — show current bar criteria with verdicts
## Flow
1. Use Glob to find active instance state:
```
Glob: ${CLAUDE_PROJECT_DIR:-$(pwd -P)}/.claude/deepwork/*/state.json
```
2. If no active session, report "No active deepwork session."
3. If multiple, `AskUserQuestion` to pick.
4. Parse the `args` string. Examples:
- `add "graceful rollback path exists"`
- `add "no new dependencies" --categorical-ban`
- `remove G7`
- `list`
5. Perform the action:
### `add "<criterion>" [--categorical-ban]`
Compute next id (max existing + 1, starting at G1), then call the canonical writer:
```bash
STATE="${CLAUDE_PROJECT_DIR:-$(pwd -P)}/.claude/deepwork/<id>/state.json"
NEXT_ID=$(jq -r '
if (.bar // []) | length == 0 then "G1"
else
((.bar | map(.id | sub("^G"; "") | tonumber) | max) + 1) as $n
| "G\($n)"
end
' "$STATE")
bash "${CLAUDE_PLUGIN_ROOT}/scripts/state-transition.sh" \
--state-file "$STATE" bar_add \
--id "$NEXT_ID" \
--statement "<criterion>" \
$( [[ "<categorical-ban-flag>" == "--categorical-ban" ]] && echo "--categorical-ban" )
```
Report: "Added bar criterion <id>: <criterion>. CRITIC will verdict against this on the next CRITIQUE cycle."
### `remove <id>`
Delete the entry with matching id via the canonical writer:
```bash
bash "${CLAUDE_PLUGIN_ROOT}/scripts/state-transition.sh" \
--state-file "$STATE" bar_remove --id "<id>"
```
Report the removed criterion, or error if not found.
Warning: if the bar is currently CRITIQUE-active and the removed criterion had a PASS verdict, the removal is fine. If it had FAIL/CONDITIONAL, the orchestrator should not take this as "problem solved" — ask the user to confirm.
### `list`
Print:
```
Bar for instance <id>:
G1 [PASS] functional goal achieved
evidence: proposals/v2.md:45 cites X
G2 [HOLDING] preserves REPL interactivity
evidence: coverage.terminal.md matrix
G3 [CATEGORICAL BAN] no minified-JS line pinning without feature-detect
(no verdict yet — applied at CRITIQUE)
...
```
Show `[CATEGORICAL BAN]` flag next to criteria with `categorical_ban: true`. Show `[<verdict>]` if verdict is set, else `[pending]`.
If empty: "Bar not yet populated. Orchestrator will populate in SCOPE phase."
## Notes
- Bar changes trigger CRITIC re-evaluation on the next CRITIQUE cycle. Existing verdicts for unchanged criteria are preserved.
- Ids are auto-assigned and stable across versions — don't renumber. If you remove G3 and later add another, it gets G(N+1) where N is the max-ever-used id, not G3.
- Categorical bans can't be waived or weighed against other merits by CRITIC. Use sparingly and deliberately.
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.