skill-profile
Use when managing ~/.codex/skills as a Git-backed profile library: switch to the branch matching the current project, create that branch from main when missing, keep this skill present in every profile branch, and import missing required skills from main.
What this skill does
# Skill Profile ## Purpose Manage `~/.codex/skills` as a branch-profiled skill library. - `main` = canonical library with all skills. - `<project-name>` branch = active subset for that project. - `skill-profile` = bootstrap skill; keep it on every profile branch. Use this skill when the user asks to switch skill sets for a project, create a project skill branch, add a missing skill to the current profile, or check whether a skill exists on `main`. ## Ground Rules - Work in `~/.codex/skills` unless the user gives another skills repo. - Derive profile name from the project repo basename unless the user provides one. - Never overwrite dirty work. Run `git status --short --branch` first; stop if unrelated changes would be affected. - Do not delete skills during setup unless the user explicitly asks to prune. - Shared skill edits flow back to `main`; profile branches select skills, they do not become permanent forks. - Keep `skill-profile` in every branch. When creating a profile branch, verify this directory exists before ending. ## Quick Checks ```bash python3 ~/.codex/skills/skill-profile/scripts/profile_status.py --repo ~/.codex/skills python3 ~/.codex/skills/skill-profile/scripts/profile_status.py --repo ~/.codex/skills --skill <skill-name> ``` The script is read-only. Use it before branch changes or when a requested skill is missing. ## Switch Or Create Project Profile 1. Identify profile: - explicit user name wins; - else current project basename, e.g. `samantha-mac`. 2. Inspect: ```bash git -C ~/.codex/skills status --short --branch git -C ~/.codex/skills branch --list <profile> ``` 3. If branch exists: ```bash git -C ~/.codex/skills switch <profile> ``` 4. If missing: ```bash git -C ~/.codex/skills switch main git -C ~/.codex/skills switch -c <profile> test -d ~/.codex/skills/skill-profile git -C ~/.codex/skills status --short --branch ``` 5. If the user wants a minimal branch, ask for the seed skill list or infer from the current project's repo-local skills. Remove unneeded skills only with explicit approval. ## Import A Missing Skill From Main Use when the active profile lacks a skill the project needs. 1. Check active profile and main: ```bash python3 ~/.codex/skills/skill-profile/scripts/profile_status.py --repo ~/.codex/skills --skill <skill-name> ``` 2. If `main_has_skill=true`, copy from `main` into the active profile: ```bash git -C ~/.codex/skills checkout main -- <skill-name> git -C ~/.codex/skills status --short -- <skill-name> ``` 3. If `main_has_skill=false`, search names on main: ```bash git -C ~/.codex/skills ls-tree -d --name-only main | rg '<keyword>' ``` 4. If still missing, say the skill is not in `main`; create it only if the user asks. ## Copy From Project Back To Main Use only for shared skill improvements, not project-specific customization. ```bash git -C ~/.codex/skills switch main git -C ~/.codex/skills checkout <profile> -- <skill-name> git -C ~/.codex/skills status --short -- <skill-name> ``` Review the diff before committing. If the change is project-specific, keep it on the project profile branch. ## Closeout Report: - active branch before/after; - created or switched branch; - skills imported from `main`; - whether `skill-profile` exists in the active branch; - dirty files left for the user to review.
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.