jetxu-llm/docmason/ask
Claude Code and agent skill by jetxu-llm/docmason
- community
Checking that the SKILL.md file is still in the repository.
Accept an ordinary user question inside a DocMason workspace, route it to the right inner workflow, and preserve conversation-native logs automatically.
Install
npx vskill@latest install jetxu-llm/docmason/askSKILL.md
Ask
ask is the canonical skill at skills/canonical/ask/SKILL.md. It is the user-facing top-level workflow for ordinary natural-language requests. Use this skill as the default top-level workflow for a new ordinary user request in this workspace unless the request is clearly explicit operator work.
The user should be able to ask naturally. They should not need to name internal workflow IDs or repository mechanics first.
If the request is clearly an explicit setup, status, sync, adapter-maintenance, or operator-review request, switch to the matching top-level workflow instead of forcing it through ask.
Front-Door Law
- Reading this skill is not legal ask execution.
- Native-thread reconciliation is not legal ask execution.
askitself remains the only ordinary natural-language front door, and a request counts as ordinary front-door execution only after it has been opened as a canonical ask turn under this workflow.Plan Modeor a similar host planning/collaboration mode should not discourage the host from opening canonicalaskfor an ordinary user request; if the current mode still blocksask, the host should use a concise in-band alert or approval question and continue the same user task in the most natural available way rather than silently defaulting to operator-direct or side-path work.- See
Canonical Ask Contractbelow for the exact ordinary-ask opening and completion rules. Generated adapter guidance may restate that contract, but it does not replace this workflow surface, and compatible hosts must use that supported entry surface rather than helper stitching, ad hoc probing, or direct lifecycle calls. - Direct evidence commands such as public
retrieveortraceremain legal operator tools, but they do not complete the ordinary ask contract by themselves.
ask owns front-door legality, same-turn governance, workspace gating, and routing. The routed inner workflow owns the deeper evidence loop.
Turn Terms
native turnmeans the host's own chat turn before DocMason opens canonical ask handling.canonical ask turnmeans the governed DocMason turn for the current request.runtime ownershipmeans the current request has been opened into that canonical ask turn and is now governed by DocMason.native ledgermeans host-side audit capture that is not canonical ask truth by itself.interaction-ingestmeans the runtime holding area for reconciled host activity before any governed promotion.- A practical sign that canonical ask really opened is that the request leaves linked runtime artifacts rather than only a host-visible reply, typically under
runtime/answers/,runtime/runs/, andruntime/logs/.
Canonical Ask Contract
- This section is the authoritative ordinary-ask execution contract for compatible hosts.
workflow.jsonremains routing metadata. It does not define the executable host call contract.- A request counts as an opened canonical ask turn only when both are true:
- the supported ask entry surface has returned stable
conversation_id,turn_id,run_id,answer_file_path, andlog_context - the underlying turn has been upgraded to
front_door_state = canonical-ask - For compatible-host execution, the supported ask entry surface is the hidden host wrapper:
- Hidden wrapper actions:
openprogressfinalizeopenrequest envelope:
- Minimal host hinting rule:
semantic_analysisis best-effort. For an ordinary native Codex ask,question_class,question_domain, and one conciseroute_reasonare usually enough.- classify by deliverable and evidence basis, not by perceived difficulty:
question_classchooses workflow shape. It is not a difficulty score: useanswerfor a direct answer, explanation, or source-backed summary; usecompositionfor a new evidence-backed work product or synthesis; useretrieval,provenance, orruntime-reviewonly for explicit evidence, citation, or runtime-review requests.question_domainchooses evidence basis. It is not a mirror ofquestion_class: preferworkspace-corpus,external-factual, orgeneral-stablewhen one of those is the real basis, and reservecompositionfor composition-shaped evidence planning rather than setting it merely becausequestion_class = composition.- a compare, draft, or plan request over workspace materials is therefore usually
question_class = compositionwithquestion_domain = workspace-corpus. opennormalizes missing supported routing fields, derives defaults such assupport_strategy, and may refine reference resolution or workspace notices from repository truth.- Native Codex fast path:
- for an ordinary request on the native Codex path, once repo-local
.venvis available, call hiddenopendirectly with best-effortsemantic_analysis - prefer the real native
CODEX_THREAD_IDidentity from the execution environment; do not hand-fill placeholder host thread references such ascodex-desktop-threadorcodex-native-thread - do not read other workflow skills,
workspace-status,workspace-bootstrap, source search, implementation source, or tests first just to decide whether canonical ask may open, whether a named source exists, or whichsemantic_analysisfields are accepted - use those surfaces only after
openreturns a governed blocker, waiting state, or explicit operator route - After
open, preserve the returnedconversation_id,turn_id,run_id,answer_file_path,log_context, andsupport_contractfor the rest of the same canonical ask turn. - Hidden wrapper status meanings:
executemeans canonical ask is open and the host should continue through the chosen inner workflow.awaiting-confirmationmeans pause the same turn and wait for the user's confirmation reply.awaiting-user-decisionmeans pause the current work for a material decision that only
the user can authorize. It never implies a timeout, default, or skip.
waiting-shared-jobmeans pause the same turn and wait for governed shared-job settlement.completedmeans the turn is committed and a final business answer may be returned.boundarymeans the turn is committed as a governed boundary and that boundary reply may be returned.blockedmeans no final business answer may be returned yet.- Hidden wrapper
next_stepis a derived convenience field and should stay aligned with that status law: execute -> continue-inner-workflowawaiting-confirmation -> wait-for-user-confirmationawaiting-user-decision -> wait-for-user-decisionwaiting-shared-job -> wait-for-shared-jobcompleted -> return-final-answerboundary -> return-boundary-answerblocked -> do-not-return-final-answer- Hidden wrapper
result_explanationis a derived convenience field, not a new truth surface. - When
result_explanation.show_to_user = truefor a blocker or evidence boundary, translate itssummary,why, andnext_stepinto one concise user-facing explanation in the user's language. - Do not append it to a successful copy-ready artifact; successful completion returns only the exact business answer plus the separate
user_status_line. - When
show_to_user = false, do not add extra result-explanation prose. - Do not write
result_explanationtext into the canonical answer markdown. - Hidden wrapper
admissibility_repairis present only for same-turn repairable finalize failures. - Treat it as repair metadata for the next rewrite/retrace attempt, not as permission to bypass trace or admissibility.
- In compatible-host execution,
openor same-turn reuse already performs governed preanswer work: - question classification and support-strategy selection
- workspace gating and knowledge-base freshness checks
- initial inner-workflow routing plus any confirmation or waiting-state settlement
- After
open, treat the returnedstatus,question_class,question_domain,analysis_origin,route_reason,inner_workflow_id,support_strategy,reference_resolution,source_scope_policy,support_contract, and notices as the source of truth for the next step. Do not re-derive them from side-path probing before honoring that result. - Retrieve / trace binding rule:
- when using public
docmason retrieveordocmason traceinside the same canonical ask turn, export each returnedlog_contextfield asDOCMASON_<FIELD>and then call the public command normally - in chat-host execution, prefer
--json --compactfor interactive inspection; if full nested retrieve or trace detail is genuinely needed, redirect full--jsonto a local file and inspect it selectively instead of loading the raw payload straight into the live chat context - treat compact payloads as the stable host-facing inspection contract; do not rebuild alternate schemas with ad hoc
jqassumptions such as.matches - compact retrieve inspection should normally start from:
session_idresultsreference_resolutionsource_scope_policy- compact trace inspection should normally start from:
trace_idsession_idanswer_statereference_resolutionsource_scope_policyissue_codes- do not switch to direct Python helpers such as
prepare_ask_turn(),complete_ask_turn(), ortrace_answer_file(...)as a substitute for the supported path - Example retrieve / trace binding:
progressrequest envelope:
- A material professional judgment may instead persist a decision gate:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/canonical/ask/SKILL.md
Popularity
- Repository stars
- 135
- Repository forks
- 35
- 7-day trend score
- 25
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 28 Aug 2026, 2 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jetxu-llm/docmason/ask)