garrytan/gstack · error · Error

Usage: $B domain-skill show <host> Cause: missing hostname a

Error message

Usage: $B domain-skill show <host>
Cause: missing hostname argument.
Action: $B domain-skill list to see available hosts.

What it means

Error "Usage: $B domain-skill show <host> Cause: missing hostname argument. Action: $B domain-skill list to see available hosts." thrown in garrytan/gstack.

Source

Thrown at browse/src/domain-skill-commands.ts:155

    body,
    projectSlug: slug,
    source: 'agent',
    classifierScore: 0, // L4 deferred to load-time
  });
  logTelemetry({ event: 'domain_skill_saved', host, scope: row.scope, state: row.state, bytes: body.length });
  return formatSavedOk(row, slug);
}

async function handleList(_args: string[]): Promise<string> {
  const slug = getCurrentProjectSlug();
  const list = await listSkills(slug);
  return formatSkillListing(list);
}

async function handleShow(args: string[]): Promise<string> {
  const host = args[0];
  if (!host) {
    throw new Error(
      'Usage: $B domain-skill show <host>\n' +
        'Cause: missing hostname argument.\n' +
        'Action: $B domain-skill list to see available hosts.'
    );
  }
  const slug = getCurrentProjectSlug();
  const result = await readSkill(host, slug);
  if (!result) {
    return `No active skill for ${host}.\n\nA quarantined skill may exist; run $B domain-skill list to see all states.`;
  }
  return [
    `# ${result.row.host} (${result.source} scope, ${result.row.state})`,
    `# version: ${result.row.version}, used: ${result.row.use_count}×, flags: ${result.row.flag_count}`,
    '',
    result.row.body,
  ].join('\n');
}

View on GitHub (pinned to 94993f7401)

When it happens

Trigger: Thrown at browse/src/domain-skill-commands.ts:155 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of garrytan/gstack@94993f7401 (2026-08-12). Data as JSON: /api/errors/026cac81b79d37ea. Report an issue: GitHub.