diff-profile

diff-profile is a skill for Claude Code, Codex from davekilleen/Dex. It costs 65 tokens per session (1,363 once invoked), scanned A, original, MIT.

A tool for packaging an entire Dex working setup into a shareable profile. Dex is the system this add-on belongs to.

In plain words
What is it for?
Use it when you want to share or publish your whole Dex configuration.
Why use it?
It helps other people reproduce your complete working setup instead of copying one workflow at a time.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; installed under .agents/ (shared by several agents).

Good fit Use it when you want to share or publish your whole Dex configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davekilleen/dex/diff-profile
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add davekilleen/Dex --skill diff-profile
Clone the repo
git clone --depth 1 https://github.com/davekilleen/Dex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for diff-profile

README.md
[![agentmods](https://agentmods.dev/badge/skills/davekilleen/dex/diff-profile/github.svg)](https://agentmods.dev/skills/davekilleen/dex/diff-profile)
Your own site
<a href="https://agentmods.dev/skills/davekilleen/dex/diff-profile"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/diff-profile/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for diff-profile

Your own site · 80×15
<a href="https://agentmods.dev/skills/davekilleen/dex/diff-profile"><img src="https://agentmods.dev/badge/skills/davekilleen/dex/diff-profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,363 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01363
Opus 5.5 $0.00026 $0.00545
Sonnet 5.5 $0.00013 $0.00273
Haiku 4.5 $0.00006 $0.00136

Measured 2mo ago against content hash a9891dbdc3ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diff-profile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/diff-profile/SKILL.md · 136 lines

How it starts

The opening of the file, as written. The whole thing — 136 lines — stays where its author put it; the contents beside it link to each section on GitHub.

What This Command Does

In plain English: Scans your entire vault, identifies your strongest custom workflows, groups them at the right level of granularity, and generates methodology documents for each one - plus an overview of how you use Dex. The result is a complete profile that lives at heydex.ai/diff/your-handle/.

How to run it:

/diff-profile

Status

This command is coming in a future update.

For now, generate individual workflow diffs with:

/diff-generate "my meeting prep workflow"
/diff-generate "my deal review process"
/diff-generate "my weekly planning ritual"

Each creates a methodology document that others can adopt individually via /diff-adopt.


What It Will Do (Preview)

  1. Scan your entire vault — all custom skills, hooks, extensions
  2. Build candidate workflow clusters based on shared folders, skill references, hook chains, and observed usage sequences
  3. Score each candidate for:
    • distinctiveness — does it represent a meaningfully different job to be done?
    • evidence density — is there enough real usage/customisation here to make it credible?
    • transferability — would another Dex user understand why this matters and want to adopt it?
    • novelty — does it show something differentiated rather than generic Dex usage?
    • standalone strength — would this still feel useful if published as its own workflow?
  4. Merge, split, or drop candidates using these rules:
    • merge clusters that feel repetitive, thin, or only make sense together
    • split clusters that contain two or more clearly different workflows that would each be valuable alone
    • drop clusters that are too generic, too weakly evidenced, or not compelling enough to share
    • prefer fewer, stronger workflows over many thin ones
    • never force a fixed number of workflows
  5. Aim for the smallest set of workflows that fully captures the user's differentiated value:
    • minimum target: 2-3 workflows if the evidence is thin
    • upper bound: 12-15 only if they are genuinely distinct and all clear the quality bar
    • otherwise let the model decide the number based on usefulness, not neatness
  6. Propose boundaries with names and descriptions:
    I found [N] strong workflows in your vault:
    
    1. Meeting Prep (3 skills, 1 hook)
       Job: "Never walk into a meeting cold"
    2. Deal Intelligence (4 skills)
       Job: "Know which deals need attention and why"
    3. Weekly Rhythm (3 skills)
       Job: "Start every week with clarity, end it with evidence"
    ...
    
    Adjust these groupings? [Looks good] [Merge some] [Split one]
    
  7. Before showing the groupings, explain the judgement clearly:
    • say that Dex chose the number of workflows based on strength, not quota
    • call out any important merges, splits, or dropped candidates when useful
    • make it legible why this set is the right shape for publishing
  8. Generate a methodology doc for each retained cluster
  9. Generate an overview narrative: "How I use Dex as a [role]"
  10. Save everything to the DexDiff profile draft area in the user's vault.
  • canonical contract key: DEXDIFF_PROFILE_DRAFTS_DIR
  • current default relative path: 04-Projects/DexDiff/beta/profile/

Read the full file on GitHub · 136 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 136 lines · 65 tokens per session scan A a9891dbdc3ac

Subscribe to this mod's changes

diff-profile is a skill published in the GitHub repository davekilleen/Dex (522 stars, last pushed 6d ago), licensed MIT. It adds 65 tokens to every session and 1,363 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

diff-profile compared with skills from other repositories

diff-profile next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diff-profiledavekilleen/DexSkill5226d agoMITA65Claude Code, Codex
nft-standardswshobson/agentsSkill43k6d agoMITA48Claude Code
istio-traffic-managementwshobson/agentsSkill43k6d agoMITA40Claude Code
projection-patternswshobson/agentsSkill43k6d agoMITA36Claude Code
9router-web-searchdecolua/9routerSkill33k7d agoMITA74Claude Code, Codex
microservices-patternswshobson/agentsSkill43k6d agoMITA38Claude Code
track-managementwshobson/agentsSkill43k6d agoMITA44Claude Code