Agent skill

Dex

by dcramer in dcramer/dex

Manage tasks via dex CLI. An agent skill from dcramer/dex.

MITAuto-check passedDevelopment

Install Dex

skills CLI
$ npx skills add dcramer/dex --skill dex -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dcramer/dex dex --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dcramer/dex.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/dex/skills/dex .claude/skills/dex && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dex
GitHub stars
385
Token cost
~1.6k tokens
SKILL.md length
665 words
Files
6
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Manage tasks via dex CLI. An agent skill from dcramer/dex.

  • Works in 2 steps: Check parent task or completed blockers… → Suggest entering plan mode to flesh out…
  • Breaking down complex work
  • SKILL.md covers Command Invocation, Core Principle: Tickets, Not…, Dex Tasks are Ephemeral and When to Use dex, plus 8 more sections
  • Calls npx

What it does

Dex is an agent skill from dcramer/dex. Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `cli-reference.md`, `epic-examples.md` and `examples.md`).

It sits in Development, covering Task management. The repository describes itself as: Task tracking for Agents. The licence is MIT.

When your agent uses it

  • Breaking down complex work
  • Tracking implementation items
  • Persisting context across sessions

Example prompts

  • “/dex”

Requirements

  • Node.js

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Check parent task or completed blockers for more details
  2. Suggest entering plan mode to flesh out requirements before starting

What it can do on your machine

Read from SKILL.md and the folder at commit 3f55b2a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dex loads about 1.6k tokens when it runs. Until then it costs about 34 tokens; SKILL.md has 665 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~34
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dcramer/dex at commit 3f55b2a, republished under its MIT licence (© dcramer). 665 words, ~1,578 tokens.

Download SKILL.mdSave it as .claude/skills/dex/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
dex
description
Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions.

Agent Coordination with dex

Command Invocation

Use dex directly for all commands. If not on PATH, use npx @zeeg/dex instead.

bash
command -v dex &>/dev/null && echo "use: dex" || echo "use: npx @zeeg/dex"

Core Principle: Tickets, Not Todos

Dex tasks are tickets - structured artifacts with comprehensive context:

  • Name: One-line summary (issue title)
  • Description: Full background, requirements, approach (issue body)
  • Result: Implementation details, decisions, outcomes (PR description)

Think: "Would someone understand the what, why, and how from this task alone?"

Dex Tasks are Ephemeral

Never reference dex task IDs in external artifacts (commits, PRs, docs). Task IDs like abc123 become meaningless once tasks are completed. Describe the work itself, not the task that tracked it.

When to Use dex

Use dex when:

  • Breaking down complexity into subtasks
  • Work spans multiple sessions
  • Context needs to persist for handoffs
  • Recording decisions for future reference

Skip dex when:

  • Work is a single atomic action
  • Everything fits in one session with no follow-up
  • Overhead exceeds value

dex vs Built-in Task Tools

Some AI agents (like Claude Code) have built-in task tools. These are session-only and not the same as dex.

dexBuilt-in Task Tools
PersistenceFiles in .dex/Session-only
ContextRich (description + context + result)Basic
Hierarchy3-level (epic → task → subtask)Flat

Use dex for persistent work. Use built-in task tools for ephemeral in-session tracking only.

Basic Workflow

Create a Task
bash
dex create "Short name" --description "Full implementation context"

Description should include: what needs to be done, why, implementation approach, and acceptance criteria. See examples.md for good/bad examples.

List and View Tasks
bash
dex list                  # Pending tasks
dex list --ready          # Unblocked tasks
dex show <id>             # Full details
Complete a Task
bash
dex complete <id> --result "What was accomplished" --commit <sha>

GitHub/Shortcut-linked tasks require either --commit <sha> or --no-commit:

  • Use --commit <sha> when you have code changes (issue closes when merged)
  • Use --no-commit for non-code tasks like planning or design (issue stays open)

Always verify before completing. Results must include evidence: test counts, build status, manual testing outcomes. See verification.md for the full checklist.

Edit and Delete
bash
dex edit <id> --description "Updated description"
dex delete <id>

For full CLI reference including blockers, see cli-reference.md.

Understanding Task Fields

Tasks have two text fields:

  • Name: Brief one-line summary (shown in dex list)
  • Description: Full details - requirements, approach, acceptance criteria (shown with --full)

When you run dex show <id>, the description may be truncated. The CLI will hint at --full if there's more content.

Gathering Context

When picking up a task, gather all relevant context:

bash
dex show <id> --full              # Full task details
dex show <parent-id> --full       # Parent context (if applicable)
dex show <blocker-id> --full      # What blockers accomplished

Before starting, verify you can answer:

  • What needs to be done specifically?
  • Why is this needed?
  • How should it be implemented?
  • When is it done (acceptance criteria)?

If any answer is unclear:

  1. Check parent task or completed blockers for more details
  2. Suggest entering plan mode to flesh out requirements before starting

Proceed without full context when:

  • Task is trivial/atomic (e.g., "Add .gitignore entry")
  • Conversation already provides the missing context
  • Description itself is sufficiently detailed
Show full SKILL.md (229 more words)Show less

Task Hierarchies

Three levels: Epic (large initiative) → Task (significant work) → Subtask (atomic step).

Choosing the right level:

  • Small feature (1-2 files) → Single task
  • Medium feature (3-7 steps) → Task with subtasks
  • Large initiative (5+ tasks) → Epic with tasks
bash
# Create subtask under parent
dex create --parent <id> "Subtask name" --description "..."

For detailed hierarchy guidance, see hierarchies.md.

Recording Results

Complete tasks immediately after implementing AND verifying:

  • Capture decisions while fresh
  • Note deviations from plan
  • Document verification performed
  • Create follow-up tasks for tech debt

Your result must include explicit verification evidence. Don't just describe what you did—prove it works. See verification.md.

Commit Messages with GitHub Issues

When a task is linked to a GitHub issue (shown in dex show output), include issue references in commit messages:

  • Root tasks (the task itself has GitHub metadata): Use Fixes #N
    • This closes the issue when merged
  • Subtasks (parent/ancestor has GitHub metadata): Use Refs #N
    • This links to the issue without closing it

Check dex show <id> for GitHub issue info before committing. The "(via parent)" indicator means use Refs, direct metadata means use Fixes.

Best Practices

  1. Right-size tasks: Completable in one focused session
  2. Clear completion criteria: Description should define "done"
  3. Don't over-decompose: 3-7 children per parent
  4. Action-oriented descriptions: Start with verbs ("Add", "Fix", "Update")
  5. Verify before completing: Tests passing, manual testing done

Additional Resources

© dcramer, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files in plugins/dex/skills/dex of dcramer/dex.

  • SKILL.md
  • cli-reference.md
  • epic-examples.md
  • examples.md
  • hierarchies.md
  • verification.md

Open the folder on GitHubat commit 3f55b2a

Compare with similar skills

Dex next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dex compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dex this skilldcramer/dex385—~1.6kAutomated safety check: PassMIT
Spec Driven Developzhu1090093659/spec_driven_develop984—~5.1kAutomated safety check: PassMIT
Beads Task Memorygastownhall/beads28k—~1.2kAutomated safety check: PassMIT
Crosslink Guideopenwpm/OpenWPM1.4k1 repos~4.1kAutomated safety check: PassCustom licence
Issue Trackingstatic-web-server/static-web-server2.4k—~1.5kAutomated safety check: PassApache-2.0
Sdd Implementationmadebyaris/spec-kit-command-cursor198—~444Automated safety check: PassMIT

Similar skills

  • Spec Driven Develop

    zhu1090093659/spec_driven_develop

    Automates pre-development workflow for large-scale complex tasks.

    984 GitHub stars~5.1k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Beads Task Memory

    gastownhall/beads

    Tracks multi-session work with dependencies in the bd issue tracker so the agent can find ready tasks and recover its context after conversation compaction.

    28k GitHub stars~1.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Crosslink Guide

    openwpm/OpenWPM

    A skill your agent uses when working in any repo that has .crosslink/ and the workflow involves issue tracking, sessions, locks, swarms, kickoff, or knowledge pages.

    1.4k GitHub starsUsed in 1 repo~4.1k tokens
    DevelopmentAuto-check passed
  • Issue Tracking

    static-web-server/static-web-server

    Triage, debug, fix, and document issues for the Static Web Server (SWS) project — bug reports, root cause analysis, fix implementation, and regression prevention

    2.4k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Sdd Implementation

    madebyaris/spec-kit-command-cursor

    Execute planned implementations following todo-lists systematically.

    198 GitHub stars~444 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Kanvibe Release Deploy

    rookedsysc/kanvibe

    A skill your agent uses whenever releasing or deploying KanVibe desktop from a clean, up-to-date dev checkout: ask only for the target version and release-note approval, then let the AI update…

    143 GitHub stars~12k tokensUpdated today
    DevelopmentAuto-check: notes

More from dcramer/dex

  • Dex Plan

    dcramer/dex

    Create dex task from markdown planning documents (plans, specs, design docs, roadmaps)

    385 GitHub stars~3.2k tokensUpdated 7 mo ago
    Auto-check passed

Questions about Dex

What does Dex do?

Manage tasks via dex CLI. An agent skill from dcramer/dex. Dex is an agent skill from dcramer/dex. Manage tasks via dex CLI.

When should I use Dex?

Dex fits situations like: breaking down complex work; tracking implementation items; persisting context across sessions.

How do I install Dex in Claude Code?

Run `npx skills add dcramer/dex --skill dex -a claude-code`. Or copy the skill folder (plugins/dex/skills/dex in dcramer/dex) into .claude/skills/dex in your project. Claude Code loads it when a task matches its description.

How do I install Dex in Codex?

Run `npx skills add dcramer/dex --skill dex -a codex`. Or copy the skill folder (plugins/dex/skills/dex in dcramer/dex) into .agents/skills/dex in your project. Codex loads it when a task matches its description.

Can I use Dex in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dcramer/dex --skill dex -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dex, .gemini/skills/dex, .github/skills/dex and .opencode/skills/dex in your project.

What does Dex need to run?

Going by SKILL.md and its folder, Dex needs the command-line tools its instructions call (npx). Our summary lists: Node.js.

Does Dex access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Dex safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dex use?

Dex is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dex use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dex?

Skills that share tags, products or a category with Dex: Spec Driven Develop (zhu1090093659/spec_driven_develop, 984 stars), Beads Task Memory (gastownhall/beads, 28k stars), Crosslink Guide (openwpm/OpenWPM, 1.4k stars) and Issue Tracking (static-web-server/static-web-server, 2.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dex?

dcramer (a GitHub user) maintains it in dcramer/dex, which has 385 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on March 2, 2026.

Source: dcramer/dex on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.