super-work
Skill0 starsChanged 14 days agoMITView on GitHub
Open a Superset workspace for a work item. Discovers context from the current session, branch, or a given Linear ID — creates the workspace on the right repo/branch. Run this when you're ready to start coding in Superset.
- Reads credentials
- Installs packages
In this repository16 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skills/create-repo/CLAUDE.mdCLAUDE.md
- author-e2eSkill
- author-messageSkill
- code-reviewSkill
- create-repoSkill
- deploy-awsSkill
- do-fixesSkill
- do-workSkill
- plan-reviewSkill
- plan-workSkill
- setup-agent-skillsSkill
- solve-take-homeSkill
- start-workSkill
- sync-guidanceSkill
- wtfSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 7 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Arguments: Use the arguments supplied with this skill invocation or the user's current request.
- Very specific: line 13
Read ~/.agent-skills/skills/shared/references/harness-capabilities.md before proceeding.
- Distinctive: line 15
Context to load explicitly: Run each command below before interpreting its output.
- Very specific: line 26
If Work folder shows needs-setup, stop: "Run /setup-agent-skills first to configure your work folder, then come back."
- Very specific: line 28
If Superset CLI shows not-installed, stop: "The Superset CLI isn't installed.
- Very specific: line 37
If Superset CLI shows needs-login, stop: "Superset CLI is installed but not authenticated.
- Very specific: line 52
If a plan exists at <work-folder>/plan.md, read the branch from its frontmatter for the slug.
- Very specific: line 54
If argument is already a slug (no [A-Z]+-\d+ pattern), use it directly.
- Very specific: line 62
Read ~/.agent-skills/skills/shared/references/linear-mark-in-progress.md and follow it precisely.
- Very specific: line 68
If a plan exists, scan its phases for Repo: annotations:
- Very specific: line 74
If no plan exists, use the current Repo remote from loaded context (or the repo associated with the resolved ticket).
- Very specific: line 82
All Superset calls run through the superset CLI.
- Very specific: line 86
Read host_id from the effective configuration loaded above.
- Very specific: line 105
Read the projects map from the effective configuration — keyed by repo remote (e.g.
- Very specific: line 107
If <target-repo> is not in the map:
- Distinctive: line 137
Stop here — the user opens the existing workspace from the Superset desktop app.
- Distinctive: line 145
Ask the user which branch to base the workspace on:
- Distinctive: line 172
If the plan has multiple repos with remaining work:
- Very specific: line 180
If any superset call exits non-zero, surface the error message and the suggested fix:
- Distinctive: line 192
Host and project IDs are cached: Look them up once, save them, skip the lookup next time.
- Distinctive: line 194
Don't auto-start agents: Create the workspace and hand off.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Super Work: Launch a Superset Workspace
You are creating a Superset workspace for a work item. Your job is to figure out what to work on, set up the workspace on the right repo and branch, and hand off to the user to open it in the Superset desktop app.
Arguments: Use the arguments supplied with this skill invocation or the user's current request.
Read ~/.agent-skills/skills/shared/references/harness-capabilities.md before proceeding. Use its active-harness mappings for skills, questions, progress, delegation, model tiers, project instructions, and connected tools.
Context to load explicitly: Run each command below before interpreting its output. These are shell commands to execute, not values supplied automatically by the harness.
- Ticket ID (from branch):
bash ~/.agent-skills/scripts/shared/context.sh ticket-id - Work folder (from branch):
bash ~/.agent-skills/scripts/shared/context.sh work-folder - User branch prefix:
bash ~/.agent-skills/scripts/shared/context.sh user-slug - Repo remote:
bash ~/.agent-skills/scripts/shared/context.sh repo-remote - Effective config:
bash ~/.agent-skills/scripts/shared/context.sh config - Superset CLI: verify
supersetis available, then runsuperset hosts list --json; a successful authenticated response meansready. Missing executable meansnot-installed; an authentication failure meansneeds-login. Report other failures using the fallback rules below.
Setup checks (in order):
- If
Work foldershowsneeds-setup, stop: "Run/setup-agent-skillsfirst to configure your work folder, then come back." If
Superset CLIshowsnot-installed, stop: "The Superset CLI isn't installed. Install it with:brew tap superset-sh/tap brew install superset-sh/tap/supersetThen re-run
/super-work."- If
Superset CLIshowsneeds-login, stop: "Superset CLI is installed but not authenticated. Runsuperset auth login(or setSUPERSET_API_KEY), then re-run/super-work."
Phase 0: Resolve the Work Item
Determine which plan to open a workspace for, in priority order:
- Session context — if
/plan-workwas just run in this conversation, the ticket and slug are already known. Use them. - Argument — if the invocation input matches
[A-Z]+-\d+(Linear ID) or looks like a slug, use it. For a Linear ID, look for a matching work folder under the configuredwork_root. - Branch context — use loaded
Ticket IDandWork folderif not "none". - Ask — "What are you working on? Give me a Linear ID or slug."
Once resolved, derive the slug:
- If a plan exists at
<work-folder>/plan.md, read thebranchfrom its frontmatter for the slug. - Otherwise derive the slug from the ticket: fetch the Linear issue title with the available connected Linear tool and apply the same slug rule as
/plan-work— concise 2–4 keyword fragment that reads like a tag (drop articles, prepositions, filler verbs); pattern is<lowercase-team>-<number>-<fragment>; 70-char hard cap on the full slug. The ticket prefix is never shortened. - If argument is already a slug (no
[A-Z]+-\d+pattern), use it directly.
Phase 1: Mark the Linear Ticket "In Progress"
Skip this phase entirely if no Linear ticket is involved (slug-only / plan-only path). Otherwise, transition the ticket so teammates can see you've picked it up.
Read ~/.agent-skills/skills/shared/references/linear-mark-in-progress.md and follow it precisely. It covers state-check, per-team status resolution + caching to linear_team_statuses.<TEAM>.in-progress in ~/.agent-skills/config.json, and the API transition. On any Linear API failure, report and continue — don't block workspace creation.
Phase 2: Identify Target Repo
If a plan exists, scan its phases for **Repo:** annotations:
- No annotations → single-repo plan; use the current
Repo remotefrom loaded context. - One unique repo → use it directly.
- Multiple repos → ask: "This plan has work across: [list]. Which repo do you want to open first?" Run
/super-workagain for the others.
If no plan exists, use the current Repo remote from loaded context (or the repo associated with the resolved ticket).
The selected repo is <target-repo>.
Phase 3: Resolve Host and Project IDs
All Superset calls run through the superset CLI. Request --json explicitly for machine-readable calls regardless of active harness.
Host ID
Read host_id from the effective configuration loaded above. (Older configs may have device_id — ignore it and create a fresh host_id.)
If not present:
superset hosts list --json- One host → use it automatically
- Multiple → ask which to use (match on name)
Save host_id with the shared config command, encoding the value as a JSON string:
bash ~/.agent-skills/scripts/shared/context.sh config-set host_id '"<host-id>"'Project ID
Read the projects map from the effective configuration — keyed by repo remote (e.g. loancrate/web).
If <target-repo> is not in the map:
superset projects list --jsonMatch by name or path against <target-repo> (parse JSON with jq). If ambiguous, ask the user to pick.
Save to config:
bash ~/.agent-skills/scripts/shared/context.sh config-set projects '<target-repo>' '"<project-id>"'Encode the ID as JSON and quote the repo key safely; preserve unrelated projects.
Phase 4: Check for Existing Workspace
superset workspaces list --host "<host-id>" --jsonParse the JSON and look for a workspace whose name matches the slug (or contains the ticket token).
If one exists:
"A workspace
<name>already exists for this ticket. Open it in Superset instead of creating a new one."
Stop here — the user opens the existing workspace from the Superset desktop app.
Otherwise, continue to Phase 5.
Phase 5: Confirm Base Branch
Ask the user which branch to base the workspace on:
"Branch
<user-prefix>/<slug>will be created frommain. OK, or branch from somewhere else?"
- main / OK → use
main - Other → ask for the branch name to use as base
The confirmed base is <base-branch>.
Phase 6: Create Workspace
superset workspaces create \
--host "<host-id>" \
--project "<project-id>" \
--name "<slug>" \
--branch "<user-prefix>/<slug>" \
--base-branch "<base-branch>" \
--jsonCapture the returned workspace ID from the JSON output. If creation fails (non-zero exit), report the error verbatim and stop.
Confirm: "Workspace <slug> created — open it in the Superset desktop app to start working."
If the plan has multiple repos with remaining work:
"When you're ready for the next repo (
<next-repo>), run/super-workagain."
Fallback: CLI errors
If any superset call exits non-zero, surface the error message and the suggested fix:
Not logged in→ "Runsuperset auth login(or setSUPERSET_API_KEY) and re-run/super-work."- Connection / network errors → "Couldn't reach Superset. Check
superset statusand your network, then re-run/super-work." - Anything else → report the full error and stop. Don't retry or guess.
Guidelines
- A plan is helpful but not required. A Linear ticket ID alone is enough — slug is derived from the issue title.
- One workspace per repo. For multi-repo work, open them sequentially — run
/super-workagain for each additional repo. - Host and project IDs are cached. Look them up once, save them, skip the lookup next time.
- The work folder lives outside the repo — it's accessible from any worktree. No copying needed.
- Don't auto-start agents. Create the workspace and hand off. The user opens it in the Superset desktop app and drives from there.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

