foxrun-ai/foxrun / skillwright/skills/close
close
VerifiedClose a working session on Foxrun: sweep a named folder, land missing receipts, place the session's work on tasks, file each yes and ruling as a row, write the handoff, and rebuild the start page. Use when the person says close, wrap the session, seal this work, or prepare the next session.
Close
Close seals one session so the next one starts from rows, not memory.
It runs blocks that each work alone: log, program-control, and handoff. Close only puts them in order.
Keep it lean. A close that turns into a cleanup project failed. Flag bigger work as a task and hand it off.
Steps
- Resolve the owning workspace and this session. Read the workspace
AGENTS.md. The folder is~/foxrun/<workspace>/on a standard install. Readworkspace_settings.<workspace>.databasein~/.foxrun/config/person.json; if it is absent, the tracker is~/.foxrun/data.db. Done when: you can name the workspace, its tracker, and the session id. If either is unclear, ask one routing question and write nothing. - Sweep only a folder the person names. List each file and its home from the contract's
Where Things Gotable. Usepython3 ~/.foxrun/foxrun.py where <path>when a home is unclear. Move nothing until the person says yes. Never delete. Done when: each named file has an approved home, or you wroteno sweep target. - Land one receipt for each material moment that has none: a decision, a direction change, shipped work, a source, or a blocker. Use the
logskill. Done when: each moment has one receipt, and no receipt is a duplicate. - Place the session's work. List its runs and outcomes. Follow
program-control,Every run rolls up: the brief's task, then open claims, then the stream's open tasks. If nothing fits, plan one task per distinct job. Show one line, such asToday's work -> T86 under WS04, plus one new task under WS04: <title>. Create nothing until the person says yes. After the yes, create the task and record each run on it. Done when: every run sits on a task, or waits on the placement line with zero tasks made before the yes. - File what the person said. Each yes is an
approval-addrow. Each ruling is adecision-addrow. Each correction to how agents work is alesson-addrow. Check the counts withpython3 ~/.foxrun/memory/handoff_check.py --db <tracker> --session <session id> --rate. Done when: every approval and ruling of this session has its row. - Write the handoff with the
handoffskill. It points at rows by id and holds only what rows cannot. Done when: the handoff path exists and its coverage check passed. - Rebuild the start page:
python3 ~/.foxrun/memory/state.py build --workspace <workspace>. Then run it again with--check. Done when: the check exits 0. - Report one short block: swept, receipts landed, work placed, rows filed, handoff path, start page rebuilt, and any blocker. Done when: each line says done, none, or blocked with its reason.
Gotchas
- A block that waits for a yes or fails stops the sequence. Report what is done and what is left. Resume at that block after it clears.
- Do not make a receipt or an open item to fill a line. An empty result is a result.
snapshotis not part of close. It runs only when the person blesses exact words.- Close does not end the session or close a hosted pane. That needs the person's numbered pick and
y. - Follow
~/.foxrun/config/gates.mdat every block.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |