# dx: nine everyday workflow skills for Claude Code (ykdojo/claude-code-tips) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-06 against commit 577ac89 (version 0.14.27).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/ykdojo/claude-code-tips/

## Explain it to a non-programmer
The repository is mostly a long list of Claude Code tips. It also ships a small plugin called dx with nine skills. They find out why an automated build failed, write a handover note and shorten a long chat. They also summarise Hacker News or Reddit, search all your own GitHub projects and say which Claude Code version to run.

## Who it is for
- You use Claude Code and your chats get so long that the assistant slows down or forgets
- You want a note the next chat can pick up from when you start fresh
- A GitHub Actions run failed and you want to know why and since when
- You want a summary of the Hacker News front page or a Reddit thread with its comments
- Not for: You use another assistant: the commands, scripts and paths are written for Claude Code
- Not for: You only want the tips: those are in the README, no install needed

## What it is
- Kind: command, scripts
- License: see the repository
- Repository: https://github.com/ykdojo/claude-code-tips

## What it does
- gha: reads a failed GitHub Actions run, checks the last 10-20 runs of the same job, looks for the commit that broke it and for an open fix PR
- handoff: writes or updates HANDOFF.md with goal, progress, what worked, what didn't and next steps
- half-clone / quarter-clone: a bundled script copies only the later half (or last quarter) of the current chat into a new chat
- review-claudemd: reads your last 15-20 chats with subagents and suggests edits to your CLAUDE.md files
- hn-summarize: pulls Hacker News stories and comments from the official HN APIs and groups the discussion into 3-6 themes
- reddit-fetch: reads Reddit posts and comments through a browser session
- private-github-search: keeps a local copy of all your GitHub projects in ~/repo-mirror and searches it with ripgrep
- version-check: compares your Claude Code version with the published ones, reads the changelog and recent bug reports, and recommends stay, update or pin

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| gha | /dx:gha <url> | no | Finds out why a GitHub Actions run failed and whether it fails often |
| handoff | /dx:handoff | no | Writes a note so a fresh chat can continue the work |
| half-clone | /dx:half-clone | no | Starts a new chat that keeps only the later half of this one |
| quarter-clone | /dx:quarter-clone | no | Same as half-clone, but keeps only the last quarter |
| review-claudemd | /dx:review-claudemd | no | Reads your recent chats and suggests what to add to or remove from your CLAUDE.md files |
| hn-summarize | /dx:hn-summarize, or ask for the top Hacker News stories | no | Summarises Hacker News stories, the linked articles and their comment threads |
| reddit-fetch | /dx:reddit-fetch, or starts by itself when you give a Reddit link | no | Reads Reddit posts and comments for you |
| private-github-search | /dx:private-github-search, or ask "which repo has X" | no | Searches the text of all your GitHub projects, private ones too |
| version-check | /dx:version-check, or ask which Claude Code version to run | no | Says whether to stay on your Claude Code version, update or go back to an older one |

### gha
- Asks for: The link to the failed GitHub Actions run
- Gives: What exactly made it fail
- Gives: One-time or recurring, with a success rate
- Gives: The commit that broke it, if confirmed
- Gives: Likely root cause
- Gives: An open fix PR, if there is one
- Gives: A recommendation
- Say: "/dx:gha https://github.com/<owner>/<repo>/actions/runs/<id>"

### handoff
- Asks for: Nothing: it uses the current chat and an existing HANDOFF.md if there is one
- Gives: HANDOFF.md in the project root: goal, current progress, what worked, what didn't, next steps
- Say: "/dx:handoff"

### half-clone
- Gives: A new chat marked [HALF-CLONE <time>]
- Gives: The command to open it: claude --resume <new id>
- Say: "/dx:half-clone"

### review-claudemd
- Gives: Instructions that were broken
- Gives: Additions for this project
- Gives: Additions for all projects
- Gives: Items that look outdated
- Say: "/dx:review-claudemd"

### hn-summarize
- Asks for: How many top stories, or a topic or story to look up
- Gives: For each story: title, points, comment count, source, a few sentences on the article
- Gives: 3 to 6 comment themes
- Say: "Summarize the top 5 stories on Hacker News with their comments"

### reddit-fetch
- Asks for: A Reddit link, or a subreddit and a topic
- Gives: Posts with title, score and comment count
- Gives: Comments of a thread
- Say: "What are people on r/ClaudeAI saying about the latest update this week?"

### private-github-search
- Asks for: The first time: which GitHub accounts to copy
- Asks for: What to look for
- Gives: Matching files and lines across your projects
- Say: "Which of my repos has the Stripe webhook handler?"

