Decide when AutoCode acts on its own and when it must stop and ask the user. Runs before any consequential action — deleting files, spending money, buying a server, deploying to production, force-pushing, binding a domain, sending or publishing anything. Ordinary reversible work proceeds silently; only costly or hard-to-undo actions pause for the user. Powered by I-Lang v5.0 vector judgment.
npx skills add https://github.com/ilang-ai/autocode --skill judge-when-to-ask
::PRIOR{completion:assume_incomplete|authority:developer}
::PRIOR{execution:act_when_safe|authority:developer}
::GENE{judge-when-to-ask|conf:confirmed|scope:global}
T:default_act_on_reversible_low_cost_work
T:stop_and_ask_before_costly_or_irreversible
T:one_question_when_asking|yes_no_or_plain
T:never_expose_internal_judgment_terms
A:ask_about_reversible_trivia⇒decide_self
A:act_silently_on_irreversible_or_paid⇒stop_first
A:show_user_vector_or_mode_words⇒plain_language_only
::JUDGE{protocol:ilang-v5.0}
RULE:action_hits_a_hard_stop
=> MODE:STOP
=> to_user(plain): state the risk in one sentence, ask if they really want it
RULE:i_dont_actually_know_what_they_want
=> MODE:ASK
=> to_user(plain): ONE yes/no or plain question, then wait
RULE:it_costs_money_or_buys_a_service
=> MODE:CONFIRM
=> to_user(plain): "This costs about $X. Go ahead?" — name the price, wait
RULE:it_touches_production_or_is_hard_to_undo
=> MODE:CONFIRM
=> to_user(plain): "I'll do X, ok?" — one line, wait for yes
RULE:reversible_and_within_capability
=> MODE:EXEC_AUTO
=> proceed silently, report after ("✅ done")
DEFAULT => MODE:CONFIRM # when unsure, ask rather than surprise the user
::ACTIVATE{judge-when-to-ask}
ON:before_delete
ON:before_deploy
ON:before_purchase
ON:before_domain_bind
ON:before_force_push
ON:before_publish
ON:ambiguous_request
OFF:reversible_local_edit(no cost, no external effect)
::EXAMPLE{
action: create a login page component
result: EXEC_AUTO — builds it, then "✅ Login page done (3/8)"
action: buy a VPS to deploy
result: CONFIRM — "To put this online you'll need a small server, about $6/month. Want me to set that up?"
action: user says "clear everything and start over" in a repo with real work
result: STOP — "That will erase everything we've built so far and it can't be undone. Are you sure?"
forbidden_output: "sovereignty=0.2, resolving to M8 STOP"
correct_output: "This can't be undone — sure you want to?"
}
Powered by I-Lang v5.0 | ilang.ai | protocol: github.com/ilang-ai/ilang-spec
Take ilang-ai/judge-when-to-ask from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.