Skip to content

matthewwong525/WongStack / .agents/plugins/browser/skills/hand-over

hand-over

Verified

scripts/view-page.html

View on GitHub
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="referrer" content="no-referrer">
<title>Live view</title>
<link rel="stylesheet" href="page.css">
<style>
  html, body { height: 100%; }
  body { margin: 0; max-width: none; padding: 0; overflow: hidden; }
  #view { display: flex; flex-direction: column; height: 100%; }
  #stage { flex: 1; min-height: 0; display: flex; align-items: flex-start; justify-content: center; background: var(--muted); }
  #holder { overflow: hidden; background: var(--card); touch-action: manipulation; }
  #bar { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-top: 1px solid var(--border); background: var(--background); }
  #line-text { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
  #type { display: flex; gap: 8px; align-items: center; }
  #status { margin: 24px 16px; color: var(--foreground); font-size: 1.1rem; text-align: left; overflow-wrap: anywhere; }
  #text { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; font-size: 1.05rem; }
  #type button { flex: none; margin-left: auto; min-height: 2.5rem; padding: 0.4rem 0.9rem; }
</style>
</head>
<body>
<section id="view" hidden>
  <div id="stage"><div id="holder"><div id="screen"></div></div></div>
  <div id="bar">
    <p id="line-text" role="status"></p>
    <div id="type">
      <input id="text" type="text" autocomplete="off" autocapitalize="off" autocorrect="off" spellcheck="false" enterkeyhint="enter" placeholder="Tap a box above, then type here" aria-label="Type into the browser">
      <button type="button" id="hand" class="btn-primary">Hand back</button>
    </div>
  </div>
</section>
<p id="status" role="status">Opening the browser...</p>
<script type="module">
  // The viewer first, then the page: as two tags the page ran before the viewer had loaded. A viewer
  // that fails to load, as on a weak connection, gets two reloads; the key is still in the address.
  try {
    globalThis.RFB = (await import('./novnc/core/rfb.js')).default;
    sessionStorage.removeItem('viewer-tries');
  } catch {
    const tries = Number(sessionStorage.getItem('viewer-tries') ?? 0);
    sessionStorage.setItem('viewer-tries', tries + 1);
    if (tries < 2) location.reload();
  }
  await import('./page.mjs');
</script>
</body>
</html>
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