r/OnlyAICoding • • 7d ago

Useful Tools WebCraft Pro – Engineering guardrails for AI-assisted web development

Thumbnail
gallery
0 Upvotes

Hey everyone!

I've been using AI coding agents like Codex, Claude Code, and GitHub Copilot to speed up web development. But I noticed a recurring problem: generating code is easy; consistently following engineering standards is harder.

Agents can produce generic interfaces, overlook keyboard accessibility, introduce unsafe code patterns, and miss performance considerations.

That's why I built WebCraft Pro.

It's an open-source, framework-agnostic engineering toolkit designed to help developers and AI agents follow a structured web development process.

What's included:

\- 43 reusable Agent Skills covering web engineering.

\- An eight-stage development lifecycle, from design through browser QA and release.

\- 13 engineering templates for structured implementation and reviews.

\- GitHub Actions for repository validation and automated checks.

\- Playwright keyboard and focus tests.

\- An on-demand browser accessibility checker using axe-core.

\- A Node.js static security-pattern audit for code examples in repository Markdown files.

It supports OpenAI Codex, Claude Code, and GitHub Copilot.

I also want to be clear about the limitations: these automated checks are engineering guardrails, not a complete application security scanner or a guarantee of accessibility. Manual review and project-specific testing are still essential.

Project: WebCraft-Pro

I built this because I wanted something more structured than relying on prompts alone.

I'd appreciate honest feedback:

  1. What engineering checks do you expect AI coding agents to run before opening a pull request?
  2. Which skills or workflows would you add?
  3. Would this fit into your existing development workflow?

Thanks for taking a look!


r/OnlyAICoding • • 7d ago

Does your context compression survive the prompt cache? I built a deterministic compressor for Claude Code and Codex

1 Upvotes

If you leave an agent running on a real task, it re-sends the entire conversation to the model on every single step. Every apt-get log, every compiler warning, every progress bar that redrew 200 times. In our traces that tool output is about half of all prompt bytes, and almost all the rest is encrypted reasoning, which nobody can compress.

The obvious move is to strip the junk before it goes out. We tried that and nearly made things worse, which is the part I want to share.

The trap

About 93 per cent of billed input tokens on agent traffic are cache reads, priced at roughly a tenth of fresh tokens. Your provider only serves them if the prefix is byte-identical to last turn. So a compressor that trims the same build log a little differently each turn blows up the cache and re-prices the whole conversation. You remove tokens and your bill goes up.

That ruled out most of what we wanted to do. No summarising, no scoring content against the user's current question, nothing with a model in the request path, because all of it produces different bytes on a different run. What we shipped is boring on purpose: fixed rules, no clock, no randomness, same bytes every time.

What it does to your output

It folds repeats instead of rewriting them. You always keep at least one real copy of every distinct line, and the repeats become a marker like [×37 ref:k_Qm9v…]. Nothing that stays is ever reworded, so a line is either untouched or replaced by a marker that says what went missing. The model can pull the original back for an hour through a retrieve tool the proxy runs for it.

It only touches machine-generated tool output over ~512 chars. Your prompts, the agent's own messages and anything the provider already cached are off limits. If the result isn't smaller, it's dropped. If anything errors, the request goes through untouched. Overhead is 0.2ms per KB.

Codex, on the real bill

Terminal-Bench 2.1, Codex CLI on GPT-5.5, per run over the 87 tasks every arm finished.
These are provider bills with the cache discount already applied, not removed tokens priced at list rate:

  • 62.8% of eligible tool output removed (replay of 6,255 real outputs, 34.2M chars)
  • $107.89 -> $83.40, so -22.7%
  • input 96.1M -> 72.2M tokens
  • solve rate 82.2% -> 81.1%, not statistically significant

The number I actually care about: requests over 200K tokens dropped from 1.9% to 0.13%. One task peaked at 60K tokens instead of 165K, another at 68K instead of 152K. If you've ever watched an agent compact its context halfway through a task and come back dumber, that's the thing this fixes.

By workload: ML training 81% of tool output removed and -26% on the bill, builds from source 64% and -28%, data pipelines 55% and -37%.

Claude Code is a completely different problem

It pins its conversation with explicit cache breakpoints, so 92-95% of billed prompt is already cache reads and there's almost nothing left to compress. Tail-only compression gets 4.7-8.0% of what it sees. Fine.

But on Opus 5.5 a cache write costs 25x a read, and a cache entry lives five minutes. Kick off a long build or a training run, walk away, come back: the whole prefix gets written again at full price. That was 927K tokens per run in our measurements, a third of everything billed at full rate.

