<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: techcam</title><link>https://news.ycombinator.com/user?id=techcam</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 07 Jul 2026 04:26:03 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=techcam" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by techcam in "Show HN: CLI to score AI prompts after a prod failure"]]></title><description><![CDATA[
<p>Happy to explain how the scoring works since that’s the obvious first question.<p>The core idea is:<p>Safety Score = 100 − riskScore<p>The risk score is based on structural prompt properties that tend to correlate with failures in production systems:<p>- instruction hierarchy ambiguity
- conflicting directives (system vs user)
- missing output constraints
- unconstrained response scope
- token cost / context pressure<p>Each factor contributes a weighted amount to the total risk score.<p>It’s not trying to predict exact model behavior — that’s not possible statically.<p>The goal is closer to a linter:
flagging prompt structures that are more likely to break (injection, hallucination drift, ignored constraints, etc).<p>There’s also a lightweight pattern registry. If a prompt matches structural patterns seen in real jailbreak/injection cases (e.g. authority ambiguity), the score increases.<p>One thing that surprised me while building it:
instruction hierarchy ambiguity caused more real-world failures than obvious injection patterns.<p>The CLI runs locally — no prompts are sent anywhere.<p>If you want to try it:<p>npm install -g @camj78/costguardai
costguardai analyze your-prompt.txt<p>Curious what failure modes others here have seen in production prompts.</p>
]]></description><pubDate>Wed, 18 Mar 2026 13:31:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=47425582</link><dc:creator>techcam</dc:creator><comments>https://news.ycombinator.com/item?id=47425582</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47425582</guid></item><item><title><![CDATA[Show HN: CLI to score AI prompts after a prod failure]]></title><description><![CDATA[
<p>About six months ago I shipped a customer-facing feature where the system prompt had a subtle ambiguity in the instruction hierarchy. Within two days, users found a natural-language path that caused the model to ignore the safety constraint entirely.<p>It wasn’t a jailbreak — just phrasing I hadn’t anticipated. The prompt looked fine. It passed code review. It failed in production.<p>That made me realize how little tooling exists between “write a prompt” and “ship it.”<p>We have linters for code.
We have type checkers.
We have static analysis.<p>For prompts, we mostly have vibes.<p>So I built CostGuardAI.<p>npm install -g @camj78/costguardai
costguardai analyze my-prompt.txt<p>It analyzes prompts across a few structural risk dimensions:
- jailbreak / prompt injection surface
- instruction hierarchy ambiguity
- under-constrained outputs (hallucination risk)
- conflicting directives
- token cost + context usage<p>It outputs a CostGuardAI Safety Score (0–100, higher = safer) and shows what’s driving the risk.<p>Example:<p>CostGuardAI Safety Score: 58 (Warning)<p>Top Risk Drivers:
- instruction ambiguity
- missing output constraints
- unconstrained role scope<p>The scoring isn’t trying to predict every failure — it’s closer to static analysis:
catching structural patterns that correlate with prompts breaking in production.<p>If you want to see output before installing:
<a href="https://costguardai.io/report/demo" rel="nofollow">https://costguardai.io/report/demo</a>
<a href="https://costguardai.io/benchmarks" rel="nofollow">https://costguardai.io/benchmarks</a><p>I’m a solo founder and this is still early, but it’s already caught real issues in my own prompts.<p>Curious what HN thinks — especially from people working on prompt evals or LLM safety tooling.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47425573">https://news.ycombinator.com/item?id=47425573</a></p>
<p>Points: 1</p>
<p># Comments: 1</p>
]]></description><pubDate>Wed, 18 Mar 2026 13:30:25 +0000</pubDate><link>https://costguardai.io</link><dc:creator>techcam</dc:creator><comments>https://news.ycombinator.com/item?id=47425573</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47425573</guid></item><item><title><![CDATA[New comment by techcam in "Leanstral: Open-source agent for trustworthy coding and formal proof engineering"]]></title><description><![CDATA[
<p>The tricky part is that prompts can look “correct” but still behave unpredictably depending on phrasing.</p>
]]></description><pubDate>Tue, 17 Mar 2026 18:07:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=47416144</link><dc:creator>techcam</dc:creator><comments>https://news.ycombinator.com/item?id=47416144</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47416144</guid></item><item><title><![CDATA[New comment by techcam in "Apideck CLI – An AI-agent interface with much lower context consumption than MCP"]]></title><description><![CDATA[
<p>We ran into something similar with API costs — small changes in behavior can have surprisingly large downstream effects.</p>
]]></description><pubDate>Tue, 17 Mar 2026 18:05:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=47416121</link><dc:creator>techcam</dc:creator><comments>https://news.ycombinator.com/item?id=47416121</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47416121</guid></item><item><title><![CDATA[New comment by techcam in "The American Healthcare Conundrum"]]></title><description><![CDATA[
<p>This resonates — most of the hard problems show up after you ship, not before.</p>
]]></description><pubDate>Tue, 17 Mar 2026 18:03:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=47416096</link><dc:creator>techcam</dc:creator><comments>https://news.ycombinator.com/item?id=47416096</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47416096</guid></item><item><title><![CDATA[New comment by techcam in "Show HN: Claude Code skills that build complete Godot games"]]></title><description><![CDATA[
<p>Feels like we have great tooling for code, but prompts are still mostly trial-and-error. Curious how people are validating them today.</p>
]]></description><pubDate>Tue, 17 Mar 2026 18:01:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=47416070</link><dc:creator>techcam</dc:creator><comments>https://news.ycombinator.com/item?id=47416070</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47416070</guid></item><item><title><![CDATA[New comment by techcam in "Are LLM merge rates not getting better?"]]></title><description><![CDATA[
<p>I’ve been noticing the same — a lot of failures aren’t obvious “jailbreaks,” they’re just subtle prompt structure issues that only show up in production.</p>
]]></description><pubDate>Tue, 17 Mar 2026 17:59:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=47416043</link><dc:creator>techcam</dc:creator><comments>https://news.ycombinator.com/item?id=47416043</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47416043</guid></item></channel></rss>