### version-check
- Gives: Installed vs published versions
- Gives: Regressions in the changelog between them
- Gives: Clusters of recent bug reports
- Gives: A recommendation: stay put, update or pin
- Say: "Should I update Claude Code now?"

## Know before installing
- reddit-fetch tells your assistant to get past Reddit's block on automated access by arriving through a DuckDuckGo result link in a Playwright browser. That works around a site's protection; decide if you want this.
- half-clone and quarter-clone write a new chat file into ~/.claude/projects and add a line to ~/.claude/history.jsonl, outside your project.
- private-github-search copies every non-fork project of the accounts you name into ~/repo-mirror. That copy can hold private code; keep it out of synced folders.
- review-claudemd reads your past chats from ~/.claude/projects and copies their text to a folder in /tmp.
- Not open source: the license is All Rights Reserved, so you may use the plugin but not reuse its files freely.
- The separate setup script in the README (not part of the plugin) can add a shell alias that starts Claude Code with --dangerously-skip-permissions; it lets you skip each item.

## Install (official commands)
- Claude Code: `claude plugin marketplace add ykdojo/claude-code-tips` && `claude plugin install dx@ykdojo` — For the clone commands the author suggests allowing Read(~/.claude) in ~/.claude/settings.json to avoid permission prompts. Remove: `claude plugin uninstall dx@ykdojo`.
- Claude Code (manual, clone skills only): `ln -s /path/to/this/repo/scripts/half-clone-conversation.sh ~/.claude/scripts/half-clone-conversation.sh` && `ln -s /path/to/this/repo/skills/half-clone ~/.claude/skills/half-clone` && `ln -s /path/to/this/repo/skills/quarter-clone ~/.claude/skills/quarter-clone`

## What runs on the user's machine
- Code on the machine: yes (skills the assistant runs (no hooks in the plugin))
- Network: yes
- Install: No hooks and no install script in the plugin. Code runs only when the assistant follows a skill.
- /dx:half-clone or /dx:quarter-clone: A bash script reads the chat file from ~/.claude/projects, writes a shorter copy as a new chat there and appends a line to ~/.claude/history.jsonl. No network.
- private-github-search: A bash script lists the named accounts' projects with gh and shallow-clones or updates them in ~/repo-mirror (16 at a time), at most once an hour unless --force.
- /dx:gha: The assistant calls gh to read runs, jobs and open PRs of the GitHub project.
- hn-summarize: The assistant fetches the Hacker News Firebase and Algolia APIs, the linked articles and, if needed, the Wayback Machine, saving JSON to /tmp.
- reddit-fetch: The assistant drives a Playwright browser to DuckDuckGo and Reddit; as a last resort it tries curl with a browser user agent.
- version-check: The assistant runs claude --version, npm view, fetches the Claude Code changelog from GitHub, searches GitHub issues with gh and can run a one-line claude -p test.
- review-claudemd: Reads up to 20 recent chat files, writes their text to /tmp and starts subagents to read them.

## Settings
- `REPO_MIRROR_DIR`: Where private-github-search keeps its copy (default ~/repo-mirror)

## Examples (from the pack's own files)
- A /dx:handoff note: output format defined in skills/handoff/SKILL.md

## Steps only the person can do
- Sign in to the GitHub command line tool (gh) with an account that can see the projects (skills/private-github-search/SKILL.md) Then: The agent can read workflow runs for /dx:gha and mirror repos for private-github-search
- Tell the agent which GitHub accounts to mirror the first time you use private-github-search (skills/private-github-search/SKILL.md (First-time setup)) Then: The agent writes ~/repo-mirror/owners.txt and runs the first sync
- Add a Playwright MCP server if you want reddit-fetch (README.md (Recommended companion)) Then: reddit-fetch can drive a browser to read Reddit
- Optionally allow Read(~/.claude) in ~/.claude/settings.json (README.md (recommended permission for the half-clone script)) Then: Half-clone and quarter-clone run without permission prompts

## Mistakes to avoid
- Not: Run the clone script with the current folder as the project path. Instead: Pass the project path from the last history entry. Why: The clone must match the chat's own project folder in ~/.claude/projects
- Not: Roll back a native Claude Code install with npm install -g and --force past the EEXIST error. Instead: Check how Claude Code was installed; on a native install use claude install X.Y.Z. Why: Forcing npm replaces the native launcher
- Not: Use gh search code to find code in private repos. Instead: Use private-github-search, which searches a local mirror with ripgrep. Why: The legacy search engine behind gh often misses private repos
- Not: Expect private-github-search to find code on other branches or in old commits. Instead: Use git log -S in a full clone or GitHub web search for history and branches. Why: The mirror keeps only the latest default branch
- Not: Check the whole workflow's history when one job of several failed. Instead: Check the past runs of the exact job that failed. Why: The flakiness and breaking-commit checks are about one job