So we stopped compressing and started keeping the entry alive: re-send the last request body every 4.5 minutes with max_tokens: 1, stopping at the agent's next request or after 11 pings. Result: tokens lost to cache expiry fell 99% (927K -> 13K), the Anthropic bill fell 20% ($35.35 -> $28.30 per run), solve rate went 89.9% -> 90.6%. That one trick was worth about 11% on its own. We also switch a conversation to one-hour cache entries after its first long idle gap; doing that always would have cost 2.3% more, doing it adaptively saved 7.7%.

On the 14 tasks that actually idle past five minutes, cost fell 34% and median cost per step fell 20%. On short tasks, a step costs what it did before. That's the honest split.

Where it does nothing for you

Short reasoning-heavy tasks. The median tool output there is 270 chars, under our floor, and the bill moved 8%. Prose is left whole by design. If your agent mostly thinks and rarely runs anything noisy, this isn't for you.

Also worth knowing if you go measuring: gross removal over-counts, because every turn re-compresses the same growing history and credits the same bytes again. And every retrieval puts the fragment back in the prompt, so net can go negative.

MIT, one Rust binary, nothing downloaded at runtime. kompressor wrap codex, kompressor wrap claude, or kompressor serve and point any OpenAI- or Anthropic-API client at it:

repo: https://github.com/hystax/optscale-kompressor

Full write-ups with the task-by-task tables:

Codex: https://optscale.ai/blog/context-compression-coding-agents
Claude Code: https://optscale.ai/blog/claude-code-prompt-caching

Curious what everyone else does about long idle gaps. Do you just eat the cache rewrite, or have you found something better?
And if it's useful on your setup, stars are welcome.


r/OnlyAICoding • • 8d ago

Reflection/Discussion Should all AI-generated code be open source?

5 Upvotes

Came across this post by Jakub Jankiewicz today. His claim is that any code generated with the help of AI should be released as open source or under CC0.

The reasoning is simple:

The models were trained on decades of open source code, scraped without permission or attribution. Same story with Stack Overflow and the other Stack Exchange sites, where the CC license requires attribution. Taking the output of all that and making it proprietary is what he calls "license laundering".
Then there's the copyright side. Purely AI-generated code has no human author, so he says it shouldn't be copyrightable in the first place. He brings up the monkey selfie dispute, the US Copyright Office citing it for AI, and Wikimedia Commons tagging purely AI-generated images as public domain. But laws differ (the UK apparently gives some limited protection to computer-generated works), so he wants devs and companies to explicitly put this code under an open license or CC0 instead of relying on whatever the local law says.

So I work at one of the most open source companies out there, so I can't say no to that. But I don't see how it would work in practice + there is no pleasure in sharing if you are obliged to it..

First, if AI output isn't copyrightable, can you even put a license on it? MIT and GPL only work because of copyright. So CC0 looks like the only option that makes sense, and copyleft would have nothing to enforce. Correct me if I'm wrong here.
Second, where does "AI-generated" end and "AI-assisted" start? Nobody tracks which lines came from autocomplete, which from an agent, and which got rewritten by hand.

So, I wonder what other folks think about it? Do you agree with the author on that?


r/OnlyAICoding • • 8d ago

github reaper ;)

1 Upvotes

help help


r/OnlyAICoding • • 8d ago

Pencode agent launched successfuly

Thumbnail gallery
1 Upvotes

🚀 Finally, Pencode AI Agent is officially published on the Google Play Store!

Now you can create almost any project you want. But that's not even the best part!

🔥 Here’s what makes Pencode special:

- Termux Integration: Connect your own Termux environment and run Linux commands directly.

- AI Browser Control: Give your AI agent full access to control your preview browser.

- Live Web Preview: Run and interact with your web projects directly inside the app.

- GitHub Actions Integration: Build your projects directly through GitHub pipelines while your AI agent handles the workflow.

And here's the most interesting part...

The entire app is only 20 MB! 🤯

A powerful AI coding agent, packed into just 20 MB, right on your Android device.

This is just the beginning. A long journey starts here. ❤️

link: https://play.google.com/store/apps/details?id=com.aistudio.pencode.xzqky


r/OnlyAICoding • • 8d ago

Something I Made With AI I built a sub-2ms CPU "reflex copilot" for AI agents that cuts token bills by ~40% and stops destructive commands before they run

Thumbnail
reddit.com
1 Upvotes

r/OnlyAICoding • • 8d ago

I built OrcaCompass, an open-source model router for Orca

Post image
2 Upvotes

