agentleFS
jazz1xjazz1x/galmuri/skills/forki/SKILL.md

forki

Skill3 starsChanged 7 months agoMITView on GitHub

Decision-forcing skill. Reduces a problem to a binary fork via role decomposition (Decision / Execution / Validation / Recovery), surfaces trade-offs, forces a single choice. Triggers: "forki", "결정", "선택", "어느 쪽", "두 길", "갈피", "trade-off", "둘 중 뭐", "이전에 결정한", "다시 결정", "결정 기록", "decide", "decision", "choose between", "fork", "torn between", "past decision", "decided before", "record decision". Scope: any domain. Pre-PRD, pre-implementation.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If invoked with no context (no decision topic, no problem description): → Ask: *"어떤 결정이 필요한가요?

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

galmuri:forki — Decision Forcing

Pattern: binary → roles → trade-off → forced choice. This is a decision skill, not an explanation skill. If the user already has a verdict and only needs slides, route to galmuri:deck (preset decision-sandwich-6); if they need a summary of a decision doc, route to galmuri:distill / explain / doc.

Entry Check

If invoked with no context (no decision topic, no problem description): → Ask: "어떤 결정이 필요한가요? 고민 중인 상황을 설명해주세요. e.g. Postgres vs SQLite for the new service, hire vs contract for the data role." → Wait for user response before proceeding to Step 0.

Mode — HITL only

CategoryStepsLLM authority
Auto query0 (query)Full
Flow gate0 (decision)None — trust / reopen
Verdict gate1, 3, 6None — user states it
Confirmation gate2, 5Propose only
Scaffold (skippable)4, 7Propose, user skip
Side effect (opt-out)8y / n

LLM proposes; user confirms before next step. No autonomous mode.

References (load once, reuse)

FileFirst loaded atUsed for
references/protocol.mdStep 1 (first HITL)All HITL prompts, response rule parsing, report templates
references/asset.mdStep 0 entry, or Step 8 entry if Step 0 was skippedBash query/record blocks for .galmuri/

Each reference is loaded at most once per forki invocation and reused across all subsequent steps. See Context Budget below for the exhaustive read/write inventory.

Step 0: Past-Decision Query (optional)

→ Load references/asset.md and execute the Step 0 query block as documented there. The full branching logic (trust / reopen / skip on absent / skip on no match) lives in asset.md.

Step 1: Binary

Exactly 2 options. 3+ → collapse to "do A vs everything else". "It depends" → ask user to constrain.

→ HITL via Step 1 prompt in references/protocol.md. Wait for explicit confirmation. Output: A vs B, one line.

Step 2: One-Line Reduction

Compress to one sentence: "Who executes X?" / "Who owns X?" / "What changes when X?"

→ HITL via Step 2 prompt in references/protocol.md. Reject → propose alternative. Reject again → back to Step 1 (binary is wrong).

Step 3: Role Decomposition (D/E/V/R)

On entry, output first line: Step 3 attempt {n}/3. {n} starts at 1 on first Step 3 entry; +1 on each back-jump from Step 5/6/7. On attempt 3/3, this is the last allowed run (2 back-jumps total). If forki would back-jump to Step 3 again from this attempt, abort instead: "forki could not converge after 2 back-jumps. Gather more context outside this skill."

Fill all 4 roles per option:

RoleQuestion
DecisionWho judges?
ExecutionWho acts?
ValidationWho verifies?
RecoveryWho fixes when broken?

→ HITL via Step 3 prompt in references/protocol.md. LLM may draft; user confirms or overrides each cell. Empty ? → re-ask only those cells.

Step 4: Three Examples (scaffold)

→ HITL via Step 4 prompt in references/protocol.md. Skip when concrete enough or user says skip. Record skip in report.

Step 5: Trade-off

A: gains {X}, loses {Y}
B: gains {Y}, loses {X}

Axes: flexibility↔stability, speed↔safety, autonomy↔control.

→ HITL via Step 5 prompt in references/protocol.md.

  • User says "don't care about X" → strike axis, propose new (stay in Step 5).
  • Both options gain/lose the same → not real trade-off → back-jump to Step 3.

Step 6: Forced Choice

Choice: Option {A|B}. Reason: {one structural reason}.

→ HITL via Step 6 prompt in references/protocol.md. LLM must not answer for the user, must not signal a preference. "You choose" → reply: "forki cannot decide for you."

User truly cannot choose → back-jump to Step 3.

Step 7: Comprehension Check (scaffold)

→ HITL via Step 7 prompt in references/protocol.md. Cannot answer all 3 → back-jump to Step 3. Skip on skip.

Step 8: Record as Decision Asset (side effect, opt-out)

Trigger: runs only after Step 6 reaches a verdict (and Step 7 if not skipped). If forki aborts at any earlier step (counter 3/3, user Stop, Step 0 trust reuse, etc.), Step 8 does not run.

→ Load references/asset.md for sub-steps 8.0 / 8.1 / 8.2 (pre-check, HITL, write+record).

Side effect, not gate: the Step 6 verdict stands regardless of Step 8 outcome.

Context Budget

forki is a thinking skill, not a reading skill.

Reference loading: see References section above (single source of truth).

Filesystem I/O:

OperationWhen
Read .galmuri/assets/*.jsonl (tag-filtered)Step 0 only. Skip if directory absent.
Write /tmp/forki-{ts}.mdStep 8 sub-step 8.2 only, after y confirmation.
Append .galmuri/assets/decision-{ts}.jsonl (1 line)Step 8 sub-step 8.2 only, via scripts/record-asset.sh.

Maximum 2 references in context simultaneously (protocol.md + asset.md).

Prohibited

  • More than 2 options in Step 1
  • Skipping any verdict gate (Steps 1, 3, 6)
  • Treating Steps 4 / 7 as gates
  • LLM picking the final choice in Step 6
  • Interpreting yes / ok / 응 as confirmation. Always re-ask.
  • Proceeding on silence
  • Both / depends / later as final choice
  • Reading files to "gather more info" (without explicit user request)
  • Trade-offs where both options gain / lose the same thing
  • Initializing .galmuri/ from forki
  • Recording an asset on user n. Honor opt-out.
  • Inlining HITL prompts or report templates in this file — they live in references/protocol.md
  • "FYI..." style supplementary information
  • Verbose decision reports

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.