/jleechan-skills:timelinefrom jleechan-skills
Builds a visual Gantt chart and flow strip of remaining steps, parallelism, and time estimates from a plan. Also supports retrospective comparison of observed vs forecast work. Renders a self-contained HTML diagram and prints a text Gantt in chat.
Ships in jleechan-skills. 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.
Turn a plan into an HTML Gantt (bars, parallelism, time estimates) plus a flow strip of the remaining steps, render it and look at it, and print the same diagram in chat.
Before the Gantt, use the rendered subtitle for a concise, zero-context overview of every PR and major milestone in the timeline. State what each change does and why it matters to its user; expand unfamiliar terms. A PR number, branch name, owner, status, or file name is an identifier, not an explanation. Keep the overview short, and make row names and details describe the action, outcome, and dependency in plain language. Keep unfinished work in phases and rows; never put an explanation of unfinished work in done. The subtitle appears at the top of the existing renderer, above the status and Gantt.
gh pr checks, and lane status from their sources; never copy them from earlier prose. Snapshot time is absolute with timezone (2026-10-04 12:55 PDT).hi: null = unknown). Color is by the HIGH estimate: green < 10 min, yellow 10–30, red 30+, grey unknown. Solid bar = low estimate; faded extension = up to high. The legend states this.${CLAUDE_HOME:-$HOME/.claude}/skills/timeline/scripts/build.py spec.json (stdlib only; spec in a mktemp dir). It applies the color rule, uses the CSS in assets/template.html, computes the header total estimate and projected finish time, and prints the text Gantt to stdout.build.py warns on a row without an owner.{"title": "...", "snapshot": "2026-10-04 12:55 PDT", "subtitle": "...",
"branch": "feat/x", "pr": 10097, "done": ["finished item"], "span": 70,
"phases": [{"title": "Phase A", "rows": [
{"id": "1", "name": "Merge main", "owner": "main session", "bead": "rev-abc",
"detail": "...", "start": 0, "lo": 15, "hi": 25, "label": "optional"}]}],
"flow": [["1 Merge", "2 Check"], "→", ["4 Review"], "→", "green", "‖", "3 Audit (dot)"]}
span is optional (defaults to the latest high end, rounded up to 10). flow items: a list = parallel stack, "→" = dependency, "‖" = independent side work, a string = single node.
Use mode: "retrospective" for a completed historical window. Set absolute,
timezone-bearing window_start and window_end; start is minutes from window
start, and span is the window length in minutes. The header shows the observed
window, never a projected finish derived from actual durations. baseline is an
optional descriptive string naming the original forecast, timestamp and source.
Each row uses kind: "observed" (default in this mode) or kind: "forecast".
Observed intervals have lo == hi; use lo: null for unknown duration, and name
uncertainty in detail. Forecast rows retain their low/high ranges. Keep both
kinds in separately named phases. Example additions to the ordinary spec:
{"mode": "retrospective", "window_start": "2026-10-11 12:00 PDT",
"window_end": "2026-10-12 12:00 PDT", "span": 1440,
"baseline": "No contemporaneous forecast recovered; comparison is qualitative"}
detail; a gap is waiting/unknown, not automatically active work.mktemp directory under /tmp before overwriting a
stable timeline path. Publish durable provenance with the report if required.
Check displayed timestamps against source events and disclose corrections.
Do not invent a usual duration when no forecast exists; label any new estimate
as a counterfactual, with assumptions, rather than an original prediction.detail: critical blocker, evidence-only blocker,
nonblocking side work, or waiting/unknown. Name the deliverable and exact gate
blocked. Separate a required final gate from work that could run concurrently;
do not relabel mandatory evidence as optional because execution was inefficient.out.html, the path is <scratch root>/timeline/<branch with / → ->-pr<N>.html (scratch root: $DISKM_SCRATCH, else diskm volume path scratch, else /tmp) (from spec branch/pr or --branch/--pr), e.g. timeline/feat-same-turn-mandatory-audit-pr10097.html; the PNG sits beside it. Never mint a new path on refresh. <html>.owner records the repo (origin URL without credentials, else the git toplevel; outside any git repo, pass out.html), branch and PR that own the path; a build from a different repo, or a colliding branch name (foo/bar vs foo-bar) exits with an error instead of overwriting that gist, so pass an explicit out.html then.--no-publish is passed. It scans the HTML for tokens and keys and refuses to upload on a hit, then creates a secret (unlisted) gist on the first run and edits the same gist afterwards; the id lives in <html>.gist. Gists are created and updated through the REST API (gh api -X POST gists with public: false, gh api -X PATCH gists/<id>), so a GraphQL rate limit cannot block publishing; only the HTML is uploaded. The preview link is https://gistpreview.github.io/?<gist id>/<file> (always the latest gist revision). Tested 2026-10-04 in headless Chrome: gistpreview, htmlpreview.github.io and cdn.statically.io render the timeline directly; gist.githack.com and gistcdn.githack.com show a "One more step" interstitial and must not be used. build.py prints the direct preview URL. Refresh latency measured 2026-10-04: gistpreview served the new revision within 5 s of a gist edit (one render seconds after an edit still showed the previous revision), while the unversioned gist raw URL updates immediately.<html>.bead (or spec bead to reuse an existing one). The first run creates it with br; every run appends the gist URL, preview link, and HTML path to its notes with --append-notes (existing notes are kept; an unchanged refresh is a no-op). The DB comes from spec bead_db or br info --json in the cwd, and every call pins --db (beads-issue-tracking skill). Keep the update inline when the configured tracker responds promptly; report a tracker failure without blocking the drawing.Never report a timeline you have not looked at.
${CLAUDE_HOME:-$HOME/.claude}/skills/timeline/scripts/review.sh <file.html> [height_px] (headless Google Chrome preferred, Aside account u0 fallback). It prints the PNG path.height_px), parallel steps actually overlap and dependents start after what they wait on, header total and finish time match the bars.The user may not open the files. Every reply includes the build.py stdout in a fenced block: one row per step, █ low, ░ low→high, estimate plus color word at the row end, an axis line, and the header totals. Then give, in this order: the direct preview link (Timeline: line), the gist URL, the local HTML as a bare absolute path alone on its own line (secondary; terminals such as cmux linkify bare paths but not markdown file:// links), the bead id, and one line on what you checked. Never omit the Timeline: link; when publishing failed or was refused (secret scan, gh error), build.py prints only the local HTML path and a build.py: reason on stderr, so give the local path and that reason instead.
Once /timeline is running for live work, rebuild it every 10 minutes until the tracked deliverable is done or blocked on the user: re-pin live state, build with --publish (same path, gist, and bead), review the render, and print the text Gantt plus the HTML and gist links each time. Schedule the next refresh before ending the turn (a 600 s wakeup, or /loop 10m when available). Fold real-time lane polls (for example the dot's 5-minute poll) into the same tick rather than drawing more often.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
gantt-chart, project-planning, visual-timeline, work-tracking
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
.claude-plugin/plugin.json: commands: Invalid input, agents.0: Invalid string: must start with "./", agents.0: Invalid string: must end with ".md", skills.0: Invalid string: must start with "./"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
Other plugins' skills for the same job
242 skills in this plugin
/4layer/4layer - Four-Layer Minimal Repro Testing Protocol/ablationUse when diagnosing a bug in LLM/model behavior, or any stochastic system, where the cause is disputed or theorized rather than measured. Slash commands `/ablation` and `/abal`. Enforces the rule that you manipulate the REAL captured input and replay it through the REAL production path, one variable at a time, with a verbatim control arm run first to establish the base rate. Trigger phrases include "ablation", "ablate", "what actually causes", "is X the trigger", "prove the root cause", "A/B the payload", "does removing X fix it", "why does the model do this", "test the hypothesis", "root cause is disputed"./accept-adapt-reject