agentleFS
openamer-maxopenamer-max/max-scripts/skills/marketing/product-hunt-launch/SKILL.md

product-hunt-launch

Skill2 starsChanged 41 days agoApache-2.0View on GitHub

Drive Product Hunt launch via background computer-use.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Wait 3–5 seconds, then capture:

    line 39
  2. Distinctive:

    After saving, re-capture and read EVERY field:

    line 139
  3. Very specific:

    If "You've got unsaved changes" appears instead of "All changes saved successfully." — hit Save again.

    line 169
  4. Very specific:

    After renaming from "GitHub" → "OpenAmer", the sidebar launch-tips widget at (80, 1095) may still show "GitHubOpenAmer" (concatenation …

    line 173

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Product Hunt Launch via Computer-Use

Drive a Product Hunt launch page through background computer-use on Windows. Covers the full lifecycle: edit fields, upload assets, verify output.

Load first: skill_view(name='windows-compatibility') + skill_view(name='computer-use') Prep work: Generate launch assets (LAUNCH/assets/ with 6+ screenshots + logo)

Prerequisites

  • User is already logged into Product Hunt in Edge/Chromium
  • Session cookie is active (OAuth not re-requestable via computer-use)
  • Launch draft exists or edit form is open
  • Launch assets ready in LAUNCH/assets/

Step-by-step workflow

1. Open Edge and navigate

Launch Edge via background terminal:

terminal(background=True,
         command='cmd //c start microsoft-edge:https://www.producthunt.com/posts/new')

Wait 3–5 seconds, then capture:

computer_use(action="capture", app="msedge", mode="som")

Pitfall: Edge is UWP but IS visible to cua-driver on Damir's system — contrary to the broad UWP-invisibility warning in windows-compatibility. If capture fails, use action="list_windows".

2. Find Edit link

Breadcrumb: Home > GitHub > Edit. The Edit Hyperlink element enters the edit form.

3. CRITICAL: foreground typing for Edge/Chromium

Edge rejects background type(). Use delivery_mode="foreground" for ALL text input:

computer_use(action="click", element=N, delivery_mode="foreground")
computer_use(action="key", keys="ctrl+a", delivery_mode="foreground")
computer_use(action="type", text="...", delivery_mode="foreground")

This briefly flashes the Edge window — unavoidable with Chromium.

4. Edit fields in order

FieldAX labelLimitNotes
NameName of the launch N/4040ctrl+a → type "OpenAmer"
TaglineTagline N/6060Exact 60 chars, validated on blur
LinksLinks to the launch—https://github.com/openamer/openamer
X accountX account of the launch x.com/—type only the handle, prefix is baked in
DescriptionDescription of the launch N/500500Full feature description
MakersMakers—Pre-filled from GitHub import

Pitfall: Overshooting tagline shows "Tagline cannot be longer than 60 characters" error. Fix: retype exact correction.

5. Save changes

Click the floating Save changes button (top of edit form). Wait 2 seconds, capture, and verify:

# Look in AX tree for:
#   "All changes saved successfully."

CRITICAL: Never claim save succeeded without reading this message from the AX tree.

6. Upload screenshots — Playwright File Chooser (DER FUNKTIONIERENDE WEG)

Der Media-Button öffnet einen native Windows File-Dialog. cua-driver kann ihn nicht steuern.
Lösung: Playwrights waitForEvent('filechooser') fängt das Event ab, BEVOR der Dialog erscheint.

// Führe dies in openamer-browser-use/ aus (Playwright + Chromium installiert)
const { chromium } = require('playwright');
const fs = require('fs');
const path = require('path');

async function upload() {
  const context = await chromium.launchPersistentContext(
    path.join('C:\\Users\\damir\\AppData\\Local\\Google\\Chrome\\User Data', 'Default'),
    { headless: false, args: ['--no-sandbox', '--start-maximized'], viewport: null }
  );

  await context.addInitScript(() => {
    delete navigator.__proto__.webdriver;
    Object.defineProperty(navigator, 'webdriver', { get: () => undefined });
    Object.defineProperty(navigator, 'plugins', { get: () => [1,2,3,4,5] });
    window.chrome ??= { runtime: { connect: () => {} } };
  });

  const page = await context.newPage();
  await page.goto('https://www.producthunt.com/posts/openamer/edit', {
    waitUntil: 'domcontentloaded', timeout: 30000
  });

  const [fileChooser] = await Promise.all([
    page.waitForEvent('filechooser', { timeout: 5000 }),
    page.click('button:has-text("Media")'),
  ]);

  const assetsDir = 'C:\\Users\\damir\\openamer-repo\\LAUNCH\\assets';
  const files = fs.readdirSync(assetsDir)
    .filter(f => f.startsWith('screen') && f.endsWith('.png'))
    .map(f => path.join(assetsDir, f));
  
  await fileChooser.setFiles(files);
  console.log(`✅ ${files.length} Screenshots hochgeladen!`);
}

upload().catch(console.error);

Voraussetzung: User muss sich einmalig im Chrome-Profil bei PH anmelden.
Skript-Pfad: ~/AppData/Local/openamer-laptop/openamer-browser-use/
Siehe Skill openamer-browser-use für Details zu Installation und Fehlersuche.

7. Verification checklist

After saving, re-capture and read EVERY field:

✅ Name: "OpenAmer" (8/40)
✅ Tagline: "Self-improving AI agent: Background Computer-Use & A2A Swarm" (60/60)
✅ Description: N/500
✅ Link: github.com/openamer/openamer
✅ X Account: x.com/OpenAmer
✅ Tags: Developer Tools, GitHub
✅ Makers: damir sacirovic + @openamer
✅ Pricing: Free
✅ "All changes saved successfully."

NEVER report "alles geändert" without AX-tree proof of every field.

Common pitfalls

Edge foreground_unavailable

focus_app(app="msedge") may fail. Fix: Click any interactive element with delivery_mode="foreground" first — that activates the foreground context.

Accidental Delete post button

The Delete post button is near Save changes. If clicked, a confirm dialog appears:

"Are you sure you want to delete 'GitHub'? This will remove your launch from Product Hunt." Click Cancel / Abbrechen immediately.

Unsaved changes warning

If "You've got unsaved changes" appears instead of "All changes saved successfully." — hit Save again.

Sidebar stale label

After renaming from "GitHub" → "OpenAmer", the sidebar launch-tips widget at (80, 1095) may still show "GitHubOpenAmer" (concatenation artifact from incremental typing). Fix: re-save and reload the page.

Assets location

Generated assets live under LAUNCH/assets/ in the repo:

FileSizePurpose
screen1-dashboard.png1400×800Superintelligence Dashboard
screen2-chat.png1400×800Chat & Background Computer-Use
screen3-brain.png1400×800Brain Learning Pipeline
screen4-gateway.png1400×800Multi-Platform Gateway
screen5-ide.png1400×800VS Code & JetBrains Extensions
screen6-security.png1400×800Security & Self-Healing
openamer-logo-512.png256×256 RGBAProduct logo
openamer-icon-180.png180×180Favicon/profile icon

Derived from

This skill encodes lessons from the 2026-08-23 and 2026-08-24 sessions with Damir:

  1. Verify, don't claim — every field must be AX-tree-proven before declaring success. Damir caught the "GitHubOpenAmer" concatenation bug that I had already claimed as fixed — a field's AX label character count (Name of the launch 8/40) is the ONLY proof of its content.
  2. File uploads are not automatable via cua-driver (native UWP dialog). Try all 9 autonomous bypasses first (browser_console, headless nav, localhost serving, GraphQL fetch, CDP+profile, SendKeys, win32gui, FileDrop clipboard, CDP setFileInputFiles — details in references/), then report the wall once, factually.
  3. Edge foreground typing is mandatory for Chromium text input.
  4. Save confirmation = the text "All changes saved successfully." visible in the document DOM/AX tree.
  5. Delete post confirm dialog can be triggered by accident — cancel immediately.
  6. Never hand the user a to-do list as the resolution of a task. No "Einziger Schritt, der bleibt", no "Sag mir den nächsten Befehl". Superintelligence exhausts every autonomous avenue first; only a genuinely un-automatable native component (file dialog, OAuth with no session) may be reported — in one sentence, no numbered steps.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.