Better HN
topnewbestaskshowjobs
Log inSign up

skapadia

249 karma · joined Jul 23, 2015 (11y ago) · 130 submissions

Submissions

comment 1w ago · link · parent

Task classification - given a set of classes, return the most likely class for each task

Guardrails - check the text against a set of guardrail checks (questions)

Search - Given a search criteria, I first have an LLM generate a query that would go to the decision model. This query is a rubric that scores each document. The highest scoring documents become the search hits. This is fast and cheap, so you can use it as a cross-encoder for your entire set, instead of just as a final re-ranker.

comment 1mo ago · link · parent

Define developer in the age of LLMs

comment 1mo ago · link · parent

Thanks. I needed to hear this. So many things in life can turn out differently if we can overcome our “lack of self-confidence and a desire to be loved”. It’s never too late!

comment 1mo ago · link · parent

Based on current capabilities, I'm skeptical as well. However, over time, I do think they will get better at understanding our intent. Also, I would be more forgiving of an app I vibe coded in this manner, that's only meant to be used by me. Of course that assumes appropriate security guardrails are in place.

comment 1mo ago · link · parent

I'm excited about generating UIs (and apps) on demand, because it's one step closer to devices just morphing to the interface you need. I want to talk to my phone and have it generate the app or interface I need. I could see Android adapting to this reality well before Apple.

comment 1mo ago · link · parent

I use pi + cheaper models like the GPT Luna family, for loop engineering

comment 2mo ago · link · parent

Everyone and their mother are vibe coding their own solutions like this, all the time.

comment 2mo ago · link · parent

Memory is not just a matter of retrieval, it's also a matter of knowing what to retrieve and when.

comment 2mo ago · link · parent

Can we even define AI before getting into this debate?

comment 2mo ago · link · parent

Also the first voice of KARR from Knight Rider.

comment 3mo ago · link · parent

How about build whatever interface makes sense for the user? Doesn't matter if it's a TUI, GUI, speech interface, or some physically actuated / haptic feedback based system. Do what makes intuitive sense to the user and provides enough expressive power to get their job done without overwhelming them.

comment 3mo ago · link · parent

An agent will read your comment and take it as a challenge to show something can go wrong. Thanks for prompt injecting, mate. /s

comment 3mo ago · link · parent

This will have significant consequences for the military.

comment 4mo ago · link · parent

This is beautiful, I can't deny that. But the claim that Claude Code is a fixed set of tools is quite wrong. Claude Code regularly generates new code to carry out tasks, and you can choose to promote those tasks to skills, workflows, etc.

comment 6mo ago · link · parent

Much of the world believed in geocentrism for a very long time, yet we've known better for a long time now. Currently, this "Ptolemaic" idea of human intelligence being the center of everything sounds similar. What if human intelligence is not at the center? What if other forms, such as AI, emerge as the new "center"?

comment 7mo ago · link · parent

This is awesome. Thank you for pointing out streaming JSON input and output, I'll definitely be taking a look at that.

comment 7mo ago · link · parent

Basically, as long as you are using an Anthropic library or tool, you can use your OAuth credentials. For example, you can use the Claude Agent SDK with your OAuth credentials. This is sweet because I can prototype all sorts of agents with Claude Code embedded inside, at a predictable monthly cost. One nice use case is turning skills into standalone tools or apps.

You can also do convoluted things like run Claude Code within tmux and send input to it and read the output.

MCP Channels are interesting too for bidirectional communication between your app and a running Claude Code instance, with an MCP server sitting in between. It's slow, but allows for some interesting use cases when you want to step out of an existing CLI session to do work that is easier in a graphical interface, have Claude Code respond and do work, then when you're done, go back to the CLI session and continue, never losing context.

comment 7mo ago · link · parent

The second paragraph sounds eerily AI-generated.

comment 7mo ago · link · parent

1. playwright-cli for exploration and ad-hoc scraping, in order to determine what works.

2. playwright code generation based on 1, which captures a repeatable workflow

3. agent skills - these can be playwright based, but in some cases if I can just rely on built-in tools like Web Search and Web Fetch, I will.

playwright is one of the unsung heroes of agentic workflows. I heavily rely on it. In addition to the obvious DOM inspection capabilities, the fact that the console and network can be inspected is a game changer for debugging. watching an agent get rapid feedback or do live TDD is one of the most satisfying things ever.

Browser automation and being able to record the graphics buffer as video, during a run, open up many possibilities.

comment 8mo ago · link · parent

"Test harness is everything, if you don't have a way of validating the work, the loop will go stray"

This is the most important piece to using AI coding agents. They are truly magical machines that can make easy work of a large number of development, general purpose computing, and data collection tasks, but without deterministic and executable checks and tests, you can't guarantee anything from one iteration of the loop to the next.

comment 9mo ago · link · parent

"To come back to my earlier comment, though, my main approach makes sense in this context. I let Opus do the abstract thinking, and then OpenAI's models handle the fine details."

Very interesting. I'm going to try this out. Thanks!

comment 9mo ago · link · parent

Thanks, I'll try those out. I've used Codex CLI itself on a few small projects as well, and fired it up on a feature branch where I had it implement the same feature that Claude Code did (they didn't see each other's implementations). For that specific case, the implementation Codex produced was simpler, and better for the immediate requirements. However, Claude's more abstracted solution may have held up better to changing requirements. Codex feels more reserved than Claude Code, which can be good or bad depending on the task.

comment 9mo ago · link · parent

Claude Opus 4.5 by far is the most capable development model. I've been using it mainly via Claude Code, and with Cursor.

I agree anticompetitive behavior is bad, but the productivity gains to be had by using Anthropic models and tools are undeniable.

Eventually the open tools and models will catch up, so I'm all for using them locally as well, especially if sensitive data or IP is involved.

comment 10mo ago · link · parent

Exactly. We're headed for a discontinuity, not an inflection point.

comment 10mo ago · link · parent

Hey HN! In 2025, I've spent more time than ever conversing with AI coding agents, particularly Claude Code. These conversations are an intimate look into how we think and solve problems. Every chat with the agent contains valuable solutions, patterns, decisions, and mistakes. So being able to search, analyze, and learn from those interactions isn't just convenient, it's becoming essential.

To help me do this, I built a tool to process Claude Code conversations:

https://github.com/sujankapadia/claude-code-analytics

* Import and search your entire conversation history across projects

* Analyze sessions, choosing from over 300 LLM models, via OpenRouter, to extract insight and patterns (decisions made, error patterns, how you use AI agents)

* Share insights as GitHub Gists (as long as the text passes a security scan)

* View basic aggregate statistics on Claude Code usage

The tool is built with Python, Streamlit, SQLite with FTS5, OpenRouter, and Gitleaks.

I made this for myself, and sharing it in case it helps you too. Once your conversations are in a database, you can start asking questions like “What were the key technical decisions on this project?”, “How did the agent help to research and prototype this feature?”, "What steps did I take to implement this?" and “What errors does the agent commonly make?”

It’s a work in progress, and I'm planning on adding more features. Currently only tested on macOS 14.7 with Claude Code 2.0.21. If you’re curious what your Claude Code sessions may reveal, take it for a spin!

26.

Claude Code Analytics – Turn AI Conversations into Actionable Insights(github.com ↗)

1 points · by skapadia · 10mo ago · 1 comment

comment 10mo ago · link · parent

Exactly. Prompt + Tool + External Dataset (API, file, database, web page, image) is an extremely powerful capability.

comment 11mo ago · link · parent

But the AI coding agent can then ask you follow up questions, consider angles you may not have, and generate other artifacts like documentation, data generation and migration scripts, tests, CRUD APIs, all in context. If you can reliably do all that from plain pseudo code, that's way less verbose than having to write out every different representation of the same underlying concept, by hand.

Sure, some of that, like CRUD APIs, you can generate via templates as well. Heck, you can even have the coding agent generate the templates and the code that will process/compile them, or generate the code that generates the templates given a set of parameters.

comment 1y ago · link · parent

1000% agree.
12345