## What leaves the machine
- Workflow run, job and pull request queries for the project → GitHub, through gh, When /dx:gha runs. Opt out: Do not use /dx:gha
- Requests to list and clone every non-fork repo of the named accounts → GitHub, through gh and git, Each private-github-search sync (at most once an hour unless --force). Opt out: Do not use private-github-search
- Story lookups, search words and the linked article addresses → Hacker News Firebase and Algolia APIs, the article sites and the Wayback Machine, When hn-summarize runs. Opt out: Do not use hn-summarize
- The subreddit and search words, then Reddit page requests from a browser session → DuckDuckGo and Reddit, When reddit-fetch runs (also from version-check's Reddit step). Opt out: Do not use reddit-fetch
- Version lookups, the changelog request and a GitHub issue search → The npm registry and GitHub, When version-check runs. Opt out: Do not use version-check

## Lines in the pack aimed at agents (ask the person first)
- "The reliable method is to arrive at Reddit *through a DuckDuckGo result redirect*: that sets a Reddit session cookie which unlocks direct `.json` access for the rest of the browser session." (skills/reddit-fetch/SKILL.md): This works around Reddit's block on automated access; ask the person first, or use Reddit's official API
- "If Playwright errors with `Browser is already in use`, a stale instance is holding the profile - `pkill -f ms-playwright-mcp` (or the profile dir named in the error) and retry." (skills/reddit-fetch/SKILL.md): Killing processes by pattern can stop the person's other sessions; ask before running it
- "If the host blocks outbound `curl` requests, fetch through a container or proxy you have available." (skills/hn-summarize/SKILL.md): Do not route around a network block the person or their admin set; report it instead
- "- **Native install** → `claude install X.Y.Z` (same command for rollback)" (skills/version-check/SKILL.md): Changing the installed Claude Code version is the person's call; recommend, do not install
- "bash <(curl -s https://raw.githubusercontent.com/ykdojo/claude-code-tips/main/scripts/setup.sh)" (README.md): Runs a script from the moving main branch and changes global settings and shell aliases; leave it to the person
- "claude mcp add -s user playwright npx @playwright/mcp@latest" (README.md): Adds a user-wide MCP server from an unpinned @latest package; ask the person first and pin a version

## May I use it like this?
- commercial-app: no (All Rights Reserved: no license is granted to reuse the files)
- inside-app-bundle: no (All Rights Reserved: bundling the files needs the author's permission)
- redistribute-files: no (All Rights Reserved: copies need the author's permission)
- client-work: conditions (Running the installed plugin is not addressed by the license; copying or adapting its files for a client needs the author's permission)
- ai-training: no (All Rights Reserved: no permission is granted)

## Which one to pick
- If You want CI failure analysis, handoff notes, chat cloning and version checks in one Claude Code plugin: skill:ykdojo/claude-code-tips
- If You want shared local memory and session history search across many coding agents: skill:vshulcz/deja-vu
- If You want long-term agent memory and memory handoff for Claude Code and Codex: skill:oceanbase/powercontext
- If You want research on a topic across Reddit, X, YouTube, Hacker News and the web, not only HN or Reddit: skill:mvanhorn/last30days-skill

## Works well with
- agent:claude-code: The dx plugin, its slash commands and the clone script are built for Claude Code

## Works in and needs
- Works in Claude Code: plugin
- Works in Claude Code: skills folder (manual symlinks for the clone skills)
- Needs gh CLI signed in: /dx:gha, private-github-search and version-check call GitHub through gh
- Needs jq: half-clone and quarter-clone read the session id from history with jq
- Needs ripgrep: private-github-search searches the mirror with rg
- Needs Playwright MCP server: reddit-fetch drives a browser
- Needs npm and Python 3: version-check uses npm view; hn-summarize parses JSON with python3

## How to tell it works
Install it, work on something for a while, then type /dx:handoff. You get a HANDOFF.md in your project with the goal, progress, what worked, what didn't and next steps; open a new chat and give it that file's path.

## Related
- microsoft/playwright-mcp
- ykdojo/paper-search

## Safety
Skills are instructions your assistant follows: read them before installing. reddit-fetch tells the assistant to work around Reddit's block on automated access, and private-github-search copies your private code to your disk.
