Remix.run Logo
neomantra 21 hours ago

Maybe tacky to turn a comment thread into a Show HN, but the top dope is always in the comments anyways.

This morning I kept pushing and started getting Claude into an human-agentic loop of suggesting MCP tool description and pre-flight SQL changes (for views). I'd ask it a some MCP queries, have it examine the SQL mistakes (e.g. CoreData vs UNIX timestamps, tricky queries), then evolved it. Since the endpoint is SQL, it can generate SQL to generate better SQL....

I had some human intelligence in that (and surely at the outset), but right now mostly I'm building and restarting Claude Desktop, then prompting:

"i have integrated those changes. examine my habits of concurrent browsing. identify statistical patterns in the timing and correlation of the destinations. after you do that, look at the issues you had and present new tool descriptions and sql migration. test the sql migrations before final presentation"

Tool Desc: https://github.com/AgentDank/screentime-mcp/blob/main/intern...

SQL Migration : https://github.com/AgentDank/screentime-mcp/blob/main/intern...