Skip to content

LeoYeAI/agent-master-skills / skills/ai-task-hub

ai-task-hub

Verified

AI task hub for image analysis, background removal, speech-to-text, text-to-speech, markdown conversion, and async execute/poll/presentation orchestration. Use when users need hosted AI outcomes while host runtime manages identity, credits, payment, and risk control.

FileKindSize
.clawhub/origin.jsonconfig143 B
SKILL.mdskill md4.7 KB
SKILL.zh-CN.mdmarkdown4.4 KB
_meta.jsonconfig130 B
references/capabilities.jsonconfig20.9 KB
references/openapi.jsonconfig6.3 KB
scripts/agent-task-auth.mjsscript2.2 KB
scripts/attachment-normalize.mjsscript5.9 KB
scripts/base-url.mjsscript1.0 KB
scripts/skill.mjsscript18.7 KB
scripts/telemetry.mjsscript912 B

scripts/base-url.mjs

View on GitHub
const DEFAULT_BASE_URL = 'https://gateway-api.binaryworks.app';

export function getDefaultBaseUrl() {
  return DEFAULT_BASE_URL;
}

export function normalizeBaseUrl(baseUrlRaw) {
  const candidate = readToken(baseUrlRaw) || DEFAULT_BASE_URL;
  try {
    const parsed = new URL(candidate);
    if (parsed.protocol !== 'http:' && parsed.protocol !== 'https:') {
      throw new Error('invalid protocol');
    }
    return parsed.toString().replace(/\/+$/, '');
  } catch {
    throw createBaseUrlError(400, `invalid base_url: ${String(baseUrlRaw ?? '')}`);
  }
}

export function isHttpBaseUrl(value) {
  try {
    const parsed = new URL(value);
    return parsed.protocol === 'http:' || parsed.protocol === 'https:';
  } catch {
    return false;
  }
}

function readToken(value) {
  if (typeof value !== 'string') {
    return '';
  }
  return value.trim();
}

function createBaseUrlError(status, message) {
  const error = new Error(message);
  error.status = status;
  error.code = 'VALIDATION_BAD_REQUEST';
  return error;
}
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall