Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Package one workflow — how you use Dex for a specific job — into a shareable DexDiff methodology doc. Use when the user says 'share how I do X', 'package this workflow'. Not for packaging your *entire* system; use `diff-profile`. Not for adopting someone else's; use `diff-adopt`.
.claude/skills/davekilleen-diff-generate/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 4% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -16% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 80% | 0% |
In plain English: You've built a workflow in Dex that works well. This command scans your vault, identifies what you've customised, and writes a methodology document describing how it works. That document can be published to heydex.ai/diff so others can adopt a similar setup using /diff-adopt.
When to use it:
How to run it:
/diff-generate "my meeting prep workflow"
/diff-generate$ARGUMENTS: Optional description of the workflow to package.
Scan these locations for custom components:
.claude/skills/ - custom or modified skills
.claude/hooks/ - custom hooks
CLAUDE.md - custom sections
.claude/CLAUDE.md - local extensionsTo identify what's custom vs. baseline dex-core:
-custom suffix are always custom-dave or other personal suffixes are customPresent findings:
I found these customisations in your vault:
Skills ([count] custom):
[skill-name] - [one-line description]
...
Hooks ([count]):
[hook-name] - [one-line description]
...
CLAUDE.md extensions ([count] custom sections detected)
What would you like to package?
- Describe a workflow (e.g. "my meeting prep")
- Or pick from the list aboveIf the user provided a description, use it to identify related components.
Grouping heuristic: components belong together if:
Present the proposed grouping and let the user adjust.
For the selected components, generate a methodology YAML following the v2.0 schema.
How to write each section:
methodology.problem: What was life like before this workflow? Write from the user's perspective.methodology.solution: What does the workflow do end to end? Describe the experience, not the code.methodology.user_experience.commands: For each skill: name, trigger, description, realistic example input/output.methodology.vault_structure: For each folder the skills reference: purpose, typical path, required/optional.methodology.data_patterns: For each data format expected: description, realistic example (anonymised).methodology.integrations: For each MCP or tool: name, examples, value add, required/optional.methodology.behaviors: For each automatic action: what happens, when, automatic or manual.Anonymise real data. Use realistic but anonymised names, companies, and dates in examples.
A few details for the methodology:
Diff ID (URL-safe, kebab-case): [suggest]
Display name: [suggest]
Description (1-2 sentences): [draft]
Tags: [suggest]
Edit any of these, or accept the defaults.Display the complete methodology YAML. Ask:
Methodology drafted. What would you like to do?
[Save] - saves to the DexDiff draft area (`DEXDIFF_DIFFS_DIR`, default `04-Projects/DexDiff/beta/diffs/[id].yaml`)
[Edit first] - adjust any section before saving
[Test it] - run /diff-adopt against this to see what it generatesAfter the methodology YAML is saved, publishing is optional.
If the user wants to publish it, use the terminal bridge that ships with this skill:
~/.dex/heydex-auth.json exists and is less than 30 days old.https://heydex.ai/connect/?cli=true, sign in, create a sign-in code, then run:python3 .claude/skills/diff-generate/scripts/publish_diff.py link --code ABC123python3 .claude/skills/diff-generate/scripts/publish_diff.py publish <path-to-yaml>The script opens a browser review page. Tell the user that page is where they can edit the workflow and choose Publish. Nothing is shared without their explicit approval on that page.
dexdiff_schema: "2.0". See 04-Projects/DexDiff/design/methodology-schema.md for the full spec.Other measured skills in the registry, with their headline benchmark lift.