My AI agent was terrible at filling web forms. 471 JSON files fixed it.
I wanted Claude Code to submit my side project to a few hundred launch directories. You know the ones. Product Hunt clones, AI tool lists, "submit your startup" sites. First try, I gave it a browser and a list of URLs. It was bad at it. Not stupid, just lost. It would open a homepage, click the "Submit" link in the footer (newsletter signup), fill the paid plan by mistake, or slowly work out that…
Claude Code, an AI agent, struggled to submit the author's side project to various launch directories. It would open a homepage, click the "Submit" link in the footer (newsletter signup), fill the paid plan by mistake, or determine that the site was dead. To improve the agent's performance, the author introduced JSON files containing specific information about each directory.
Each file included details such as the domain, category, status, requirements, login method, and steps needed to submit a listing. By creating one JSON file per directory, the agent learned from each submission, avoiding common pitfalls and ultimately submitting 23 out of 31 directories successfully. The JSON files proved to be a game-changer for the agent's performance, allowing it to complete the task more efficiently and accurately.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to