foxrun-ai/foxrun / skillwright/skills/decision
decision
VerifiedRecord a ruling as one decision row in the tracker, with the exact words of the person, after a duplicate check. Also replaces or updates an old ruling. Use for /decision add, /decision show, /decision replace, or when the person rules on something. To work out what to decide, use decide.
decision
One skill for the decision object. A decision row records what the person ruled, in their own words.
This skill records a ruling. It does not make one. To work out what to decide, use the decide skill.
Record a ruling in the same turn the person gives it, so the next agent finds it.
Find the tracker
Set <ws> to the workspace that owns the work. Do not route by the current folder alone.
Set <tracker> to workspace_settings.<ws>.database in ~/.foxrun/config/person.json. If it is absent, use ~/.foxrun/data.db.
In the commands below, <work> stands for this exact prefix:
python3 ~/.foxrun/work/work.py --workspace <ws> --db <tracker> --receipt-root ~/foxrun/<ws> --by <you>
Write <you> as your own agent name, never the runtime name.
Steps
-
Check for a duplicate first. Run
python3 ~/.foxrun/foxrun.py rulings <words>. Also run:sqlite3 -readonly <tracker> "SELECT id,name,status FROM decisions WHERE name LIKE '%<words>%' OR statement LIKE '%<words>%'". If an old ruling covers it, the new row replaces it. Done when you named the match, or said there is none. -
Write the row. Done when the command prints
ok.Operation Command add <work> decision-add --id g-<short-slug> --name "<short name>" --statement "<the rule in one or two sentences>" --person-words "<their exact words>" --source comment:<id> [--replaces <old id>]update <work> decision-update <decision id> --status <status> --note "<reason>"link a task <work> task-decision-link <task id> --decision <decision id> --step <number>show sqlite3 -readonly <tracker> "SELECT id,name,statement,status,decided_on FROM decisions WHERE id='<decision id>'" -
Read it back. Run the
showquery. Done when the row shows the statement and status you wrote.
Gotchas
--person-wordsholds the exact words. Do not tidy them.decision-addrefuses a duplicate id, and a second decision that cites the same comment.- A yes to one exact thing is an approval, not a ruling. Use
<work> approval-add <subject id> --call approve --person-words "<words>".
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 |