/docket:digest-setupfrom docket
Walks the user through setting up Docket digest sources (GitLab, GitHub, Notion, Obsidian, local git, MCP servers). Detects available CLIs and configs, then writes ~/.config/docket/digest.json.
Ships in docket. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Writes ~/.config/docket/digest.json, which docket:digest reads. It is local to this
machine on purpose — paths and CLI logins differ per device — while the digests themselves
sync. Existing file → read it first and change only what the user asked about.
Run in parallel, all read-only:
glab auth status 2>&1 | head -5 # GitLab host + username
gh auth status 2>&1 | head -5 # GitHub username
git config --global user.email # default git author
glab api user | jq -r .username (or parse auth status). Groups the user is
active in: glab api "groups?min_access_level=30&per_page=50" | jq -r '.[].full_path'.gh api user --jq .login; owners: the user plus gh api user/orgs --jq '.[].login'.notion). Note the server name. If there is more than one, the user picks —
different servers can see different workspaces. Find candidate databases with that
server's search tool (query "tasks", "tickets", or the user's words), never a broad
workspace dump..obsidian/ directory in it — look in the usual
places (~/Documents, ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/) and
ask which one when there are several.<server> part of every
mcp__<server>__* tool name). Ones that hold work items or signals — Jira / Atlassian,
Linear, YouTrack, GitHub Projects, Sentry, Slack, a calendar — are candidates for extra
sources. Look only at tool names and descriptions here; don't call anything yet.docs/, adr/,
notes/) are candidates for a files source.~/repo, ~/src);
check with ls, and that subdirectories contain .git.A CLI that is missing or logged out is reported, not fixed: tell the user the exact login
command (glab auth login, gh auth login) and leave that source disabled.
Two AskUserQuestion calls at most (four questions each), pre-filled from what you detected:
match strings checked against an item's url,
repo and ref; "*" catches the rest.For each chosen extra MCP server, write the query in plain words from what the user
wants to see ("Jira issues assigned to me, updated since ") and pick the kind;
ask only when the server could mean several things (Slack: which channels?).
For Notion also confirm the assignee name exactly as it appears on the database's person property — that is what the digest filters on.
{
"version": 1,
"language": "uk",
"window": "since-last",
"sources": {
"gitlab": { "enabled": true, "host": "gitlab.com", "user": "<username>", "groups": ["<group>"] },
"github": { "enabled": true, "user": "<login>", "owners": ["<login>"] },
"notion": { "enabled": true, "server": "<mcp server name>", "databases": [{ "name": "<name>", "id": "<id or url>" }], "assignee": "<person>" },
"git": { "enabled": true, "roots": ["~/repo"], "author": "<email>" },
"obsidian": { "enabled": true, "vault": "<vault path>" },
"docket": { "enabled": true }
},
"extra": [
{ "name": "<jira>", "type": "mcp", "server": "<mcp server name>", "kind": "ticket", "query": "<what to read, in plain words>" },
{ "name": "<docs>", "type": "files", "paths": ["<folder>"], "glob": "*.md" }
],
"people": [{ "name": "<name>", "match": ["<login>", "<email>"] }],
"checks": [{ "name": "<env>", "url": "<health url>" }],
"presets": { "<group>": { "groups": ["<group>"] }, "week": { "window": "7d" } },
"schedule": { "daily": "09:00" },
"groups": [
{ "name": "<work>", "match": ["gitlab.com/<group>/", "<TICKET-PREFIX>-"] },
{ "name": "<other>", "match": ["*"] }
]
}
No tokens, passwords or API keys in this file — the CLIs and MCP servers hold credentials.
Show the user the file you wrote (it is short), then offer to run docket:digest now.
A daily schedule is installed by docket:digest ("Daily, on its own"), not here — offer to
do it right after the first digest, so the user sees one before automating it.
Mail is opt-in: offer a Gmail/Outlook MCP server only if the user picks it, and say plainly that the digest reads sender, subject and date, not message bodies.
Changing it later ("додай Jira", "прибери Slack", "move kernel-notes to Learning"):
read the file, change only that part — an entry in sources or extra, or a match
string in groups — and show the diff.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pasichdev/docket --plugin docket3 skills in this plugin
/digestUse when the user asks for a digest or a status round-up of their own work — "make a digest", "зроби дайджест", "що в мене зараз", "what's waiting on me", "round-up of my MRs/PRs/tickets". Reads the sources in ~/.config/docket/digest.json (GitLab, GitHub, Notion, local git, docket), checks every status against the source, and publishes a structured digest to the Docket dashboard with digest_publish. Read-only towards every source./docketFull field and tool reference for docket — the shared list every AI tool and project writes to. Load when you need more than todo_add/todo_list already tell you: the exact fields, workspace scoping, the claim workflow, or how items graduate to Notion/GitLab/Obsidian via sourceUrl.Other plugins' skills for the same job