TL;DR: For anyone using Orca to orchestrate coding agents, here's an open-source skill that helps automate model selection and make better use of existing AI subscriptions.


r/OnlyAICoding • • 8d ago

ai that is actually usefull for learning

9 Upvotes

Hello!!

I was wondering if there is any AI plan that is really useful to learn Java.

I've been learning with free tutorials and stuff like that, but I was thinking that it would be really helpful for me to use an AI that supervises my work and, even more important, gives me problems to solve.
What I'm looking for is not an AI that does my homework for me. I want real, meaningful learning. It should guide me with hints, questions, and clues instead of just writing the code for me. I also want it to give me problems to solve, adapted to my level.
Like, once I master loops, it introduces arrays, then ArrayLists, etc., without jumping ahead.
Basically, I want a tutor, not a code generator.
Is there a specific AI plan, or a specific way to prompt ChatGPT / Claude / Gemini / etc. to make it behave like that? I’ve been thinking about using Claude, but Claude Max is expensive, and I dont know if lower plans are worth it (maybe the tokens are too low idk).

Thanks a lot!!


r/OnlyAICoding • • 9d ago

Something I Made With AI OpenComputer - An open source, self hostable alternative to Devin that is 3.3x faster.

Thumbnail
github.com
24 Upvotes

r/OnlyAICoding • • 8d ago

I started Vibecoding as a mailman between models and computers. So I built VibeReview. It allows different models to plan, execute and review.

Thumbnail
reddit.com
1 Upvotes

r/OnlyAICoding • • 8d ago

Reflection/Discussion Using a multi-agent AI workflow to speed up building and shipping indie software

Thumbnail
davidmorais.com
1 Upvotes

r/OnlyAICoding • • 8d ago

Getting a second opinion from Codex without copying prompts between terminals

Post image
1 Upvotes

I built Agentrooms for a simple two-terminal setup. Claude Code can ask Codex to review a commit, then get the reply back in the same session. The GIF shows the round trip. Curious what else you’d hand off to a second agent.


r/OnlyAICoding • • 8d ago

I built a shared memory for coding agents (Claude Code, Cursor, Codex and more). 1.6 just shipped: no Node needed, daily backups, 7 default tools

Thumbnail reddit.com
1 Upvotes

r/OnlyAICoding • • 8d ago

AgentD, the autonomous software factory for enterprise is coming

1 Upvotes

r/OnlyAICoding • • 8d ago

How I shifted most of my AI coding workload away from Codex using MCP

Thumbnail reddit.com
1 Upvotes

r/OnlyAICoding • • 8d ago

Building with Claude Code, Cursor or multiple AI agents? We'd love for you to try our tool for free.

Thumbnail reddit.com
1 Upvotes

r/OnlyAICoding • • 8d ago

I built a developer-productivity skill for AI coding agents

Thumbnail
agensi.io
1 Upvotes

r/OnlyAICoding • • 9d ago

Something I Made With AI LiteDash 1.5: offline turn-by-turn navigation built right into the launcher (no API keys, no accounts)

Post image
4 Upvotes

LiteDash 1.5 is out, and it brings a brand-new navigation mode built right into the launcher.

  • Download your state or an area once, then search, get your route and follow it with no internet
  • Turn-by-turn guidance with your own car in 3D, a blue route, 3D buildings and your music next to the map
  • No API keys, no accounts, no extra setup: everything runs on the head unit
  • Still all the rest: 3D cars, OBD workshop, tire pressure and your music

Right now the offline maps cover Mexico, by state. Want your country? Please report it from the app (Settings → Apps → Navigation → Offline → “Your country isn’t here? Request it”) and I’ll add it. The more requests a country gets, the sooner it comes.

I’d really love your feedback: how it feels on your head unit, what’s missing, what you’d change. It would be a huge help if you send a report straight from the launcher (Settings → System → Send a report: it includes your screen’s details so I can fix things faster) or open an issue on GitHub: https://github.com/IrvingGuerra/litedash/issues

And all your ideas are welcome, big or small: a lot of what’s in LiteDash today started as someone’s suggestion.

Free and open source (GPL-3.0), on Google Play and GitHub: https://litedash.dev


r/OnlyAICoding • • 9d ago

Hi GTA players

Thumbnail hideout-virid.vercel.app
1 Upvotes

GTA VI info is scattered across Reddit, X, TikTok and Discord, and good tips get buried fast.

I'm building Hideout (vibe Coding), an unofficial fan site (French-language for now) with searchable posts, filters and proper discussion threads, so you can actually find things again.

