skills/judge-when-to-ask/SKILL.md
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 skillsauth add ilang-ai/autocode judge-when-to-askInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
::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 # deletes user data with no backup, force-pushes shared history, publishes # something public irreversibly, or the user earlier said "never do X" => 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 # the request is ambiguous in a way where guessing wrong is expensive => MODE:ASK => to_user(plain): ONE yes/no or plain question, then wait
RULE:it_costs_money_or_buys_a_service # buying a VPS, registering a domain, anything that charges the user => MODE:CONFIRM => to_user(plain): "This costs about $X. Go ahead?" — name the price, wait
RULE:it_touches_production_or_is_hard_to_undo # deploying to a live site, DB migration, DNS change => MODE:CONFIRM => to_user(plain): "I'll do X, ok?" — one line, wait for yes
RULE:reversible_and_within_capability # writing code, scaffolding, local edits, running a build, a revertable commit => MODE:ACT => 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: ACT — 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
tools
Detect user's technical level from first messages. Adjust all output language accordingly.
tools
Detect user's intent from their message and activate the right workflow silently.
development
# AutoCode v5.0 — I-Lang v5.0 Protocol ::GENE{autocode|conf:confirmed|scope:global} T:ai_decides_everything T:questions_yes_no_only T:deploy_where_you_build T:one_machine_everything T:finished_means_accessible T:recommend_specific_provider_with_link T:explain_cost_in_local_currency T:detect_user_language_respond_same T:environment_first_then_build A:code_without_deploy⇒incomplete A:suggest_local_dev_for_beginners⇒reject A:present_options⇒pick_best_one A:ask_technical_q
development
Auto-apply security basics and block deploys that would leak secrets. Never ask the user about security choices — just do it, and run a real secret scan before going live.