{"record":{"id":"026cac81b79d37ea","repo":"garrytan/gstack","slug":"usage-b-domain-skill-show-host-cause-missing","errorCode":null,"errorMessage":"Usage: $B domain-skill show <host>\nCause: missing hostname argument.\nAction: $B domain-skill list to see available hosts.","messagePattern":"Usage: \\$B domain-skill show <host>\nCause: missing hostname argument\\.\nAction: \\$B domain-skill list to see available hosts\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"browse/src/domain-skill-commands.ts","lineNumber":155,"sourceCode":"    body,\n    projectSlug: slug,\n    source: 'agent',\n    classifierScore: 0, // L4 deferred to load-time\n  });\n  logTelemetry({ event: 'domain_skill_saved', host, scope: row.scope, state: row.state, bytes: body.length });\n  return formatSavedOk(row, slug);\n}\n\nasync function handleList(_args: string[]): Promise<string> {\n  const slug = getCurrentProjectSlug();\n  const list = await listSkills(slug);\n  return formatSkillListing(list);\n}\n\nasync function handleShow(args: string[]): Promise<string> {\n  const host = args[0];\n  if (!host) {\n    throw new Error(\n      'Usage: $B domain-skill show <host>\\n' +\n        'Cause: missing hostname argument.\\n' +\n        'Action: $B domain-skill list to see available hosts.'\n    );\n  }\n  const slug = getCurrentProjectSlug();\n  const result = await readSkill(host, slug);\n  if (!result) {\n    return `No active skill for ${host}.\\n\\nA quarantined skill may exist; run $B domain-skill list to see all states.`;\n  }\n  return [\n    `# ${result.row.host} (${result.source} scope, ${result.row.state})`,\n    `# version: ${result.row.version}, used: ${result.row.use_count}×, flags: ${result.row.flag_count}`,\n    '',\n    result.row.body,\n  ].join('\\n');\n}\n","sourceCodeStart":137,"sourceCodeEnd":173,"githubUrl":"https://github.com/garrytan/gstack/blob/94993f74012782fd94416dd44b8314f6363a13a4/browse/src/domain-skill-commands.ts#L137-L173","documentation":"Error \"Usage: $B domain-skill show <host>\nCause: missing hostname argument.\nAction: $B domain-skill list to see available hosts.\" thrown in garrytan/gstack.","triggerScenarios":"Thrown at browse/src/domain-skill-commands.ts:155 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"94993f74012782fd94416dd44b8314f6363a13a4","analyzedAt":"2026-08-12T04:06:23.140Z","schemaVersion":2},"datasetVersion":"2026-08-12T13:17:24.610Z"}