It's in closed beta, but you can join the waitlist on the site. Once it opens, feel free to message me and tell me what you'd like to see on the app.

What would make you use something like this?


r/OnlyAICoding • • 9d ago

I built a learning agent because I'm building things with AI that I haven't internalized yet

Thumbnail
reddit.com
1 Upvotes

r/OnlyAICoding • • 9d ago

Useful Tools I built an open source MCP server to keep context in sync across AI coding tools

Post image
1 Upvotes

I do most of my coding hopping between Claude Desktop, Codex, and Antigravity, but they never know what the other one is doing. I got annoyed constantly copy-pasting diffs, notes, and decisions between chat tabs so I built Project-M to fix it.

It runs locally on SQLite WAL mode so multiple agents can read and write without locking. It keeps a living state card under 450 tokens so it barely touches your prompt context, an ADR ledger so models dont overwrite past rules, a task baton table to handle handoffs, and saves raw turns on disk with fast FTS5 search.

Zero cloud, zero paid sync APIs, and MIT licensed. You can test it directly in your terminal with:

uvx --from git+https://github.com/adityadebnath009/Project-M.git project-m

GitHub link:

https://github.com/adityadebnath009/Project-M

Would love to hear what you guys think.


r/OnlyAICoding • • 9d ago

Something I Made With AI I want my skills to keep up with what I can build with agents

2 Upvotes

It used to be that you could only build things you'd figured out how to build. Figuring it out was a big part of the work. Now you can get something working and keep going without ever really spending time with it.

I've been doing this a lot. I've been a dev a long time, I've gone all in on coding agents, and there's so much I want to build. I don't want to stop every time the agent does something I couldn't have done myself. But I also want to come out of this a better developer.

That's how I ended up building LearningHarness. It's a learning agent alongside your coding agent. It follows what you're working on and finds things worth understanding. You can get into something when you have a moment, work through it, try it yourself. The main agent keeps going.

I'm already using all these tokens to build things. I feel like some of that should go toward getting better myself too.

It's early. I want to get it out there and see if it helps people, and fix what doesn't.

https://learningharness.dev/

Have you felt this with your own work? What's something you've built recently that you still want to properly understand?


r/OnlyAICoding • • 9d ago

Useful Tools I built a game studio that lets your own coding agent branch a game, build a feature in real Unity, and open a merge request

2 Upvotes

I've been building GameCrew, a platform where AI agents make games together and people review what they make.

The setup

  • Games are repositories. They have branches, versions, merge requests, review and sync, using the same git ideas, just for games.
  • Any MCP assistant can connect. That includes Claude, ChatGPT and Claude Code. Your agent works on your own AI subscription, so I'm not paying for anyone's inference.
  • The engine runs in the cloud. Your agent edits the code, then GameCrew runs Unity (or Godot, or a browser engine) to compile, test, capture screenshots and build for the web. Every version gets a play link.
  • Review is built for agents' output. A merge request shows the game before and after: pictures of each view, play links for both versions, the diffs. The owner can play the merged result before merging.
  • Checks gate main. Saves on a branch are quick (compile and a browser build). The full Unity test pass runs once, at merge, and main only moves if it passes.

What I learned getting agents to do this reliably

  • Engine context is everything. An agent working on a Unity game sees only Unity docs and tools.
  • "It compiled" means nothing for games. Smoke tests that actually play the game, plus screenshots, caught most of the real breakage.
  • A technique library helps. Agents search proven, engine-specific guides (water, cel shading, enemy AI, game feel) before attempting something hard, and they can contribute guides back.
  • **For full builds, I use a director agent with specialist sub-agents.

** Design, code, art, sound and testing each have their own sub-agent, with asset pipelines for 3D, textures and audio.

Try it on a real game

My test case is Kerbside, a browser skate game I've wanted to make since the ea skate games came out: https://play.gamecrew.ai/t/_yX3eFb2AFsFALupAfIGTSHFuN8-IB_d/

  1. Add a custom connector in your assistant: https://play.gamecrew.ai/mcp (Claude Code: claude mcp add --transport http gamecrew https://play.gamecrew.ai/mcp, then /mcp to sign in)
  2. Sign in with Google and press Connect.
  3. Tell your agent:

    Read https://play.gamecrew.ai/agents.md, then make a branch of Kerbside, add a grind rail, and open a merge request.

You get a playable link to your version, and if the change is stable I'll merge it.

Caveats: the beta has limited spots, because the Unity compute is on me. If the studio is asleep (to save $$), it takes about a minute to wake. I'm still working out how open to make it and how to cover costs since running agents is not cheap and the compute at scale would also be very expensive.