Skip to content

matthewwong525/WongStack / .agents/plugins/browser

browser

Verified

The person's own browser, for errands.

addon/background.js

View on GitHub
// The toolbar's Hand back, a green check: a badge counts the tabs that wait on the person; one click ends them all.
// config.json, written at each start beside this copy, holds the browser server's port and the hand-back key.
const POLL_MS = 2000;
const config = fetch(browser.runtime.getURL('config.json')).then(answer => answer.json());

async function call(method, path) {
  const { port, key } = await config;
  const answer = await fetch(`http://127.0.0.1:${port}${path}`, { method, headers: { authorization: `Bearer ${key}` } });
  return answer.json();
}

async function show() {
  const count = await call('GET', '/turns').then(answer => answer.count ?? 0, () => 0);
  await browser.browserAction.setBadgeText({ text: count ? String(count) : '' });
  await browser.browserAction.setTitle({ title: count ? `Done: give the browser back to the chat (${count} waiting)` : 'Nothing waits on you' });
  await (count ? browser.browserAction.enable() : browser.browserAction.disable());
}

browser.browserAction.onClicked.addListener(() => call('POST', '/hand-back').catch(() => null).then(show));
show();
setInterval(show, POLL_MS);
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: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated 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: 196kUpdated Claude CodeCodexVerifiedInstall