/fwx:gather-contextfrom fwx
Reconstructs recent working context from chat history, live state, and shared records (issues, fixes, incidents). Use before starting or resuming work to get a tight current-state brief.
Ships in fwx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before you start or resume work, you rebuild the user's recent working context and hand back a tight capsule of where things stand now and what to do next.
Keep it tight and on-topic. Read only what the in-scope threads need, then stop.
Your context lives in two records. The project's .fwx/ documents hold what you did and decided. The shared record holds everything that happened around the same code under other names: the symptoms users keep reporting, the fixes that shipped and got reverted, the errors still firing in prod. That second record lives in source control, the issue tracker, chat and issue channels, long-form docs, and error tracking. A feature with a long bug tail keeps most of its story there, so don't reconstruct it from your own documents alone.
The documents live in .fwx/: project.md (or PROJECT.md), adr.tsv, the current milestone's milestone.md (or MILESTONE.md), and one folder per phase with its context.md, decisions.tsv and plan. fwx phase list --json lists the phases with their stage and folder; it is read-only and exits 0.
/fwx:discuss, not this skill: it only reports where that phase stands. A human-readable summary of your work is a different task. Gather-context loads working context across recent work before you act. If the user already gave you a full state capsule (paths, branch, the change), use it and skip the mining..fwx/ documents without being asked). State the scope back. Never quietly turn "all" into "recent N"..fwx/ documents. Run fwx phase list --json first: its plan_root is the .fwx/ to read from (in a linked worktree the ignored .fwx/ is in the main checkout, so a relative .fwx/ path misses it). Read project.md, adr.tsv and the milestone from there first, then take the open phases from that list (it holds the root's phases only and names the subprojects: run it again with --subproject <name> for each subproject in scope, every one for a workspace-wide recall) and, when the window looks back ("what did I do this week"), the closed phases whose files changed in it, whatever their stage now. For the phase he names, read its context.md, decisions.tsv and stage rows. Spawn parallel subagents on a fast, cheap model, each taking a slice of the corpus. Tell every subagent to order candidates by real modification time (ls -t) and never by folder name, grep the topic first and then read only the matching documents and only their relevant regions, and skip the current session's own files plus obvious noise (scratch, eval, and test folders). Each returns the same schema, one block per phase: topic, the user's goal, decisions, open threads, struggles and corrections, and artifacts (PRs, tickets, branches), each citing the file it came from. For one or two phases, skip the fan-out and search directly. The raw documents stay in the subagents. The main thread gets only their findings. Pick each subagent's reasoning level for the job: name the model on every launch with fwx model <role> <size>..fwx/ mining. Null results are findings. Skip an unavailable source and say so. Fold what comes back into the brief. Skip this step only for pure activity recall with no named target ("what did I do this week"), where your own documents and live state are the entire answer.git and gh. When the answer hinges on what an agent actually did (the files it changed, the commits it made), read the commits and their diffs with git, not just a summary of them.Lead with the capsule, then the thread status, then the problems, then the next move. Deeper detail goes below or gets cut.
[merged #N], [open PR #N], [in flight <branch>], [verified, uncommitted], [reverted #N], or [planned, not started]. A thread with no tag is not done yet, so tag it.An adjacent feature or ticket stays out unless it blocks this one. When the capsule and thread lines outgrow a screen, cut detail before you cut threads. Cite .fwx/ findings by file and shared-record findings by their source (PR #, ticket ID, chat permalink, error-tracker issue), and sanitize private context before any public output.
Reply: the brief, to the contract above.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
7 skills in this plugin
/discussStart a work session with the owner, or continue one. Use whenever the owner opens a conversation about work on the project./factory-issueSends work from a discuss, or from the conversation, to the factory as Linear issues, and only what passes the closed list. Use when the owner wants to hand the factory a bug or a mechanical change./planLaunches a fresh planner agent on a finished discuss, checks the plan it writes and returns the one-line status. Use once the phase is in its planning stage, after the discuss (or the pre-mortem, when the owner asked for one), and again to replan./post-mortemLaunches a fresh post-mortem agent on a finished plan and returns the one-line status of its result. Use once the phase is in its postmortem stage, or when a job comes back (structural BASE..BRANCH)./pre-mortemLaunches a fresh pre-mortem agent on a settled discuss and returns the one-line status of its result. Use when the owner asks for a pre-mortem, once the phase is in its premortem stage, before the plan./sessionCarries one phase from the owner's final go on the discuss to its close: critiques, plan, execution by parts, UI walk, review and close. Use when the discuss hands over a signed-off phase, on "continue", and to retake a job the factory returned.npx claudepluginhub danitrrga/forge --plugin fwxOther plugins' skills for the same job